ui: 持仓监控 SimNow 标签去掉「模拟」

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-24 13:05:22 +08:00
parent eaca3d43ec
commit 59420e0550
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,4 +45,4 @@ def get_account_capital(conn, get_setting: Callable[[str, str], str]) -> float:
def trading_mode_label(get_setting: Callable[[str, str], str]) -> str:
return "SimNow 模拟" if get_trading_mode(get_setting) == TRADING_MODE_SIM else "期货公司实盘"
return "SimNow" if get_trading_mode(get_setting) == TRADING_MODE_SIM else "期货公司实盘"
+1 -1
View File
@@ -57,7 +57,7 @@ def _setting_for_mode(mode: str) -> dict[str, str]:
def _mode_label(mode: str) -> str:
return "SimNow 模拟" if mode == "simulation" else "期货公司实盘"
return "SimNow" if mode == "simulation" else "期货公司实盘"
def _format_ctp_failure(ctp_logs: list[str]) -> str: