Add dual exit modes: fixed USDT or premium multiple.

Net PnL (after estimated close fees) drives auto close; Plan/Settings expose the choice.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-25 09:17:50 +08:00
parent 9fd2a842af
commit cce26e87b5
13 changed files with 282 additions and 72 deletions
+3
View File
@@ -36,6 +36,9 @@ LEVERAGE=3
MIN_OPTION_HOURS=12
MIN_OPTION_LEVERAGE=100
EXIT_MOVE_PCT=2
EXIT_MODE=fixed_usdt
NET_PROFIT_TARGET=15
PREMIUM_EXIT_MULTIPLE=1
CLOSE_BID_MARK_MAX_PCT=30
REST_SECONDS=300
PERP_QTY_ETH=1