dekun
a18f1f6713
Add spot sell retry UI; sell all trading-account coin on sell-back.
...
Fix coin-margin sell-back to use full available balance instead of bridge record; show retry banner and button on the options positions panel.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 08:01:06 +08:00
dekun
e1c2e5889f
修复期权历史/复盘金额为0:模拟盘合成历史、币本位按ETH精度展示,复盘折算为U。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 21:51:01 +08:00
dekun
1bb7f9b0ba
模拟盘买币改用公开行情,避免无效 OKX Key 导致 50111。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 16:05:10 +08:00
dekun
6f721d1e6d
模拟盘对齐币本位:钱包支持 ETH/BTC,现货桥与期权权利金走本地撮合。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 15:16:51 +08:00
dekun
9effca9f05
Add sim option expiry settlement so expired positions clear from current holdings.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 15:39:39 +08:00
dekun
b9544e53ee
Enrich sim option positions with public index and mark prices.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 21:04:00 +08:00
dekun
fed51035de
Fix sim pending-orders wrapper to accept positional inst_id.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 19:23:33 +08:00
dekun
ad992ee262
Use trading account and USDC/USDT market price for sim convert.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:52:38 +08:00
dekun
9d1495658c
Route sim transfer and convert through local wallets instead of OKX private API.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:47:41 +08:00
dekun
e7aa724a3b
Show okx_sim/okx_live and gate live API fields by matching mode.
...
In sim, hide LIVE/API keys and expose simulated fund settings in env UI.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:35:08 +08:00
dekun
919ac70bc2
Expose sim/live matching mode in env config UI.
...
Saving SIM_DEFAULT_MODE also switches runtime trading.mode immediately.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:14:17 +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