MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / ensure_backtesting_limits

Function ensure_backtesting_limits

octobot/limits.py:179–182  ·  view source on GitHub ↗
(exchanges, symbols, time_frames, start_timestamp, end_timestamp)

Source from the content-addressed store, hash-verified

177
178
179def ensure_backtesting_limits(exchanges, symbols, time_frames, start_timestamp, end_timestamp) -> None:
180 _check_max_backtesting_setting("exchanges", constants.MAX_ALLOWED_EXCHANGES, exchanges)
181 _check_max_backtesting_setting("trading pairs", constants.MAX_ALLOWED_SYMBOLS, symbols)
182 _check_max_backtesting_candles_count(time_frames, start_timestamp, end_timestamp)

Callers

nothing calls this directly

Tested by

no test coverage detected