Move settings hints into rules; add OO amplitude filter toggle default off.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -82,8 +82,9 @@ class Settings(BaseSettings):
|
||||
martingale_max_doubles: int = 3 # 最多翻倍次数(如 2→4→8→16 为 3 次)
|
||||
# 对冲模式:perp_option=永期(默认)| option_option=期期
|
||||
hedge_mode: str = "perp_option"
|
||||
oo_amplitude_pct: float = 1.5 # 振幅最大 %(回看窗内高低;超过则不开)
|
||||
oo_amplitude_hours: float = 12.0 # 振幅回看小时
|
||||
oo_amplitude_pct: float = 1.5 # 振幅最大 %(过滤开启时:超过则不开)
|
||||
oo_amplitude_hours: float = 12.0 # 振幅回看小时(选约高低点;过滤关也用)
|
||||
oo_amplitude_filter_enabled: bool = False # 振幅过滤开关(默认关)
|
||||
oo_min_option_hours: float = 24.0 # 期期:最短剩余到期小时
|
||||
oo_min_leverage: float = 200.0 # 期期:单腿最低杠杆
|
||||
oo_reward_ratio: float = 2.0 # 盈亏比:出场目标 = 预算 × 比
|
||||
|
||||
Reference in New Issue
Block a user