52 Commits

Author SHA1 Message Date
dekun 4fe15c41fa Sync fleet monitor columns with semi-auto units and K+/-N exits.
Row risk/open and exit no longer show full-auto 5%/1:2/base-20 when semi is on.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 15:25:41 +08:00
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 06f612aa52 Allow risk-based 永期 exits via premium multiple as well as base×k.
Settings UI picks 基数 or 权利金×n; sizing preview and control monitor follow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:13:11 +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 3b5a8c1ff9 Highlight 期期 hedge mode in control monitor with amber.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:37:34 +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 3d1f9f3d50 Move Beijing clock onto nav row with larger type.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:13:09 +08:00
dekun 0370e91d2f Add Beijing time clock to control header top-right.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:10:27 +08:00
dekun 3312a8fb50 Show residual option qty with two decimal places.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 03:47:49 +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 44a545e6e4 Show control monitor mode as SIM/A or SIM/B sizing codes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 07:54:44 +08:00
dekun 09abb8d35b Show residual bid as price/size and recovery percent from bid premium.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 07:43:27 +08:00
dekun b983b63c46 Rename control header to hedge fleet command center.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:47:16 +08:00
dekun 3e71621702 Enlarge control header title further.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:45:01 +08:00
dekun 5f1dce825b Widen control shell side padding on large screens.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:43:12 +08:00
dekun 86955c3cf5 Enlarge header subtitle with underline and dash prefix.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:41:52 +08:00
dekun c70a1fafd5 Restyle control header: large centered title, nav below.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:39:39 +08:00
dekun 553435eb20 Center control header title and BitCamel subtitle.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 15:34:29 +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 92c2e89b0e Add control monitor Start All for stopped fleet nodes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 14:52:56 +08:00
dekun 60b3743e8d Add initial funds to fleet stats and color total PnL.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:51:47 +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 8745d8e6d1 Add fleet stats table with funds, fees, loss streak, and totals.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:25:30 +08:00
dekun 5982cb7414 Add select-all update button on control monitor toolbar.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:18:27 +08:00
dekun 62c9d2ce01 Slow status-dot blink to a softer ~1s breathe.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:16:30 +08:00
dekun 77e68dd0e9 Lower control shell padding so fullscreen content is less top-heavy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:14:42 +08:00
dekun d210db19cf Cyber theme for control UI, faster status flicker, center table text.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:13:57 +08:00
dekun ec3156021a Add status column with blinking dots, widen shell, risk/open format.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:07:42 +08:00
dekun 46a861d311 Replace control monitor cards with status table layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 12:01:49 +08:00
dekun cad86813dc Cap fullscreen detail at 1920px width for ultrawide side margins.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:17:07 +08:00
dekun 987467a808 Make strategy detail overlay fill the entire viewport.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:14:46 +08:00
dekun 60a1e7ad48 Use horizontal tables for strategy and stats in centered fullscreen modal.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:10:31 +08:00
dekun b76ef0d248 Center detail modal at 920px with table layout for strategy and stats.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:06:41 +08:00
dekun 18fdfc6d0a Fullscreen strategy detail with 5-row equity pagination.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:01:52 +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 c5f477b8bc Hide username and logout on LAN clients in control header.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:47:50 +08:00
dekun be5803332f Keep monitor alive across nav and speed up status collect.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:44:27 +08:00
dekun b3ba0fd431 Add SSE second-level status push for control monitor.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:32:28 +08:00
dekun 7136adcaa9 Widen settings forms and fix Token clipboard copy fallback.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:15:22 +08:00
dekun 3556450ff0 Show in-position vs flat on control monitor cards with green/red.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:09:30 +08:00
dekun d46eaf43ab Control settings tabs, hide default creds hint after change, LAN passwordless login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:04:07 +08:00
dekun 8034464c2f Brighten and bold control modal PnL colors.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 11:27:37 +08:00
dekun 7c87c42061 Require confirm before control single/batch code update.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 11:14:14 +08:00
dekun 75e89ca442 Colorize control detail modal net PnL and leg upl (green/red).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 11:12:12 +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