fix: add_key 允许突破触价开仓类型通过白名单校验

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-29 20:55:51 +08:00
parent a0d57fc65e
commit 865567fbd3
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -7331,7 +7331,7 @@ def add_key():
+ tuple(KEY_MONITOR_ALERT_ONLY_TYPES)
+ tuple(FIB_KEY_MONITOR_TYPES)
+ (FALSE_BREAKOUT_MONITOR_TYPE,)
+ (TRIGGER_ENTRY_MONITOR_TYPE,)
+ tuple(TRIGGER_ENTRY_MONITOR_TYPES)
)
if mt not in allowed_types:
flash("监控类型无效")