dekun
f8ff97f93d
Add collapsible rule descriptions to trade, strategy, and key pages.
...
Shared module-rules styling; key monitor rules collapsed by default like other modules.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 07:46:58 +08:00
dekun
4d2463c9a9
Show Tonghuashun symbol meta inline after the variety label.
...
Move symbol-selected into the label row across all symbol pickers without shifting the input field.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 07:34:05 +08:00
dekun
bfb1b95471
Improve key monitor form with bar period, box direction, and labeled fields.
...
Match order-monitor layout; persist bar_period and enforce upper-direction filter for box breakouts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 07:24:36 +08:00
dekun
840e88daad
Add key-level auto trade, AI analysis, and trading UX improvements.
...
Key monitors use 5m close triggers with WeChat alerts and box/convergence auto orders; add pending-order worker, structured WeChat notify, AI settings/messages, session clock, CTP margin sizing, and dual-layer position limits.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 10:36:56 +08:00
dekun
e18d5feb72
Apply 200k scope when CTP offline; trailing breakeven order UX.
...
When SimNow or live CTP is disconnected, default to the four-product whitelist regardless of reference capital. Trailing breakeven defaults off; when enabled hide take-profit and risk-reward, monitor exits via trailing stop only. Document both behaviors in TRADING.md and FEATURES.md.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-27 23:57:11 +08:00
dekun
7f8b4cfefd
Label night-session products and hide day-only symbols at night.
...
Mark tradable varieties with a night tag; during 21:00-02:30 filter out index futures and other products without night sessions from symbol picker and recommend list.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 22:27:47 +08:00
dekun
c79bb2ea4b
Speed up top nav with turbo routing and external base CSS.
...
Remove view-transition lag, swap main content without full reload, prefetch pages, and tear down SSE timers on leave.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 20:47:22 +08:00
dekun
ddfe2a52aa
Merge orders and positions into one card and hide stale pending when CTP is off.
...
Stop showing DB pending orders while disconnected, invalidate session cache when CTP is down, and add a local DB clear script without embedded credentials.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 19:27:02 +08:00
dekun
3a150dd3d6
Implement CTP-authoritative trading UI with event-driven state.
...
Add in-memory order/position books fed by CTP events, split active orders above positions in the UI, tick-triggered local SL/TP, and 30-second full calibration.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 18:12:11 +08:00
dekun
7a4a3f08e5
Fix slow CTP position sync after restart and link positions to 15m K-line.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 11:05:13 +08:00
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
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
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
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
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
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
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
de74ffe5b9
fix: 持仓卡片布局优化、闭盘禁用平仓、固定金额step修复
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 15:41:35 +08:00
dekun
63beda3c71
feat: 盈亏比与亏损额度展示,市价FAK报单,修复止盈止损保存失败
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 14:33:05 +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
73b9dfdfdb
feat: 持仓保证金占比与止盈止损自动委托守护
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 14:20:15 +08:00
dekun
23d0f1d6fa
fix: 清理幽灵止盈止损监控并修正仓位上限冻结误触发
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 14:09:42 +08:00
dekun
3ba3be6035
ui: 持仓监控卡片与关键位同宽,完善多端与 PWA
...
改用 split-grid 全宽布局;手机/平板/电脑断点适配;更新 manifest 与 Service Worker 支持安装为 App。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 12:50:58 +08:00
dekun
67683f5562
ui: 顶栏透明、设置两列、下单与持仓监控优化
...
导航栏与页面背景一致;系统设置双列布局;下单三行表单与开仓状态反馈;持仓卡片增加平仓与止盈止损挂单展示。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 12:46:23 +08:00
dekun
b4250171d5
feat: CTP 断线重连、下单卡片优化、手数自动计算
...
后台每 30s 检测并重连;以损定仓填止损后自动算手数;开仓/平仓按钮并排对齐。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 11:56:20 +08:00
dekun
62cd868f79
完善下单表单与 CTP 持仓,requirements 加入 vnpy 并更新部署文档
...
以损定仓/固定张数分栏下单、限价市价、持仓仅读柜台;DEPLOY 补充 SimNow 与 vnpy 安装说明。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:52:25 +08:00
dekun
709801305f
恢复下单界面并排布局,品种推荐数据库缓存与 SSE 推送。
...
期货下单与持仓监控左右并排,推荐按资金过滤存库,后台刷新并通过 EventSource 推送。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:41:26 +08:00
dekun
87aef80594
持仓监控页整合期货下单、持仓与品种推荐三卡片。
...
程序报单状态与推荐表内嵌同一页面,/recommend 跳转至 #recommend。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:24:41 +08:00
dekun
7b8a660309
合并期货下单与持仓监控为统一界面,移除手工录入。
...
策略与 CTP 自动同步持仓,新增 /api/trading/live 聚合展示与平仓接口。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:18:00 +08:00
dekun
6e423eebfb
接入 SimNow 模拟盘与期货下单、策略及品种推荐功能。
...
新增 vnpy CTP 桥接、以损定仓/固定张数、趋势回调与滚仓策略、按资金推荐品种及交易风控;模拟盘走 SimNow,实盘预留期货公司配置。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:04:37 +08:00
dekun
28875078f1
三端自适应布局与 PWA 可安装支持
...
新增响应式样式、手机侧滑导航、manifest 与 Service Worker;补充根路径重定向与安装 App 入口。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 16:58:13 +08:00
dekun
2b383b84ce
移除卡片四角装饰,主题切换改为深色/浅色分段按钮
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 16:15:35 +08:00
dekun
a12da042cc
整体界面科技感增强:动态背景、霓虹导航与卡片光效
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 16:07:55 +08:00