4 Commits

Author SHA1 Message Date
dekun 6215d0975d Harden env save against empty numerics; default coin margin and hedge off.
Reject blank float/int/select on save and parse env with safe helpers so options config edits cannot crash into 502; default OKX_TRADE_MODE=options and OKX_OPTIONS_MARGIN_MODE=coin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 18:04:19 +08:00
dekun d1e6d841c9 Hide contract env/UI: keep options+OO hedge and RS key alerts only.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 17:54:49 +08:00
dekun c8688a11ae 对齐币本位期权:现货缓冲开仓、页头 ETH/BTC 余额与默认 coin 模式。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 15:01:19 +08:00
dekun a1abe159fa Initial standalone crypto_okx with one-click deploy.
Add deploy/manage.sh bootstrap for git.bz121.com/dekun/crypto_okx and point docs at this repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 20:00:59 +08:00