Commit Graph

10 Commits

Author SHA1 Message Date
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 d40a0d25be Make hedge the default home and drop unused product-surface entries.
Put永期/期期对冲 first in nav, default embed tab to hedge_plan, and remove risk-policy/options-account UI instead of only hiding them.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 18:51:57 +08:00
dekun 16bba2eb1a Enable hedge review with dual-timeframe K-line charts.
Always install the review module in hedge-only mode, expose 对冲复盘 in nav, and allow auto charts for closed hedge plans.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 18:43:02 +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 043b0aeded Bump instance_theme cache for unflat position tag styles.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 16:51:47 +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 5608173784 Slim CoinOX UI to okx对冲: drop records/stats nav and trim env.
Redirect removed pages, disable trade-records API, and keep only options/hedge-related env groups.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 11:38:50 +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