From 1591fcb1ca94482a185d35ded273ff2377e7b7b8 Mon Sep 17 00:00:00 2001 From: shokollm <270575765+shokollm@users.noreply.github.com> Date: Sun, 12 Apr 2026 00:23:55 +0000 Subject: [PATCH] fix: remove check_interval restriction for non-pro plans Simulation is paper trade only, so no need to restrict check_interval. Allow 10 second intervals for all users. --- src/backend/app/api/simulate.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/app/api/simulate.py b/src/backend/app/api/simulate.py index 1eca813..61ab7de 100644 --- a/src/backend/app/api/simulate.py +++ b/src/backend/app/api/simulate.py @@ -141,15 +141,11 @@ async def start_simulation( settings = get_settings() simulation_id = str(uuid.uuid4()) - check_interval = config.check_interval - if settings.AVE_API_PLAN != "pro" and check_interval < 60: - check_interval = 60 - simulation_config = { "bot_id": bot_id, "token": config.token, "chain": config.chain, - "check_interval": check_interval, + "check_interval": config.check_interval, "auto_execute": False, # Always paper trade "strategy_config": bot.strategy_config, "ave_api_key": settings.AVE_API_KEY, @@ -164,7 +160,7 @@ async def start_simulation( config={ "token": config.token, "chain": config.chain, - "check_interval": check_interval, + "check_interval": config.check_interval, }, signals=[], )