Closed askmike closed 8 years ago
This means that on default settings Gekko will not work on BTC-e, a current workaround can be found in the thread.
Gekko now gives proper errors about whether it is able to fetch trade data or not.
Bitcoincharts has changed it's API documentation again, it now states that the start
parameter should work (the parameter Gekko is dependent on). It works for a couple of exchanges but not for BTC-e in my testing. I've reached out to them to see if they can fix it.
If anyone knows any other source for retrieving historical trade data from BTC-e please let me know!
node-bitcoincharts An unofficial node.js client for the bitcoin charts markets api.
Installation
node-bitcoincharts is available as bitcoincharts on npm.
npm install bitcoincharts Usage
var BitcoinCharts = require('bitcoincharts'), bitcoinCharts = new BitcoinCharts();
bitcoinCharts.weightedPrices(function(err, data) { if (err) { throw err; }
console.log(data); });
bitcoinCharts.markets(function(err, data) { if (err) { throw err; }
console.log(data); });
bitcoinCharts.trades({ "symbol": "mtgoxUSD", "start": 1365670800, "end": 1365670860 }, function(err, data) { if (err) { throw err; }
console.log(data); });
When asking for data from over 150,000 seconds ago Gekko will receive candles where the oldest one is a lot newer than the since date. This will cause the first couple of candles to be NaN and all EMA calculations will glitch from that point.