Skip to content

Commit af5d83a

Browse files
committed
activate candle logging on lagging timeframe
1 parent efcd1ed commit af5d83a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/modules/strategy/strategy_manager.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ module.exports = class StrategyManager {
215215
validateLookbacks &&
216216
!this.technicalAnalysisValidator.isValidCandleStickLookback(lookbacks[exchange].slice(), period)
217217
) {
218-
// too noisy for now; @TODO provide a logging throttle
219-
// this.logger.error('Outdated candle stick period detected: ' + JSON.stringify([period, strategyName, exchange, symbol]))
218+
this.logger.info(
219+
`Strategy skipped: outdated candle sticks: ${JSON.stringify([period, strategyName, exchange, symbol])}`
220+
);
220221

221222
// stop current run
222223
return {};

0 commit comments

Comments
 (0)