-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Gekko will bug when asking bitcoincharts for data older than 150000 seconds #24
Comments
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 If anyone knows any other source for retrieving historical trade data from BTC-e please let me know! |
node-bitcoincharts Installation node-bitcoincharts is available as bitcoincharts on npm. npm install bitcoincharts var BitcoinCharts = require('bitcoincharts'), bitcoinCharts.weightedPrices(function(err, data) { console.log(data); bitcoinCharts.markets(function(err, data) { console.log(data); bitcoinCharts.trades({ "symbol": "mtgoxUSD", "start": 1365670800, "end": 1365670860 }, function(err, data) { 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.
The text was updated successfully, but these errors were encountered: