Fix strategy name fallback to use registry key instead of display name

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thigazhezhilan J 2026-05-28 18:33:52 +05:30
parent 18d07c1910
commit b06f7d4ffa

View File

@ -729,7 +729,7 @@ def _build_engine_config(user_id: str, run_id: str, req=None):
)
return {
"strategy": strategy_name or "Golden Nifty",
"strategy": strategy_name or "golden_nifty",
"sip_amount": sip_amount or 0,
"sip_frequency": sip_frequency,
"mode": mode,