dekun
7ce59d2d71
Detect 10:15-10:30 morning break in trading session clock.
...
Split day session into 9:00-10:15 and 10:30-11:30; show 上午休盘 status and countdown to 10:30 reopen.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 10:27:21 +08:00
dekun
382a9a0e14
Use Sina-only market K-lines and editable admin login synced to .env.
...
Market page uses Sina for quotes and bars with an auto-follow toggle and incremental chart updates while panning. Settings lets users change username and password, persisting to the database and .env.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 13:53:12 +08:00
dekun
ab9987e4c7
Add personal license agreement and rename product section to tradable symbols.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 02:52:45 +08:00
dekun
d127a53870
fix: 修正 d.minute() 调用导致盘前连接 worker 报错。
...
datetime.minute 是属性而非方法,修复后交易时段与盘前自动连 CTP 可正常工作。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 12:36:01 +08:00
dekun
3fe4add8e1
feat: 行情K线优先CTP tick聚合,修复手续费同步主力列表解析
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 13:18:43 +08:00
dekun
55d95b4c39
进一步修复 SQLite 并发锁冲突,统一连接与重试机制。
...
新增 db_conn 模块、缓存 schema 初始化、positions 页 commit,风控读库自动重试。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:30:26 +08:00
dekun
65992eb35e
K线后台自动刷新并通过SSE推送到前端,移除轮询
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 17:33:31 +08:00