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
0
votes
2 answers

GDAX API - Rate limit exceeded

I get an error message saying "Rate limit exceeded" when I try to request historical data from GDAX. I use promises and setInterval to request historical price data from GDAX like this: let promiseArray = //Array with promises let j = 0; let…
Andreas
  • 1
  • 2
0
votes
1 answer

GDAX API worked examples requested (signatures)

I am having trouble signing, writing this in a language you have probably never heard of (Phix). I was spoilt by the binance docs which gave me an all important expected signature for some (fake) key/secret values - and that is now working…
Pete Lomax
  • 93
  • 1
  • 8
0
votes
1 answer

How calculate gdax 24 hours percentage

How can I fetch the GDAX 24 hours percentage for each products? Should I request current price and current-24hours price and process the difference ? Or is there a better way ?
Charly berthet
  • 1,178
  • 5
  • 15
  • 31
0
votes
1 answer

PHP GDAX-API Delete Request returning error 400 “BadRequest”

I'm trying to cancel a limit order but keep getting a status 400 code with the only description "BadRequest". I can place orders and get status, balance, etc. but DELETE doesn't work. Here's a sample of my code: curl_setopt($ch,…
DanRay
  • 1
  • 2
0
votes
2 answers

R GDAX-API Delete Request

I am having trouble with DELETE requests in R. I have been successful in making GET and POST requests using the below code. Any help / pointers will be appreciated. It will require an api.key, secret & passphrase from GDAX to work. Here is my…
Drj
  • 1,176
  • 1
  • 11
  • 26
0
votes
1 answer

Obtaining order book information from gdax api

I am trying to obtain order book (buy, sell, volume, price) info from GDAX. I am familiar with the Bittrex api - specifically this call: https://bittrex.com/api/v1.1/public/getmarketsummary?market=usdt-eth which produces the following response: { …
femibyte
  • 3,317
  • 7
  • 34
  • 59
0
votes
2 answers

GDAX API Always Returns Http 400 "Invalid Signature" Even though I do it exactly like in the API Doc

I am following the directions in the GDAX API manual exactly as described. I literally copy-pasted the node.js code from there. I am just trying to do a basic limit-buy-order through their API, nothing special. My permissions for the api key are set…
Calicoder
  • 1,322
  • 1
  • 19
  • 37
0
votes
2 answers

GDAX api request returning error 400 "BadRequest"

I'm trying to place an order using the GDAX api endpoints but keep getting a status 400 code with the only description "BadRequest". parameters are below: httpMethod is: "POST" endpoint is: https://api.gdax.com/orders JSON body is: { "product_id":…
AnthonyZ
  • 81
  • 4
0
votes
1 answer

Find and average all data between two date variables in node.js and mongodb

I have a mongodb collection I made downloading all historical trades of Ethereum from GDAX. I'm currently trying to backtest trade algorithms, and I want to start with a simple ten day average. The Data in the collection looks something like…
Superdawg
  • 1
  • 4
0
votes
1 answer

Cant get a secure websocket connection to gdax working

I'm trying to connect to GDAX websocket feed from C# (Target Framework: Core 2.0) I'm using this NodeJS implementation as a reference. My code: var ws = new WebSocket("wss://ws-feed.gdax.com"); ws.Security.AllowUnstrustedCertificate = true; //…
SpaceMonkey
  • 4,143
  • 5
  • 38
  • 60
0
votes
2 answers

R httr GET request 400 error GDAX

I am trying to hit GDAX using R and getting the following issue. How do I solve for the issue using httr. Response [https://api-public.sandbox.gdax.com/accounts] Date: 2017-12-07 20:30 Status: 400 Content-Type: application/json; charset=utf-8 …
Drj
  • 1,176
  • 1
  • 11
  • 26
0
votes
1 answer

Python- writing a loop that creates appends data to a dictionary of dictionaries with date being the key value?

I'm trying to create a dictionary of dictionaries where the key for each dictionary is datetime.now() and the value for each key is a dictionary. This dictionary is pulled from an API and I'm running the loop on a constant basis. It looks something…
Dick Thompson
  • 599
  • 1
  • 12
  • 26
0
votes
1 answer

Coinbase GDAX NodeJS - Invalid API Key

I'm trying to write a script that will cancel all my orders on GDAX. According to the documentation for Cancel an Order I need to send a DELETE request to /delete. But I assume before I can do that I need to sign the message first. When I submit the…
Anthony Tietjen
  • 1,032
  • 2
  • 8
  • 19
0
votes
1 answer

GDAX Heartbeat Channel

I'm looking at the documentation on Coinbase's Github for the GDAX API and trying to subscribe to the heartbeat channel, but keep being returned with the below error when I utilize this code: var websocket = new Gdax.WebsocketClient( …
-1
votes
1 answer

Cannot deserialize Json

I need help I can't deserialize my json var myWebClient = new WebClient(); var js = new JavaScriptSerializer(); var json = myWebClient.DownloadString("https://api.gdax.com/products/btc-usd/book?level=2"); OrderBookContainerExmo container =…
Kmietek
  • 65
  • 2
  • 6