17 Commits

Author SHA1 Message Date
dekun 457838ef64 Extend semi-auto with ITM/ATM/OTM, offset, and 1:4 sizing.
Moneyness and perp:option units are plan-only; OTM enforces leverage >=180.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:42:57 +08:00
dekun 4585dba3c3 Add 永期半自动: human arm, machine open/close, then stop.
Settings toggle, Plan panel, Fleet monitor, exit locks and armed TOCTOU gates; docs and dual audits.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:20:11 +08:00
dekun ab612df818 Move settings hints into rules; add OO amplitude filter toggle default off.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:58:50 +08:00
dekun 6d63c52ae0 Show OO amplitude, Call/Put size, and min leverage in control.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:43:42 +08:00
dekun bd7640e36a Show both Call and Put legs for OO positions in control.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:40:45 +08:00
dekun 9f7b1b24e6 Show 永期/期期 in control monitor mode column.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:32:49 +08:00
dekun 0f552eb50e Add martingale mode for risk-based percent sizing.
Enable in settings (default off): after N consecutive loss days, double the effective risk_loss_pct up to a configurable max; blocked when base pct > 3%.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 09:55:29 +08:00
dekun b09bcd8414 Show min option hours in control risk/open column.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 07:56:32 +08:00
dekun a7aee8f425 Add control residual options table with liquidity-only manual close.
Fleet status exposes enriched residuals; manual close skips the premium recovery gate while auto mid-close remains unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:13:29 +08:00
dekun cd46d7748c Move fleet stats to nav page; backfill funds and loss metrics from curve/status.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:43:17 +08:00
dekun 0c12d76212 Show margin and premium in control positions; align exchange price digits.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:32:25 +08:00
dekun 079dc83132 Show strategy stats in control monitor detail modal.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 09:49:27 +08:00
dekun c05478015d Read risk_loss_pct exit base and option lev from strategy settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 15:03:26 +08:00
dekun 67f22626e9 Show risk params box on control cards and modal.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 14:58:30 +08:00
dekun a317822f7a Improve control monitor cards: green when running, detail modal with positions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 11:07:54 +08:00
dekun 08fe06d074 Fix control unauthorized: map strategy 401 to 502 and keep fleet headers on redirect.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 10:57:06 +08:00
dekun da5eb4c18c Add Fleet control plane and split manage.sh deploy menu.
Strategy nodes gain fleet token APIs; control/ app for local ops; manage.sh offers strategy vs control one-click deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 10:46:40 +08:00