Add fixed-direction switch for perp/option open side.
When enabled, lock perp long→buy Put or short→buy Call with ITM/ATM only; off keeps ATM/ask rules. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -232,6 +232,8 @@ class Database:
|
||||
"min_option_leverage": str(s.min_option_leverage),
|
||||
"atm_open_offset_enabled": str(s.atm_open_offset_enabled),
|
||||
"max_atm_open_offset": str(s.max_atm_open_offset),
|
||||
"fixed_direction_enabled": str(s.fixed_direction_enabled),
|
||||
"fixed_perp_side": str(s.fixed_perp_side),
|
||||
"close_bid_mark_max_pct": str(s.close_bid_mark_max_pct),
|
||||
"perp_qty_eth": str(s.perp_qty_eth),
|
||||
"option_qty_eth": str(s.option_qty_eth),
|
||||
|
||||
Reference in New Issue
Block a user