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
|
bd742a2e43
|
Remove obsolete perpetual risk sections from env config UI.
Keep WeChat and options/hedge tabs; move sizing knobs under perpetual hedge.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-14 18:18:00 +08:00 |
|
dekun
|
679c7a313c
|
Drop obsolete trade-execution and cooling sections from risk policy.
Options/hedge standalone no longer surfaces perpetual manual-risk blurbs.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-14 18:16:04 +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
|
56618a6655
|
Harden embed live refresh with reconnect backoff and poll fallback.
Document Nginx SSE proxy settings for long-lived live streams.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-14 18:10:54 +08:00 |
|
dekun
|
d9de3fe784
|
Restore shared CSS/JS static mounts for standalone deploy.
Embed UI looked unstyled because hub_bridge no longer registers lib/common/static.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-14 18:00:56 +08:00 |
|
dekun
|
82ba8d19a6
|
Register /embed shell routes for standalone OKX deploy.
Login redirected to /embed after hub removal left the route unregistered.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-14 17:55:28 +08:00 |
|
dekun
|
09265b608d
|
Re-load deploy helpers after pull and wait for HTTP ready.
Quick update was verifying with stale in-memory functions before Flask bound.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-13 20:21:15 +08:00 |
|
dekun
|
fd063c56f8
|
Wait for Flask readiness during deploy verification.
Avoid false negatives when PM2 is online but the port is not listening yet.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-13 20:19:47 +08:00 |
|
dekun
|
ecf35f6c09
|
Fix quick-update PM2 path when crypto_okx was never started.
Stop trusting pm2 pid; start ecosystem if the app is missing.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-13 20:18:06 +08:00 |
|
dekun
|
9079f94585
|
Fix PM2 start falsely treating missing crypto_okx as existing.
Use jlist name match and fall back to start when restart fails.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-13 20:10:38 +08:00 |
|
dekun
|
d4eb6832b7
|
Rewrite usage guide for current options and hedge flows.
Remove obsolete strategy, key auto-order, and AI review sections.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-13 20:06:23 +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 |
|