gdax-api

Implementation of gdax-java as a library

℡╲_俬逩灬. 提交于 2021-02-07 18:14:41
问题 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 using GDAX and its API. However, I am very confused on the implementation of the library. I have tried to contact some contributors but they do not respond back. I read in their documentation: For a lib: If you'd rather work purely in java then you

Implementation of gdax-java as a library

久未见 提交于 2021-02-07 18:13:08
问题 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 using GDAX and its API. However, I am very confused on the implementation of the library. I have tried to contact some contributors but they do not respond back. I read in their documentation: For a lib: If you'd rather work purely in java then you

Connecting to GDAX websocket api using socket.io with webpack

让人想犯罪 __ 提交于 2019-12-25 02:00:57
问题 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 websocket myself using socket.io, but the code below never establishes a connection. In the code below my "subscribing" log message after connect never appears. How do I get this code to connect or at least show an error message? const io = require(

GDAX API - Rate limit exceeded

你说的曾经没有我的故事 提交于 2019-12-23 04:54:37
问题 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 grabPrices = setInterval(() => { if (j === promiseArray.length) { //Do something when all promises have been resolved } else { promiseArray[j].then( data => { //Work with data } ).catch(error => console.log('An error occurred: ' + error)); j++; } }, 1000)

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

二次信任 提交于 2019-12-20 09:37:11
问题 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) from the websocket feed ? { “price”: “333.99”, “size”: “0.193”, “bid”: “333.98”, “ask”: “333.99”, “volume”: “5957.11914015”, “time”: “2015-11-14T20:46:03.511254Z” } The ticker endpoint and the websocket feed both return a 'price', but I guess that it

Why do I still get error code 400 from this API request to Coinbase Pro?

天涯浪子 提交于 2019-12-11 17:11:37
问题 I've followed the instructions on the Coinbase Pro developers page for authentication with API Key and no matter what I try I always get error code 400 using CryptoJS and React / React Native. https://docs.pro.coinbase.com/#api-key-permissions import CryptoJS from 'crypto-js'; import axios from 'axios'; import { Buffer } from 'buffer'; const key = '<removed'; const secret = '<removed>'; const passphrase = '<removed>'; const method = 'GET'; const uri = 'https://api.pro.coinbase.com/accounts';

R httr GET request 400 error GDAX

柔情痞子 提交于 2019-12-11 16:10:48
问题 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 Size: 53 B Below is my code. Please note that the issue exists only with httr package and not with RCurl (code provided in appendix) library(digest) library(httr) library(RCurl) # for base64Decode url <- "https://api-public.sandbox.gdax.com/accounts"