dekun
1ddfe3f72e
中控期权浮盈只显示U;总浮盈亏按指数把币本位浮盈计入USDT
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 18:13:39 +08:00
dekun
f5c553844f
币本位盈亏双显ETH/U(按指数换算);平仓卖币改为卖光交易户可用余额
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 17:45:32 +08:00
dekun
b763937ec2
币本位实时盈亏/期权浮盈按ETH展示,避免两位小数抹成0.00U
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 16:31:02 +08:00
dekun
15694e8ea8
隐藏粉尘级ETH/BTC余额,避免顶栏显示0币
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 13:19:35 +08:00
dekun
f3de3763bb
修复币本位报价误走USDC,中控补资金账户并隐藏零币余额
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 13:08:28 +08:00
dekun
73efad6fa5
币本位顶栏去掉期权资金/交易列,交易账户显示USDT/ETH/BTC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 12:58:43 +08:00
dekun
a84554e613
币本位顶栏资金显示USDT+ETH,单笔期权本位改为下拉选择
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 12:38:39 +08:00
dekun
72c84bb993
实现OKX单笔期权币本位与USDT桥复利(中控只读,不改Gate)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 12:10:29 +08:00
dekun
8605efa2ed
翻倍出场监控中按钮改为取消;中控目标监控列显示倍数如1倍。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-12 10:37:31 +08:00
dekun
c5d3d9d6c1
期期出场改盈亏比:达目标平盈利腿,亏损腿残值20%或到期平
...
将上/下破目标价替换为盈亏比(盈利金额/初始权利金,默认2);残值平需买一流动性且权利金≤初始20%。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-11 16:44:45 +08:00
dekun
4bc238b014
Fix hub options float summary blank when bid book is invalid.
...
Stop treating total_received=0 as a real bid recycle, fall back to exchange upl for display totals, and keep row/summary aligned.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-07 09:47:14 +08:00
dekun
55e94fe059
Restore Gate intraday close/TP-SL controls and document force-close rules.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 08:16:02 +08:00
dekun
6f1ae14b3d
Add display toggles to hide monitor cards and strategy tabs.
...
Keep unused exchanges/docs out of the UI without disabling accounts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 00:24:00 +08:00
dekun
ed3033d793
Add hub strategy compare page for perp vs options vs 7:3 hedge.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:39:59 +08:00
dekun
b6156e0049
Apply account-PnL display pref to dashboard KPI and position tables.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 12:44:36 +08:00
dekun
8e3c00641f
Hide options PnL/ROI and daily float when account-PnL pref is off.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 12:39:43 +08:00
dekun
f11f89e760
Show options funding, trading, and float PnL in monitor account stats.
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 12:34:23 +08:00
dekun
61e8da1e8b
Add hub-only OKX amp stats for ETH/BTC session windows.
...
Read-only 1H index candles, point amplitude metrics, history save and CSV export; no order-path changes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:06:21 +08:00
dekun
3ed8dabc76
Align dashboard PnL columns with monitor; add back-to-dashboard button.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:34:09 +08:00
dekun
4a3e6a2a1d
Add global autofill guard for hub, env, and transfer inputs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 10:18:56 +08:00
dekun
b7f3a5c289
Add top-nav Quotes blog feed page.
...
Surface recent review quotes grouped by trading day with expand, day PnL summary, and AI review jump.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 13:54:24 +08:00
dekun
06ffb6ee0f
Keep page scrollbars at the window right edge across hub pages.
...
Move funds scrolling to body, keep monitor/market on a full-width shell, and stretch other desktop shells so page scroll is never inset.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 11:27:29 +08:00
dekun
eb5c6a658b
Show hedge targets in control center
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 07:29:45 +08:00
dekun
4e86595f2a
Collapse daily stats by default.
...
Show only total floating PnL until expanded; enlarge details and lower exchange headers.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 14:31:00 +08:00
dekun
35b23836e3
Restore strategy chips and 1080p side margins.
...
Stick expand hint to card bottom; drop mistaken key-monitor slot; keep ultrawide content width.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 14:11:29 +08:00
dekun
0540b585c7
Refine monitor 2x2 slots and drop tablet CSS.
...
Add options target column, reserve pos/monitor rows, equal columns, and remove hub-tablet densify path.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 14:03:59 +08:00
dekun
018b4d5601
Split OKX monitor into perp and options cards.
...
Align four exchange cards in a 2x2 grid so 1080p layout stays balanced.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 13:47:21 +08:00
dekun
480f6d78e8
Fix desktop blur from false tablet layout.
...
Stop classifying short desktop viewports as tablets so densify fonts do not apply.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 13:35:41 +08:00
dekun
2777419a10
Add tablet viewport fit for hub one-screen layout.
...
Hi-DPI tablets like 2560x1600 map to ~1280x800 CSS; broaden fit breakpoints and densify for hub-tablet.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 13:09:29 +08:00
dekun
836b37cc7e
Fit hub monitor, market, and funds to one 1080p screen.
...
Constrain desktop shell to 100dvh with flex fill so OKX perp+option plus peer cards, chart, and equity overview avoid page scroll.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 13:01:17 +08:00
dekun
8838f1f221
Phone hub folds: emergency ops, market toolbar, calc tabs, OKX options.
...
Collapse bulky monitor/market controls by default on phone, show OKX options on tiles, add calculator tab switch, and request landscape on market fullscreen.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 22:56:02 +08:00
dekun
f16dcac202
Tighten phone hub layout: single-column monitor and chart-first market.
...
Hide duplicate page titles on phone, compact toolbars, and denser calculator forms without changing desktop/tablet shells.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 22:47:09 +08:00
dekun
bfb5e22be9
Add phone-only hub shell with four bottom tabs.
...
Keep desktop/tablet top nav unchanged; at max-width 720px use monitor/market/calculator/AI plus a More sheet for secondary pages.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 22:40:50 +08:00
dekun
e15eca76f3
Show option net P/L from bid recycle minus premium.
...
Rename floating P/L to net P/L, align ROI, and display bid depth as price/liquidity for only the levels needed to close.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 20:54:15 +08:00
dekun
d6823a2903
Add options index target monitors that auto limit-close on hit.
...
Position and order forms can arm a target; right-side and hub panels show active monitors; expiry remains the stop with no separate SL.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 15:27:46 +08:00
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
843d87422d
Show hub fullscreen options positions as cards matching instance data.
...
Enrich hub options snapshot with close preview and render read-only option position cards in exchange fullscreen view.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-11 09:40:35 +08:00
dekun
02472f19cb
Fix breakeven badge still showing after roll lowers stop loss.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-10 16:52:29 +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
23ba725c89
Fix intraday profit amount and hide TP/SL cancel for day trades.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-09 09:55:09 +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
aaa72c7961
Fix hub AI save: background PM2 restart after JSON response.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 23:06:31 +08:00
dekun
823aeda42a
Add hub AI config tab with sync to instances and deploy secret bootstrap.
...
Wire bootstrap_deploy_secrets into setup_env.sh (one-time HUB_BRIDGE_TOKEN, FLASK_SECRET_KEY, HUB_SESSION_SECRET). Remove AI section from instance env UI; hub saves OPENAI settings to all four .env files. SSO unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 22:50:58 +08:00
dekun
886f7740f2
Remove redundant reload toolbar from hub settings page.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 22:17:06 +08:00
dekun
79962d2cf3
Remove redundant Save All button from hub settings page.
...
Each settings tab already has its own save action; keep reload only.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 22:07:41 +08:00
dekun
88f7f0cfca
Add hub settings tabs and account password change UI.
...
Restructure manual-trading-hub settings with CSS tabs matching instance layout; add password API writing HUB_USERNAME/HUB_PASSWORD to hub .env.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 22:01:26 +08:00
dekun
279648de56
Add hub TP profit field, 2-decimal options PnL, and exchange mark price display.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 17:22:26 +08:00
dekun
189b27e076
Add live expiry countdown for options positions on instance page and trading hub.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 11:14:30 +08:00
dekun
3570a6900e
Add OKX options expiry and close breakeven to hub monitor and dashboard.
...
Expose bePx-based expiry balance and mark-to-close breakeven on positions so monitor and dashboard can show both labels per contract.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 16:10:03 +08:00
dekun
dda022d3c3
Hub monitor: OKX left column with dual inner cards when options enabled.
...
Use a stats bar plus left OKX / right Binance+Gate split layout with equal-height inner perpetual and options cards and no in-card scrolling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 13:33:13 +08:00