From 8dda7500df75b165c95e8e0f7d5d52d399bde49f Mon Sep 17 00:00:00 2001 From: dekun Date: Wed, 12 Aug 2026 10:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=9F=E6=9D=83=E9=A1=B5?= =?UTF-8?q?=20Jinja=20=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=20HTTP=20500=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- lib/options/templates/options_panel.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/options/templates/options_panel.html b/lib/options/templates/options_panel.html index 00e8f33..fdef341 100644 --- a/lib/options/templates/options_panel.html +++ b/lib/options/templates/options_panel.html @@ -6,6 +6,7 @@ data-compound-cap-enabled="{% if options_compound_full_cap_enabled %}1{% else %}0{% endif %}" data-compound-cap-usdc="{{ '%.2f'|format(options_compound_full_cap_usdc|default(300)|float) }}" data-ask-liq-filter="{% if options_chain_ask_liq_filter is defined %}{{ '1' if options_chain_ask_liq_filter else '0' }}{% else %}1{% endif %}"> + {% set compound_on = options_compound_full_enabled if options_compound_full_enabled is defined else true %} {% if not options_enabled %}
期权未启用:请在 crypto_monitor_okx/.env 设置 OKX_OPTIONS_ENABLED=trueOKX_API_*(永续与期权共用),然后 pm2 restart crypto_okx --update-env.
{% endif %} @@ -126,17 +127,17 @@
-