Questions tagged [gdax-api]

Programming-related questions for using the API for https://www.gdax.com/. GDAX is a cryptocurrency exchange. Please direct support requests not directly related to programming to GDAX support.

Programming-related questions for using the API for GDAX.

GDAX is a cryptocurrency exchange. From their website:

GDAX offers institutions and professionals the ability to trade a variety of digital currencies like Bitcoin, Ethereum, and more on a regulated U.S. based exchange.

Links:

62 questions
1
vote
2 answers

How to use the level parameter with coinbase and GDAX

I'm using the following library on Github I need to get the order book from GDAX. I do this by doing the following: $getOrderBook = $exchange->getOrderBook($exchangeProduct); echo '
';
print_r($getOrderBook);
echo '
';

Using the above I…
user6043723
  • 177
  • 2
  • 14
1
vote
2 answers

Gdax-node b64secret

Due to https://github.com/coinbase/gdax-node#the-authenticated-api-client const key = 'your_api_key'; const b64secret = 'your_b64_secret'; const passphrase = 'your_passphrase'; const apiURI = 'https://api.gdax.com'; const sandboxURI =…
BRad
  • 59
  • 5
0
votes
1 answer

How do I import gdax-Java into my android studio app

I downloaded the git hub for gdax-java to my MacBook. I don’t see any .jar file or a .aar file to import into my android studio app There is no gradle dependency listed in the repository How do I use this api in my android studio app? I even tried …
Dean-O
  • 1,143
  • 4
  • 18
  • 35
0
votes
1 answer

Coinbase Websocket API, seconds-accurate order book building

I have been working with the Coinbase Websocket API recently for data analysis purposes. I am trying to track the order book in at least seconds-frequency. As far as I am aware of, it is possible to use the REST API for that, but it does not include…
Let's try
  • 1,044
  • 9
  • 20
0
votes
2 answers

Python base64-encode Error

I am working on GDAX API. when i try to connect with API with authentications then i am getting the error.i am just not able to successfully connect with API.i want to create a trading bot for GDAX using their API. import base64, hashlib, hmac,…
A.Arshad
  • 21
  • 1
  • 8
0
votes
1 answer

Python AuthenticationError: gdax Invalid API Key

I was trying to trade and get balance from gdax. It requires me to specify the ApiKey、Secret、Password. However, when I created ApiKey recently on coinbase, they donot have an option to create the passphrase. So If I donot specify the password in my…
Jenny
  • 1
  • 1
0
votes
1 answer

Why I get only heartbeats?

I have the code at the bottom to subscribe. Something I must do wrong because I get the only heartbeat messages. How can I get the messages if there was a match? I tried it with the new endpoint with the same result. Should this api work with EUR as…
Lajos
  • 2,549
  • 6
  • 31
  • 38
0
votes
0 answers

Coinbase Pro API delete all orders

On the Coinbase Pro Docs for how to delete all open orders it says you can simply make a DELETE request to the /orders endpoint (obviously taking into account the signatures necessary to access the private endpoints). However, when I do this it only…
Nick Chapman
  • 4,402
  • 1
  • 27
  • 41
0
votes
1 answer

GDAX websocket freezing

I'm trying to create a simple algorithmic trader using the node.js GDAX library. I have an implementation that works fairly well however the websocket is randomly freezing with no close event emitted.i have searched the forums but cannot find a…
0
votes
1 answer

Gdax API: Buy/Sell with USD

I'm looking at Gdax api and gdax-python library, looks like json request to by/sell is in this format: # Place an order order = { 'size': 1.0, 'price': 1.0, 'side': 'buy', 'product_id': 'BTC-USD', } r = requests.post(api_url +…
Mahyar
  • 1,011
  • 2
  • 17
  • 37
0
votes
1 answer

Passing arguments to Gdax API via VBA HTTP Post

I got a problem in vba while trying to interact with GDAX API. I get this error: {"message":"Requires product_id"} I cant pass my product_id in the orders "POST" in WinHttp.WinHttpRequest.5.1 Nothing seems to work: I tried adding ?product_id=BTC-EUR…
Eggator
  • 11
  • 2
0
votes
0 answers

How can I be sure that a limit order is done filling?`

I am playing around with the GDAX node API and I am not understanding how to know when my order is done filling, whether it was a partial or entire fill. I know that a limit order on the books can either: Be filled completely by a single taker…
NZHammer
  • 177
  • 1
  • 12
0
votes
1 answer

Status of GDAX Sandbox?

In the gdax-java library there's a note that the sandbox was shutdown. The GDAX API still mentions it, though, so I tried it and can get lists of orders, make a web socket connection, etc. However, trying to place an order on the sandbox simply…
Jay
  • 55
  • 6
0
votes
2 answers

Connecting to GDAX websocket api using socket.io with webpack

I want to connect to the GDAX websocket api with an in browser application built with react and webpack. I cannot use the offiicial gdax-node or gdax-toolkit api's because they are not compatible with webpack. I decided to try connecting to the…
0
votes
0 answers

POSTing "/orders" to the GDAX API fails silently

I am trying to POST "/orders" to GDAX using a simple PHP function. I am getting no response and no errors. Orders are not getting placed and there are no PHP errors/warnings. Not sure where I am going wrong. function gdaxPost ($path, $post_array){ …
Jsp
  • 166
  • 1
  • 2
  • 13