dekun
deb9501cbe
Show product name, main contract badge, and exchange on position cards.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 10:55:37 +08:00
dekun
42f2dad52a
Remove contract profile from navigation and retire its routes.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 03:32:30 +08:00
dekun
cababd67f5
Reduce navigation flash with instant theme background and view transitions.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 03:26:57 +08:00
dekun
aaf69329cb
Use English tagline and open daily K-line when jumping from tradable symbols.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 03:23:52 +08:00
dekun
4eb5709d71
Rebrand product and enhance tradable symbols table with spec columns and K-line links.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 03:18:42 +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
7b60f0dce5
Update documentation to match current product features.
...
Rewrite module docs for order monitor, CTP sync, and stats; remove obsolete simulated-position and UI descriptions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 02:08:01 +08:00
dekun
bdfa21def8
Rename positions nav to order monitor and set as default landing page.
...
Remove stats recalculate button; login and home now open /positions without affecting refresh on other routes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 01:51:22 +08:00
dekun
1cc0cd5f8d
Flatten records visuals and show stats summary in one row.
...
Use transparent chart/table surfaces on records page; merge 14 stat metrics into a single compact card row.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 01:41:35 +08:00
dekun
64adce0e24
Flatten records page styling to match outer card background.
...
Use card-bg for equity curve and trade table instead of nested inner card colors.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 01:35:50 +08:00
dekun
f457e7d6c9
Fix trade records table scroll with sticky header and themed background.
...
Use card CSS variables for 10-row viewport, sticky column headers, and dark/light theme sync.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 01:31:06 +08:00
dekun
aad88a9e98
Add industry filter to recommendations and fix verify button width.
...
Show category, turnover, and per-industry counts; clarify volume is in lots. Prevent trade-save button from stretching full column width.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 01:21:53 +08:00
dekun
e5f675c6ca
Sync equity curve with card theme and keep trade actions on one row.
...
Use CSS variables for chart colors with dark/light auto-switch; prevent trade action buttons from wrapping.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 01:11:21 +08:00
dekun
eb4414f741
Fix trade sync when get_all_trades returns a list.
...
Handle both dict and list from vnpy so records page CTP sync no longer warns.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 00:58:16 +08:00
dekun
7133a0e448
Fix CTP vnctptd segfault restart loop by serializing reconnect.
...
Skip duplicate auto-connect when TD is logged in, stop aggressive query_position hooks, and throttle position refresh.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 00:49:17 +08:00
dekun
9f48f22d16
Gate order cancel to trading hours and sync trade logs from CTP.
...
Disable cancel UI outside sessions, query exchange fills for records, and label local vs counterparty rows.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 00:35:51 +08:00
dekun
a23f2c80ca
Track open orders as pending until CTP fill, with cancel and timeout.
...
Add configurable pending timeout in settings and clearer CTP password save feedback.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 00:05:45 +08:00
dekun
7ea8fb6301
Remove pm2 300M memory restart limit for 8GB server
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 18:04:17 +08:00
dekun
ca541d5fc3
Auto-reconnect CTP with new front-end addresses after saving settings
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:51:18 +08:00
dekun
b641a4eaa0
Expand recommend table with gap, daily stats, and client-side sorting
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:36:31 +08:00
dekun
a56370d2af
Fix positions page hang by moving recommend refresh to background
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:29:10 +08:00
dekun
04b6f5e72d
Add daily trend status to product recommendations with breakout priority
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:25:34 +08:00
dekun
aba67a3d16
Compact CTP settings form into 3-row grid per card
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:16:52 +08:00
dekun
47dd946d66
fix: CTP 设置 SimNow/实盘卡片改为左右并列显示
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:11:54 +08:00
dekun
480000e195
feat: 系统设置 CTP 连接拆分为 SimNow/实盘可折叠卡片
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:09:56 +08:00
dekun
259d9e812d
fix: CTP登录冷却持久化到数据库,取消页面自动连并刷新JS缓存
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 17:01:36 +08:00
dekun
9c8b92d2bd
fix: 登录冷却期间不再显示 CTP 连接中,优化前端状态同步
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 16:57:06 +08:00
dekun
4aebc2df49
fix: SimNow 登录封禁(错误75)时冷却退避,停止自动重连
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 16:50:09 +08:00
dekun
5a6c89c662
feat: CTP/SimNow 配置迁入系统设置,登录失败即时报错
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 16:46:01 +08:00
dekun
72361233a0
fix: CTP重连前探测前置可达性,失败时关闭网关并明确报错
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 16:30:35 +08:00
dekun
240fbe7994
feat: 交易记录增加保证金占比与最新资金,上方展示资金曲线
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 16:17:22 +08:00
dekun
649c064c2f
feat: 期货下单写入DB来源与开仓时间,CTP同步均价保证金现价
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:59:15 +08:00
dekun
0741997818
fix: 持仓手数均价分列、止损止盈显示金额、CTP开仓时间含OpenTime
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:48:52 +08:00
dekun
de74ffe5b9
fix: 持仓卡片布局优化、闭盘禁用平仓、固定金额step修复
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:41:35 +08:00
dekun
9772f3d986
feat: 计仓改为固定手数/固定金额,推荐过滤与CTP保证金,下单与持仓UI优化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:31:34 +08:00
dekun
c302e1f3ca
fix: avoid SQLite lock on fast position poll by skipping DB writes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:14:22 +08:00
dekun
12a30d4f0c
fix: ctp_list_positions pass refresh_margin to fix empty positions
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:09:23 +08:00
dekun
4d60b958ce
fix: 开仓时间读CTP OpenDate,止盈止损持久化且重启不丢失
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:05:58 +08:00
dekun
7daed9bd3a
fix: 重启后立即读库展示持仓,CTP异步重连不再阻塞
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 14:57:39 +08:00
dekun
01de8dfb69
feat: 持仓委托改止盈止损,保证金改读CTP柜台UseMargin
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 14:50:45 +08:00
dekun
63beda3c71
feat: 盈亏比与亏损额度展示,市价FAK报单,修复止盈止损保存失败
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 14:33:05 +08:00
dekun
367f32dd82
fix: 持仓接口实时拉取并回写本地监控,修复有仓不显示
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 14:14:21 +08:00
dekun
040436e9cc
feat: 持仓监控数据库优先显示,修复开仓重复与同步前空白
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 14:06:19 +08:00
dekun
86e61df993
fix: 修正持仓 worker 中 bool 优先级导致 .get 报错。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 13:52:09 +08:00
dekun
bbcc5607ad
feat: 持仓监控后台 SSE 推送与浏览器缓存,刷新不再阻塞读柜台。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 13:49:44 +08:00
dekun
f31164076f
feat: 非交易时段禁开仓、移动保本与交易结果分类。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 13:33:17 +08:00
dekun
598a1407e1
feat: 止盈止损秒级监控市价平仓记交易记录,并加手数超限提醒。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 13:16:19 +08:00
dekun
f05362ea74
fix: 推荐品种下拉改用缓存 main_code,避免加载卡住。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 13:05:26 +08:00
dekun
fc425c0e9f
feat: 品种下拉统一展示推荐列表,与下方品种推荐表一致。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 13:01:20 +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