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
21
votes
1 answer

How to get real time bid / ask / price from GDAX websocket feed

The API doc discourages polling on /ticker endpoint, and recommend to use the websocket stream to listen for match message But the match response only provide a price and a side (sell / buy) How can I recreate the ticker data (price, ask and bid) …
vdaubry
  • 11,369
  • 7
  • 54
  • 76
7
votes
2 answers

GDAX / Coinbase API authentication process: Unicode-objects must be encoded before hashing

I have a lot of experience coding, but Python is new territory for me. I'm using the CoinbaseExchangeAuth class to access the private endpoints of the GDAX API. I write some simple code... api_url = 'https://public.sandbox.gdax.com/' auth =…
Dylan Cronkhite
  • 423
  • 1
  • 8
  • 15
7
votes
3 answers

How to send FIX logon message with Python to GDAX/Coinbase

I'm trying to establish a FIX 4.2 session to fix.gdax.com (docs: https://docs.gdax.com/#fix-api or https://docs.prime.coinbase.com/?python#logon-a) using Python 3.5 and stunnel. Everything is working apart from my logon message which is rejected and…
jp94
  • 315
  • 4
  • 15
6
votes
3 answers

Available GDAX Order Statuses and Meanings

The GDAX API docs don't do a great job of enumerating the available statuses that an order can have. I see at least open, pending, active, done, and maybe settled[^1]. Has anyone determined a comprehensive list, and what each status means? I've also…
Max
  • 4,882
  • 2
  • 29
  • 43
4
votes
0 answers

Java websocket client not working with GDAX sandbox environment

I am using spring WebSocket WebSocketClient to connect with GDAX server. It is working fine with the Live environment, but the same code is not working with the sandbox environment. Here is my code to connect to the server: public class Test { …
Nitin
  • 2,701
  • 2
  • 30
  • 60
4
votes
1 answer

How to pass binary key to openssl

I'm stumped trying to pass the key parameter to openssl dgst. I'm trying to interface to the GDAX trading platform and each request must be signed by HMAC. They clearly say to "first base64-decode the alphanumeric secret string (resulting in 64 …
jtgd
  • 183
  • 1
  • 7
3
votes
0 answers

{“message”:“invalid signature”} Coinbase Pro API

I've been tearing my hair out for a while now. What I have so far is cribbed from the Coinbase Pro API documentation. The Coinbase Pro API requires four different headers, one of them being a signature that's encrypted. I'm having issues forming a…
3
votes
1 answer

gdax rest api request using android studio

hi am trying to make a rest api call from gdax using android studio, am new to rest calls so i am struggling to make this call i believe this is the api endpoint, Link it says CB-ACCESS-KEY header is required here is a list of all the required…
user2692997
  • 2,001
  • 2
  • 14
  • 20
3
votes
0 answers

Python FIX API - no response at Logon

I've been trying to set up a connection to the FIX API for the GDAX crpyto exchange, but I can't seem to logon properly. I'm using the code below to generate the message: import time import simplefix import socket import base64 import hmac import…
3
votes
1 answer

Implementation of gdax-java as a library

I am trying to implement this API: https://github.com/robevansuk/gdax-java in order to be able to create orders, withdraw funds, and deposit funds via Coinbase and exchanging in GDAX for bitcoins. I am trying to make a trade program for Bitcoins…
Pablo
  • 1,302
  • 1
  • 16
  • 35
2
votes
0 answers

Why does API Key authentication not work on Coinbase Pro using Crypto-JS?

I am really battling to get API Key authentication working with Coinbase Pro using the Crypto-JS library in React Native. I have followed the instructions here: https://docs.pro.coinbase.com/#authentication import axios from 'axios'; import { Buffer…
2
votes
1 answer

Why would BIO_do_connect() from OpenSSL not work right with GDAX (a.k.a. cloudflare) sandbox?

I wrote some software in C++ and I'm trying to get the GDAX /products list for now (mainly as a test at this time.) UPDATE: I wanted to add that the connection is actually to cloudflare and not directly to GDAX. So it is likely a problem with…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
2
votes
1 answer

GDAX/Coinbase API Level3 orderbook - skipping messages

I'm using the GDAX API Websocket Stream to try and create a copy of the full LEVEL3 orderbook. I've got a very simple implementation using WebSocketSharp and Im basically doing something like this. private readonly WebSocket _webSocket = new…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
2
votes
1 answer

Querying Historic data over periods with more than 350 points

I am trying to get the historic pricing data of a given product over a period from the GDAX API. I understand the following note: The maximum number of data points for a single request is 350 candles. If your selection of start/end time and…
George Edwards
  • 8,979
  • 20
  • 78
  • 161
2
votes
1 answer

How to send FIX logon message with C# .NET CORE 2.0 to GDAX

I'm I'm trying to establish a FIX 4.2 session to fix.gdax.com (docs: https://docs.gdax.com/#fix-api) using C# with .Net Core 2.0. when i try to logon i receive 0 bytes as response as server. I really dont know what i have wrong, this is the code: …
Marco Levarato
  • 203
  • 4
  • 16
1
2 3 4 5