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
9379bc4f4f
Add frontend backup upload and list-based restore with validation.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:03:18 +08:00
dekun
481086eddc
Collapse dashboard server status into top bar and include .env in backup restore.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 15:43:48 +08:00
dekun
aae897b7eb
Add server status card to dashboard with public and private IP display.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 15:36:55 +08:00
dekun
5328673ce8
Add separate kline.db and pre-seed small-account four-product K-lines on startup.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 15:22:52 +08:00
dekun
972ab5d08b
Route business quotes and K-lines to CTP; keep Sina only for market chart page.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 15:14:13 +08:00
dekun
98d63f38bf
Fix dashboard position limit flicker by unifying active count across APIs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 14:53:04 +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