dekun
870dfb3bc0
Fix CTP position average price using OpenCost instead of PositionCost.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 20:53:15 +08:00
dekun
b0afff53af
Ensure scheduled auto backups explicitly include .env in backup archives.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:38:51 +08:00
dekun
8ebe1a3c77
Remove PostgreSQL support and standardize on SQLite only.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:21:27 +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