dekun
e666230d0b
Add SIM/LIVE switch with API keys saved to .env and OKX live executor.
...
Enable settings UI for mode/keys, gate strategy start when LIVE is not ready, and stop PM2 from forcing MODE=SIM.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 21:08:39 +08:00
dekun
2a2b9f44c2
Update Binance options WS default in .env.example
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:18:34 +08:00
dekun
78fd046fb6
Add Binance SIM market adapter and exchange switch in settings.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 12:02:36 +08:00
dekun
5dcec0fde0
Add configurable SIM equity (default 10k) and strategy docs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 11:43:51 +08:00
dekun
cce26e87b5
Add dual exit modes: fixed USDT or premium multiple.
...
Net PnL (after estimated close fees) drives auto close; Plan/Settings expose the choice.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:17:50 +08:00
dekun
9fd2a842af
Add option close liquidity gate with 30% bid/mark cap.
...
Block new opens while flat legs wait; emergency close bypasses the check.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 09:05:04 +08:00
dekun
e19bb452f9
Split exchange and strategy modules for future Binance support.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-25 08:43:09 +08:00
dekun
51b8bb8f8a
Implement P1 local matcher/ledger and P2 strategy engine.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 17:03:46 +08:00
dekun
e51f357b48
Initial eth_hedge_sim: P0 market, auth UI, one-click deploy.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 16:33:25 +08:00