Administrator
2025-06-09 2c0cd33754ca012a24438b0b1d01229242079aca
strategy/strategy_params_settings.py
@@ -3,7 +3,6 @@
"""
import json
class StrategyParamsSettings:
    # 禁止买入
    STATE_FORBIDDEN_BUY = 0
@@ -18,9 +17,9 @@
        # 价格区间
        self.price_range = (3, 60)
        # 老题材涨停数
        self.limit_up_count_of_old_plate = 4
        self.limit_up_count_of_old_plate = 3
        # 新题材涨停数
        self.limit_up_count_of_new_plate = 4
        self.limit_up_count_of_new_plate = 3
        # 昨日不能涨停
        self.cant_yesterday_limit_up = True
        # 昨日不能跌停
@@ -50,7 +49,7 @@
        # 是否可买今日涨停过的票
        self.can_buy_limited_up = False
        # 最低开盘涨幅
        self.min_open_rate = -0.03
        self.min_open_rate = -0.02
        # 可买的涨幅比例
        self.avaiable_rates = (-0.03, 0.07)
        # 今日涨停价需突破XX日最高价,None表示此条数据不生效
@@ -73,3 +72,4 @@
        return obj
settings: StrategyParamsSettings = StrategyParamsSettings()