diff --git a/crypto_monitor_binance/app.py b/crypto_monitor_binance/app.py index 6b9015a..71522d1 100644 --- a/crypto_monitor_binance/app.py +++ b/crypto_monitor_binance/app.py @@ -7881,7 +7881,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("监控类型无效") diff --git a/crypto_monitor_gate/app.py b/crypto_monitor_gate/app.py index 2bf772e..e7fcb9d 100644 --- a/crypto_monitor_gate/app.py +++ b/crypto_monitor_gate/app.py @@ -7781,7 +7781,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("监控类型无效") diff --git a/crypto_monitor_gate_bot/app.py b/crypto_monitor_gate_bot/app.py index daf3039..5dc4723 100644 --- a/crypto_monitor_gate_bot/app.py +++ b/crypto_monitor_gate_bot/app.py @@ -7777,7 +7777,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("监控类型无效") diff --git a/crypto_monitor_okx/app.py b/crypto_monitor_okx/app.py index 07c3cbb..88db93b 100644 --- a/crypto_monitor_okx/app.py +++ b/crypto_monitor_okx/app.py @@ -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("监控类型无效") diff --git a/tests/test_trigger_entry_key_monitor_lib.py b/tests/test_trigger_entry_key_monitor_lib.py index 2f19afd..28f4ed9 100644 --- a/tests/test_trigger_entry_key_monitor_lib.py +++ b/tests/test_trigger_entry_key_monitor_lib.py @@ -81,4 +81,5 @@ def test_type_names(): assert is_trigger_entry_key_monitor_type(LEGACY_TRIGGER_ENTRY_MONITOR_TYPE) assert is_breakout_trigger_entry_key_monitor_type(BREAKOUT_TRIGGER_ENTRY_MONITOR_TYPE) assert CALLBACK_TRIGGER_ENTRY_MONITOR_TYPE in TRIGGER_ENTRY_MONITOR_TYPES + assert BREAKOUT_TRIGGER_ENTRY_MONITOR_TYPE in TRIGGER_ENTRY_MONITOR_TYPES assert TRIGGER_ENTRY_VALIDITY_HOURS == 24