dekun
52aca456e9
Add PostgreSQL production backend to eliminate SQLite lock contention.
...
Support DATABASE_URL with connection pooling, pg_dump backups, SQLite migration script, and deploy_postgres.sh with docs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-01 08:11:42 +08:00
dekun
d8c6428eb5
Enhance dashboard with exchange labels, split SL/TP columns, and daily risk limits.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 22:04:44 +08:00
dekun
5a6c89c662
feat: CTP/SimNow 配置迁入系统设置,登录失败即时报错
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 16:46:01 +08:00
dekun
ca894dfd4d
deploy: 一键部署内置 locale/时区/SimNow 前置探测与 CTP 验证
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 11:59:02 +08:00
dekun
b4250171d5
feat: CTP 断线重连、下单卡片优化、手数自动计算
...
后台每 30s 检测并重连;以损定仓填止损后自动算手数;开仓/平仓按钮并排对齐。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 11:56:20 +08:00
dekun
28d6ae52b2
fix: CTP 连接捕获 SimNow 真实报错并增加诊断脚本
...
显式设置柜台环境=实盘;连接失败时解析 4097/登录拒单;scripts/test_simnow.py 供服务器排查。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 11:20:30 +08:00
dekun
6e423eebfb
接入 SimNow 模拟盘与期货下单、策略及品种推荐功能。
...
新增 vnpy CTP 桥接、以损定仓/固定张数、趋势回调与滚仓策略、按资金推荐品种及交易风控;模拟盘走 SimNow,实盘预留期货公司配置。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 10:04:37 +08:00
dekun
471166bec3
支持从.env同步管理员密码;新增reset_admin.py
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 11:29:12 +08:00
dekun
d244caddad
补全 .env.example 中的密码与基础配置项
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 11:25:02 +08:00
dekun
314d3206c0
默认新浪行情,普通用户无需同花顺token
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 11:16:51 +08:00
dekun
fb61153a4d
部署改回/opt;接入同花顺iFinD HTTP行情,新浪作回退
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 11:14:10 +08:00
dekun
ae480cb3e7
重构期货监控系统:多页面导航、开单计划、Ubuntu PM2 部署
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 11:04:11 +08:00