Skip to content

Commit

Permalink
fix period issue on candlestick throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed May 19, 2019
1 parent 3a694a5 commit 42bce1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/candle_importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = class CandleImporter {
*/
async insertThrottledCandles(candles) {
for (let candle of candles) {
this.trottle[candle.symbol + candle.interval + candle.time] = candle
this.trottle[candle.symbol + candle.period + candle.time] = candle
}
}
}

0 comments on commit 42bce1c

Please sign in to comment.