Close residual options when premium recovers above configurable threshold.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-02 14:19:21 +08:00
parent 60b3743e8d
commit 62c91d4bd0
12 changed files with 603 additions and 11 deletions
+2
View File
@@ -339,6 +339,8 @@ export type StrategySettings = {
fixed_direction_enabled?: boolean;
fixed_perp_side?: "long" | "short";
close_bid_mark_max_pct?: number;
residual_min_premium_pct?: number;
residual_close_check_sec?: number;
perp_qty_eth?: number;
option_qty_eth?: number;
show_manual_trade_buttons?: boolean;