8 Commits

Author SHA1 Message Date
dekun 5d161b4220 Add HEDGE_PO_MODE instance modes with shared sim/live path.
Lock one mode per instance/subaccount, cross-asset BTC option/ETH perp sizing, combo-U exit, and ship docs/tests/audit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 20:05:25 +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 cfecbcfbb5 Hide unused risk-policy nav and options-account env for hedge-only.
Gate system-settings options panels on STANDALONE_OPTIONS_UI so settings no longer 500 without the options trading module.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 18:47:36 +08:00
dekun 6607d09526 Make this repo hedge-only: skip standalone options UI by default.
Nav/env only expose 永期/期期; set STANDALONE_OPTIONS_UI=true for emergency opt-in.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 18:37:46 +08:00
dekun 4c48c95562 Tune CoinOX env: drop auto-transfer; map leverage to hedge perp opens.
BTC_LEVERAGE/ALT_LEVERAGE now drive永期永续 default leverage in UI and start fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 12:46:14 +08:00
dekun 2854d94e6b Remove USDC product path; CoinOX is coin-margined only.
Drop USDC open/quote/swap APIs and env knobs; retarget hedge/settings copy to USDT/coin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 12:33:59 +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