mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 15:34:16 +08:00
feat(monitor): 策略监控新建规则默认通知事件改为选股结果
DEFAULT_STRATEGY_NOTIFY_EVENTS 从买/卖信号改为进入/移出选股结果, 新建规则、类型切换、策略页创建监控三处默认随之生效; 与后端省略 notify_events 字段时的回填口径一致。旧规则空值回退(LEGACY)不变。
This commit is contained in:
@@ -39,9 +39,10 @@ const META: Record<string, StrategyEventMeta> = {
|
||||
},
|
||||
}
|
||||
|
||||
/** 新建策略监控的默认通知事件: 选股结果(进入/移出), 与后端省略字段时的回填一致 */
|
||||
export const DEFAULT_STRATEGY_NOTIFY_EVENTS: StrategyNotifyEvent[] = [
|
||||
'buy_signal',
|
||||
'sell_signal',
|
||||
'pool_entry',
|
||||
'pool_exit',
|
||||
]
|
||||
|
||||
export const LEGACY_STRATEGY_NOTIFY_EVENTS: StrategyNotifyEvent[] = [
|
||||
|
||||
Reference in New Issue
Block a user