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

Function _check_max_backtesting_setting

octobot/limits.py:153–157  ·  view source on GitHub ↗
(setting_name, limit, values)

Source from the content-addressed store, hash-verified

151
152
153def _check_max_backtesting_setting(setting_name, limit, values):
154 if values and limit != constants.UNLIMITED_ALLOWED and len(values) > limit:
155 raise ReachedLimitError(
156 f"The maximum allowed simultaneous backtesting {setting_name} for your selected plan is {limit}"
157 )
158
159
160def _check_max_backtesting_candles_count(time_frames, start_timestamp, end_timestamp):

Callers 2

Calls 1

ReachedLimitErrorClass · 0.85

Tested by

no test coverage detected