fix: 交易时段冷却4h→1h
This commit is contained in:
@@ -8,7 +8,7 @@ DB holding_strategies 表(纯DB模式,已移除JSON依赖)。
|
||||
import sys, json, os, re
|
||||
from datetime import datetime
|
||||
|
||||
COOLDOWN_HOURS_TRADING = 4 # 交易时段冷却(9:00-15:00)
|
||||
COOLDOWN_HOURS_TRADING = 1 # 交易时段冷却(1小时)
|
||||
COOLDOWN_HOURS_NONTRADING = 24 # 非交易时段冷却
|
||||
|
||||
def _in_cooldown(code):
|
||||
|
||||
Reference in New Issue
Block a user