修复顶栏 500:向模板注入 trading_account_label。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5308,6 +5308,7 @@ def render_main_page(page="options", embed_mode=None):
|
|||||||
key_rule_ctx=key_rule_ctx,
|
key_rule_ctx=key_rule_ctx,
|
||||||
funds_fmt=format_funds_u,
|
funds_fmt=format_funds_u,
|
||||||
options_funding_label=options_funding_label,
|
options_funding_label=options_funding_label,
|
||||||
|
trading_account_label=trading_account_label,
|
||||||
exchange_display=_exchange_display_for_header,
|
exchange_display=_exchange_display_for_header,
|
||||||
options_enabled=OKX_OPTIONS_ENABLED,
|
options_enabled=OKX_OPTIONS_ENABLED,
|
||||||
trading_mode=("sim" if _sim_mode_for_header else "live"),
|
trading_mode=("sim" if _sim_mode_for_header else "live"),
|
||||||
|
|||||||
Reference in New Issue
Block a user