Commit Graph

20 Commits

Author SHA1 Message Date
dekun ab7daa31e6 Fix option UPL to bid times size minus initial premium.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 09:32:12 +08:00
dekun fd4597f735 Compute option UPL as initial premium minus bid times size.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 09:28:40 +08:00
dekun 77ae6a44b9 Show option expiry countdown and widen settings for ultrawide/tablet.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 09:24:11 +08:00
dekun 37894e6f0f Fix Plan page black screen from undefined movePct.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 09:19:40 +08:00
dekun cce26e87b5 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>
2026-07-25 09:17:50 +08:00
dekun 9fd2a842af Add option close liquidity gate with 30% bid/mark cap.
Block new opens while flat legs wait; emergency close bypasses the check.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 09:05:04 +08:00
dekun 8c14759e78 Heal existing /opt install when manage.sh is missing on curl bootstrap.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 08:54:09 +08:00
dekun 2a29181a90 Add curl|bash manage.sh with deploy/uninstall/update menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 08:47:35 +08:00
dekun e19bb452f9 Split exchange and strategy modules for future Binance support.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 08:43:09 +08:00
dekun 3957a83761 Revise strategy: TTM+ATM+leverage option pick, % exit, perp leverage/margin.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 08:38:03 +08:00
dekun 7db4c9c8a3 Realign ATM to current mark before open; skip while in position.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 07:52:37 +08:00
dekun 1155cf082d Show OKX-style perp/option position cards on plan page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 17:32:57 +08:00
dekun 5125c6702b Fix running status color; add ETH qty settings with Chinese labels.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 17:24:27 +08:00
dekun b6d9877538 UI: centered nav title, settings tabs, running status, manual buttons.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 17:17:44 +08:00
dekun 8ea05e7064 Fix PriceResult slots serialization that broke open-group response.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 17:09:38 +08:00
dekun 51b8bb8f8a Implement P1 local matcher/ledger and P2 strategy engine.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 17:03:46 +08:00
dekun 0fca5f025e Remove API URL UI; add username/password change in settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:46:53 +08:00
dekun e24b4f297f Document dc.hyf2.cc reverse proxy for port 5155.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:41:31 +08:00
dekun 8c668ddff0 Fix remote deploy console encoding; allow npm install without lock.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:36:47 +08:00
dekun e51f357b48 Initial eth_hedge_sim: P0 market, auth UI, one-click deploy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:33:25 +08:00