dekun
96e8e5cb70
Show option/perp PnL and fee-deducted net in trade details.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 16:14:48 +08:00
dekun
21b8f587a2
Clarify expiry settles at intrinsic in strategy docs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 16:09:47 +08:00
dekun
e3671d9798
Settle expiry options at intrinsic value like live exchange.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 16:08:44 +08:00
dekun
a58d97938c
Floor option close at intrinsic to fix expiry garbage quotes.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 16:07:20 +08:00
dekun
b0dca59681
Add XMind strategy logic map and generator script.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:28:21 +08:00
dekun
f25c79fd76
Close option before perp so the hedge stays while exiting the thin leg.
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 13:03:51 +08:00
dekun
32e8de85cc
Show option top-of-book size and open option before perp.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:57:16 +08:00
dekun
21ca5cbfe0
Survive Binance eapi 418/429 with cooldown, soft start, and no ticker raise.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:49:14 +08:00
dekun
867deba1bb
Throttle Binance eapi REST to avoid 429 on Plan snapshot polls.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:44:41 +08:00
dekun
fff285c1f9
Add ATM open-offset toggle default off.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:42:20 +08:00
dekun
79c074ec6c
Prefer open direction from ATM vs spot (below=Call/short, above=Put/long).
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:39:23 +08:00
dekun
ee0ec57f89
Gate opens when ATM-spot offset exceeds configurable max (default 3).
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:32:36 +08:00
dekun
a4bcc3ab0d
Show ATM distance to spot on Plan market card.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:25:27 +08:00
dekun
2a2b9f44c2
Update Binance options WS default in .env.example
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:18:34 +08:00
dekun
89ea3336c8
Fix Binance options WS endpoint and connected flag.
...
Use fstream /public/stream with lowercase bookTicker streams; keep market connected if futures WS is up.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:18:01 +08:00
dekun
586469482e
Fix Binance boot using OKX symbols after restart.
...
Startup ignored DB exchange choice and kept OKX ATM ids under a Binance health label, so option bid/ask stayed empty.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:13:19 +08:00
dekun
d701d30c04
Fix Binance option top-of-book via depth limit and ticker fallback.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:08:33 +08:00
dekun
78fd046fb6
Add Binance SIM market adapter and exchange switch in settings.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:02:36 +08:00
dekun
5dcec0fde0
Add configurable SIM equity (default 10k) and strategy docs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 11:43:51 +08:00
dekun
b50c134f5b
Add weekend open skip, expiry force-close, and Chinese trade labels.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 10:28:33 +08:00
dekun
826362b556
Restore strategy/positions height sync and shared market columns.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:45:35 +08:00
dekun
0a824d9d1e
Align plan columns and put option countdown on title row.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:43:02 +08:00
dekun
12a6365fc9
Lay out plan as strategy left and stacked position cards right.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:39:04 +08:00
dekun
8a148f8c2b
Pack plan summary into multi-column layout for ultrawide screens.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:35:36 +08:00
dekun
974bf7fe34
Show perpetual and option floating PnL on separate rows.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:33:48 +08:00
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