diff --git a/crypto_monitor_okx/app.py b/crypto_monitor_okx/app.py index 03f8f31..e19e424 100644 --- a/crypto_monitor_okx/app.py +++ b/crypto_monitor_okx/app.py @@ -6608,12 +6608,10 @@ def render_main_page(page="trade", embed_mode=None): from lib.instance.instance_embed_context_lib import ( embed_render_plan, minimal_stats_bundle, - options_funding_label, profit_loss_ratio_from_trades, show_perp_funds_enabled, total_funds_usdt, trade_records_summary, - trading_account_label, ) plan = embed_render_plan(page, embed_mode) @@ -6880,8 +6878,7 @@ def render_main_page(page="trade", embed_mode=None): journal_chart_default_anchor=JOURNAL_CHART_DEFAULT_ANCHOR, key_rule_ctx=key_rule_ctx, funds_fmt=format_funds_u, - options_funding_label=options_funding_label, - trading_account_label=trading_account_label, + # options_funding_label / trading_account_label 由 embed_context_extras 注入,勿重复写进 dict exchange_display=EXCHANGE_DISPLAY_NAME, options_enabled=OKX_OPTIONS_ENABLED, show_perp_funds=_show_perp_funds or (options_margin_mode == "coin"),