Expose sim/live matching mode in env config UI.
Saving SIM_DEFAULT_MODE also switches runtime trading.mode immediately. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -72,8 +72,8 @@ TRADING_DAY_RESET_OPEN_GUARD_ENABLED=true
|
||||
LIVE_TRADING_ENABLED=true
|
||||
|
||||
# =============================================================================
|
||||
# 模拟资金(本地 SQLite 钱包; 系统设置可切换 模拟资金/实盘)
|
||||
# 交易模式默认由系统设置(runtime trading.mode)切换; 也可启动时指定默认
|
||||
# 模拟资金(本地 SQLite 钱包; env「撮合模式」或系统设置可切换 sim/live)
|
||||
# sim=本地模拟资金撮合; live=实盘账户
|
||||
# =============================================================================
|
||||
SIM_DEFAULT_MODE=sim
|
||||
SIM_INITIAL_EQUITY_USDT=10000
|
||||
|
||||
Reference in New Issue
Block a user