Add ATM open-offset toggle default off.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-25 12:42:20 +08:00
parent 79c074ec6c
commit fff285c1f9
12 changed files with 93 additions and 24 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ class Settings(BaseSettings):
leverage: float = 3.0 # 永续杠杆
min_option_hours: float = 12.0 # 期权最小剩余小时
min_option_leverage: float = 100.0 # 现价/卖一权利金 下限
max_atm_open_offset: float = 3.0 # 开仓|ATM行权价−标的| 上限(点
atm_open_offset_enabled: bool = False # 开仓 ATM 偏差限制开关(默认关
max_atm_open_offset: float = 3.0 # 开启后:|ATM行权价−标的| 上限(点)
close_bid_mark_max_pct: float = 30.0 # 平仓:买一相对标记最大偏差%
perp_qty_eth: float = 1.0
option_qty_eth: float = 2.0