dekun
9f0a30a040
Add hub usage help page with settings nav toggle.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-11 10:02:07 +08:00
dekun
edfe935fb4
Register instance_stats.js static route so period tabs work on all exchanges.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-10 14:02:24 +08:00
dekun
d092f213a7
Fix hub system logs by resolving PM2 log paths from jlist and glob fallback.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-09 10:38:24 +08:00
dekun
5214794f95
Add hub system logs page with PM2 stdout/stderr tabs for all exchanges.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-09 10:33:14 +08:00
dekun
4abe8a6ca9
Fix instance settings prefs JS 404 on static route.
...
Register instance_settings_prefs.js (and options_panel.js) in install_instance_theme_static; add delegated click handlers for embed lazy tabs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-09 00:07:30 +08:00
dekun
b733e551a0
Normalize fullwidth punctuation to ASCII across codebase.
...
Add scripts/normalize_ambiguous_unicode.py; fix corrupted patch_instance_theme_templates.py. Preserves curly quotes in string literals; removes Git homoglyph warnings on .env.example.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 23:42:26 +08:00
dekun
e3e53ff7f5
Fix roll position display: live contracts, TP profit, and 2-decimal qty precision.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 17:06:33 +08:00
dekun
4a3afdfb48
Fix monitor board crash: avoid shadowing options_open_position_count helper.
...
Rename the imported counter function so aggregate_monitor_board_totals no longer overwrites it with an int accumulator.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 13:09:39 +08:00
dekun
3163912266
Hub funds and dashboard: include OKX options balances in USDT totals.
...
Merge options USDC/USDT at 1:1 into fund overview snapshots, dashboard aggregation, and monitor board totals while keeping a separate options breakdown in the UI.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 13:06:01 +08:00
dekun
6cc3382526
Hub monitor: read-only OKX options positions aggregation (Phase B).
...
Expose /api/hub/options/snapshot from OKX instance and render options summary on hub monitor cards when the options capability is enabled.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 12:55:35 +08:00
dekun
3db84d07e3
feat: instance embed SSE live push and lighter tab revisit
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 11:01:10 +08:00
dekun
d7fa596e68
feat: auto sick tag in archive from journal mood issues
...
内照明心同步时匹配实例复盘情绪标签,自动标注犯病并锁定标签;中控不再手动选犯病。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 01:12:47 +08:00
dekun
f580e4542d
feat: show entry type as category/subtype (反转/启动A)
...
Format持仓与交易记录开仓类型为两级展示;新平仓写入与旧短标签自动展开。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 00:27:53 +08:00
dekun
8e1492e4f0
Fix mark/PnL display fallback and intraday entry labels
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 22:19:42 +08:00
dekun
d4a76f05d2
Fix Gate mark/PnL/TP-SL snapshot and intraday order UI
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 22:04:19 +08:00
dekun
e62a3f3351
feat: market divergence scan tabs (4h/1d/1w) with Top20 MACD confluence colors
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 19:58:30 +08:00
dekun
22b2db34fc
feat: MD-style popup print for strategy doc and checklist
...
Open clean white document in new tab with auto print dialog instead of printing the dark hub page.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 03:28:44 +08:00
dekun
7223b54ec4
feat: add hub strategy docs page with MD and checklists
...
Central /strategy page shows per-exchange strategy markdown and read-only entry checklists; nav toggle in settings, print and HTML export per tab.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 03:12:09 +08:00
dekun
e526d6af76
fix: 注册 order_entry_model.js 静态路由,embed 内联联动逻辑
...
中控 iframe 下 JS 404 导致小分歧/杠杆不更新;boot 脚本内联兜底。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 00:34:26 +08:00
dekun
88fe4bbe56
feat: 复盘四周期手动上传,移除 AI 识别预填
...
固定 5m/15m/1h/4h 四槽截图上传与详情四宫格展示;自动 K 线默认关闭且与手动上传互斥。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-05 21:57:41 +08:00
dekun
eec57610dc
fix: 注册 symbol_live_price.js 静态路由(现价不显示)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-05 00:46:23 +08:00
dekun
9deb58a38a
feat: 监控区 2x2 布局与左上今日统计卡
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 23:10:32 +08:00
dekun
eb975b0133
fix: 交易安全审计修复 — 补偿平仓、中控同步、滚仓/趋势防护
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 22:44:16 +08:00
dekun
9f67de3677
refactor: 移除 gate_bot,统一为三所架构并更新文档
...
删除 crypto_monitor_gate_bot 目录,中控与子代理改为 binance/okx/gate 三账户;
文档与 UI 文案「四所」改为「三所」;新增清库前一次性配置备份脚本。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 22:00:08 +08:00
dekun
be51eee73f
fix: 中控改委托后同步计划价并去重条件单展示
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 21:12:00 +08:00
dekun
54c1984ec7
fix: 中控 iframe 嵌入模板路径改用 REPO_ROOT
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 22:58:56 +08:00
dekun
be7896cc25
fix: OKX 持仓张数优先读 info.pos,滚仓后同步 order_amount
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 22:40:41 +08:00
dekun
bfa3352122
feat: 系统设置增加备份恢复与默认登录 admin
...
支持手动/每日自动备份四所数据库、K线库与 env,上传 zip 一键恢复;中控默认账号 admin/admin123。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:39:46 +08:00
dekun
55261b7812
fix: lib 迁移后中控数据路径指向 manual_trading_hub
...
修复 hub_fund_history 等模块误读 lib/hub/manual_trading_hub 导致资金概况历史曲线丢失的问题。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:28:36 +08:00
dekun
5797d49d8a
refactor: 将共用代码迁入 lib/ 模块化目录
...
统一 strategy、key_monitor、trade、hub 等共用库到 lib/ 子包,并补充 lib-structure 文档,便于四所与中控维护。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:23:09 +08:00