关键位监控币种改为仅 BTC/USDT、ETH/USDT 下拉,对齐期权标的。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-09-30 23:49:07 +08:00
parent 23ee7ea2e9
commit fad85ae710
2 changed files with 7 additions and 2 deletions
+3
View File
@@ -6547,6 +6547,9 @@ def add_key():
if not symbol:
flash("symbol 不能为空")
return redirect("/key_monitor")
if symbol not in ("BTC/USDT", "ETH/USDT"):
flash("关键位仅支持 BTC/USDT、ETH/USDT(对应期权标的)")
return redirect("/key_monitor")
ok_sym, sym_msg = check_symbol_policy(
TRADE_POLICY, symbol, normalize_symbol_input
)