From 59420e055050e42735e3bfc525a07de9aeb02efa Mon Sep 17 00:00:00 2001 From: dekun Date: Wed, 24 Jun 2026 13:05:22 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E6=8C=81=E4=BB=93=E7=9B=91=E6=8E=A7=20Si?= =?UTF-8?q?mNow=20=E6=A0=87=E7=AD=BE=E5=8E=BB=E6=8E=89=E3=80=8C=E6=A8=A1?= =?UTF-8?q?=E6=8B=9F=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- trading_context.py | 2 +- vnpy_bridge.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trading_context.py b/trading_context.py index 59532a4..43bc3cf 100644 --- a/trading_context.py +++ b/trading_context.py @@ -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 "期货公司实盘" diff --git a/vnpy_bridge.py b/vnpy_bridge.py index 2c7afcd..9aef3bb 100644 --- a/vnpy_bridge.py +++ b/vnpy_bridge.py @@ -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: