Commit Graph

9 Commits

Author SHA1 Message Date
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 a845da8d08 Fix CoinOX static JS path so hedge_plan.js is served.
dirname(BASE_DIR) pointed at /opt/lib and returned 404, leaving the hedge page stuck on loading.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 11:28:05 +08:00
dekun 135cdc13ba Fix hedge market quotes via public HTTP and default cloud-server deploy settings.
Avoid load_markets hangs on weak networks; enable login-required sim defaults and document Baota Nginx reverse proxy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 10:13:39 +08:00
dekun b4d62ea0a6 Enable options by default and allow full sim trading without OKX API keys.
Relax hedge start gates in sim, route perp open/close through sim broker, and mount strategy templates for records pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 09:26:38 +08:00
dekun d4b970cfd5 Allow CoinOX to start without manual_trading_hub by stubbing hub settings imports.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 09:17:40 +08:00
dekun 369114ee1b Fix IndentationError in init_db that prevented coinox from starting.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 09:09:53 +08:00
dekun 4a4de8f5fb Add Ubuntu interactive one-click deploy; default sim mode.
Ship deploy/manage.sh toolkit for /opt/coinox, rewrite Ubuntu-only deploy docs, drop Windows deploy guidance.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 08:35:07 +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