(setting_name, limit, values)
| 151 | |
| 152 | |
| 153 | def _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 | |
| 160 | def _check_max_backtesting_candles_count(time_frames, start_timestamp, end_timestamp): |
no test coverage detected