gdax-api

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

我怕爱的太早我们不能终老 提交于 2019-12-11 14:11:45
问题 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 to allow everything. const crypto = require('crypto'); const https = require('https'); var pw = '..haha not showing you this..'; var secret = '..haha not showing you this..'; var timestamp = Date.now() / 1000; var requestPath = '/orders'; var body

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

天涯浪子 提交于 2019-12-11 10:03:29
问题 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: private async Task ConnectToGdaxFix() { _socketTcpClient = new TcpClient(); _socketTcpClient.NoDelay = true; _bufferEnd = 0; await _socketTcpClient.ConnectAsync(_gdaxFixGateway, _gdaxFixPort); _sslStream = new SslStream(_socketTcpClient.GetStream());

Java websocket client not working with GDAX sandbox environment

Deadly 提交于 2019-12-06 06:53:36
问题 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 { public static void main(String[] args) throws InterruptedException { String socketURL = "wss://ws-feed.gdax.com"; //Live URL //String socketURL = "wss://ws-feed-public.sandbox.gdax.com"; //sanbox URL, code will not work if you use sandvox URL

Java websocket client not working with GDAX sandbox environment

南楼画角 提交于 2019-12-04 14:07:44
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 { public static void main(String[] args) throws InterruptedException { String socketURL = "wss://ws-feed.gdax.com"; //Live URL //String socketURL = "wss://ws-feed-public.sandbox.gdax.com"; //sanbox URL, code will not work if you use sandvox URL WebSocketClient client = new StandardWebSocketClient(); WebSocketConnectionManager connectionManager = new

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

吃可爱长大的小学妹 提交于 2019-12-04 09:36:02
问题 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 the session is closed by the server with no response making it difficult to debug what's going wrong. My Python code is as follows: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("127.0.0.1", 4197)) # address and port specified