Skip to content

Commit

Permalink
[MARKET-WATCHER] getCandles limit=2
Browse files Browse the repository at this point in the history
  • Loading branch information
clementpl committed May 9, 2019
1 parent 3f2a3f6 commit 65a6dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_core/Watcher/MarketWatcher/MarketWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class MarketWatcher extends Watcher {
try {
// Get last OHLC and write it to influx
const data: OHLCV[] = await this.exchange.getCandles(this.symbol, {
limit: 1,
limit: 2,
});
// Write ohlc async
this.getInflux()
Expand Down

0 comments on commit 65a6dd3

Please sign in to comment.