Snapshots

This commit is contained in:
Luis Fernando Molina committed 2020-05-10 14:17:33 +02:00
1 parent e91125801d
commit 6368221937
75 files changed
+8943 -4332

No files matched your search

+6 -7
View File
@@ -730,14 +730,13 @@ module.exports = class hitbtc extends Exchange {
}
parseOHLCV (ohlcv, market = undefined, timeframe = '1d', since = undefined, limit = undefined) {
const timestamp = this.parse8601 (ohlcv['timestamp']);
return [
timestamp,
parseFloat (ohlcv['open']),
parseFloat (ohlcv['max']),
parseFloat (ohlcv['min']),
parseFloat (ohlcv['close']),
parseFloat (ohlcv['volume']),
this.parse8601 (this.safeString (ohlcv, 'timestamp')),
this.safeFloat (ohlcv, 'open'),
this.safeFloat (ohlcv, 'max'),
this.safeFloat (ohlcv, 'min'),
this.safeFloat (ohlcv, 'close'),
this.safeFloat (ohlcv, 'volume'),
];
}