dekun
22de1fd40c
Match options branding: title prefix and ETH/BTC header quotes.
...
Use 「加密货币 | OKX 对冲」 and show live top-right ETHUSDT/BTCUSDT quotes like the options instance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 19:17:00 +08:00
dekun
fc83905cf6
Expand default strike rows and add hedge fund transfer / sell-coin.
...
Show the default five chain rows without a scroll box, add funding transfer under manual pick, and wire sell-back-coin above positions via hedge APIs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 19:11:44 +08:00
dekun
9295dcffe3
Show editable exit on live cards; price perp PnL via close-side book VWAP.
...
Align monitor profit-exit with the same book VWAP so card and auto-exit stay consistent.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 17:29:58 +08:00
dekun
746655acba
Align hedge UI/fees: drop 未启动, premium coin/U, equity incl perp margin, OKX option fees.
...
Option net uses Min(0.03%×coin, 7%×premium) with bid/ask fills (no slip); live PnL colors fixed.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 17:12:10 +08:00
dekun
a83b6794d8
Keep unflat legs on 当前持仓 after plan end.
...
Closed plans with open legs stay visible and closable so residual positions are not orphaned from the UI.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 16:51:33 +08:00
dekun
b7b1a7e7e0
Wide order dialog (calc|form); enrich live cards with lev/bid/margin/time.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 16:45:05 +08:00
dekun
0b3dabbbd9
Split live positions from hedge plans; show option+perp net PnL after fees.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 16:32:13 +08:00
dekun
5c95625817
Relax perp order dialog spacing; fix styles when dialog mounts on body.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 16:25:22 +08:00
dekun
7d29181a04
Fix perp manual order watch_entry bug; slim dialog UI; nav shows 永期/期期.
...
Manual market_order was validated as watch (missing watch_entry=0). Collapse order calc into details, remove page head card, show mode name in nav.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 16:19:15 +08:00
dekun
78b909761d
Perp hedge: dialog order like options; right panel shows positions/orders/history/stats.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 16:05:50 +08:00
dekun
d68e9c3946
永期手动下单:修币本位杠杆显示,张数定仓与双出场模式.
...
右侧以张数+比例算永续,杠杆取 env(BTC10/ETH5);开仓买币+5%滑点;出场可选盈利金额(扣双边费)或目标位;平仓后卖光币回 U.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 15:43:44 +08:00
dekun
c9e69ce8ef
永期改为市价选约:左同期权人工选,右去掉选约条件.
...
左侧到期/CallPut/全部实虚值/展开全部;右侧仅资金杠杆与出场;下单走已选合约立即开仓而非条件盯盘.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 15:19:17 +08:00
dekun
73a1d5f709
Swap 永期 layout to left option select / right order; default opt:perp ratio 2.
...
Call pairs with perp short and Put with perp long; sizing shows coin notional so 1 BTC option hedges 0.5 BTC perp.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 12:54:09 +08:00
dekun
88b7fb7a0a
Initial CoinOX instance: coin-margined options + USDT hedge.
...
Forked from crypto_monitor OKX instance (copy-only). Keeps standalone options, perp-options and options-options hedge; drops standalone perp entrypoints; forces coin margin; adds sim wallets; default port 5010.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-14 00:18:40 +08:00