dekun
f2bd76d970
Fix UI stuck after manual close: fast API return and closing state instead of SL/TP revive.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-03 21:54:35 +08:00
dekun
9508d88938
Fix server hang: stop CTP reconnect storm and throttle live account polling.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-03 21:24:30 +08:00
dekun
d6776d2b8e
Speed up equity/position display after CTP reconnect and auto-refresh stale sessions before market open.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-03 21:17:15 +08:00
dekun
2081bf2da9
Add daily loss force-flatten at configurable equity limit
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-03 12:42:13 +08:00
dekun
075fae37ec
Fix float P/L when using OpenCost entry and clear CTP hint on connect.
...
Recalculate position quotes from resolved entry instead of stale CTP PositionProfit, and hide the auto-connect disabled banner once CTP is connected.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 21:24:48 +08:00
dekun
658982d2b9
Speed up CTP account display: refresh equity on fast snapshot without waiting for full position sync.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-01 15:02:37 +08:00
dekun
e5a586f903
Restructure into modules/ with single-process CTP and config/ layout.
...
Move business code under modules/, env template to config/, PM2 single qihuo process, and _legacy shims for old imports.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-01 14:42:16 +08:00