dekun
8605efa2ed
翻倍出场监控中按钮改为取消;中控目标监控列显示倍数如1倍。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-12 10:37:31 +08:00
dekun
0b8e5a0914
Fix hub funds overview double-counting OKX USDT with options.
...
Only add options USDC/USDG onto perpetual USDT totals, repair historical double-counted snapshots, and label the options line as USDC.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-07 10:30:34 +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
644dcdf092
Rename points-mode label to absolute coin counts.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 22:57:50 +08:00
dekun
d89aff3ad6
Use absolute coin counts in perp-options points mode.
...
Treat 2:4 as 2 perp + 4 option coins instead of normalizing to 1:2, and disable embed page caching so hub iframe picks up trade UI updates.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 22:54:16 +08:00
dekun
9f3395de2f
Add sideways max-loss to perpetual-options calculator.
...
Show premium wipeout plus flat round-trip perp fees as case C for both size and points modes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 22:38:20 +08:00
dekun
26bc19f047
Add two-day amplitude window to amp-stats.
...
For each settlement day, also compute H-L over start minus one day through 16:00 (e.g. 25 16:00 to 27 16:00).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 15:05:38 +08:00
dekun
c81ba147cc
Replace amp-stats straddle/perp overlays with move-points amplitude ratio.
...
Input points now drives amplitude hit share; table keeps both-side moves and amp达标.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 14:56:48 +08:00
dekun
90be23e845
Fix amp-stats perp PnL to exit at daily profit target.
...
Hit A/B via open-to-high/low; day PnL equals target when touched, otherwise settle at close.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 14:41:29 +08:00
dekun
2ce67da8e8
Use daily open as perp-hedge entry and toggle buy-straddle vs perp overlays.
...
Amp-stats now prices premium from each day's open, and the form switches mutually between straddle and perpetual-options对照.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 14:31:17 +08:00
dekun
d049c5d317
Add perpetual-options hedge overlay to amp-stats with hit rates and daily PnL.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 14:20:42 +08:00
dekun
c73e36309e
Show perpetual-options calculator results with two decimal places.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 12:59:38 +08:00
dekun
21c80f2ac9
Clarify perp-options points mode: scenario B focuses on portfolio net target.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 12:57:09 +08:00
dekun
a908dccaba
Add ratio-to-move-points mode for hub perpetual-options calculator.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 12:47:17 +08:00
dekun
4bcf88b5cb
Add hub perpetual-options hedge calculator tab and sizing formula.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 12:37:51 +08:00
dekun
54f1857fa2
Sync OKX options closed trades into hub archive with a separate tab.
...
Mirror perpetual archive flow into archive_options_trade_cache for offline calendar and review.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 00:39:59 +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
29d59d6a53
Add playbook v2 without hedge as the primary strategy guide.
...
Wire hub strategy tabs and coach brief to 1H→space→structure→risk/reward→options/perp only.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 00:09:40 +08:00
dekun
9e0591c676
Increase strategy compare card padding so content is not flush.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:59:37 +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
910c938d0a
Throttle OKX amp-stats candle pagination and retry on 429.
...
Add page pauses, exponential backoff, and cooldown before swap fallback to avoid rate limits.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:57:24 +08:00
dekun
0a9e3aa95c
Fix amp-stats long-range candles via OKX history endpoints.
...
Recent candles cap near 60d; continue with history-index/history candles and color profit green/red.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:53:36 +08:00
dekun
b64c742fc9
Add weekend filter, take-profit, and profit column to amp stats.
...
Long-straddle effective move uses TP on path hit (>=) else abs change; mark Sat/Sun on settlement days.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:47:20 +08:00
dekun
789ab43dbe
Add long-straddle premium overlay to hub amp stats.
...
Configurable bilateral premium with exceed counts/ratios and settlement PnL for buying volatility.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:33: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
eb0eddbc9d
Tighten mobile monitor stats to two lines and hide ops fold.
...
Desktop refresh/emergency-close and expanded stats layout stay unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 22:17:14 +08:00
dekun
e7f8e9201e
Show trading playbook in hub strategy docs.
...
Add an 执行手册 tab that renders docs/交易执行手册-期权与Gate.md as the default strategy view.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:16:54 +08:00
dekun
6def61fae3
Fix option day splits to daily Beijing 16:00 lines.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 16:18:46 +08:00
dekun
10ee7614b5
Hub market: add option expiry Friday yellow dashed splits.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 16:16:38 +08:00
dekun
221e8c3cad
Desktop calculator: stretch left/right cards to equal height.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:56:59 +08:00
dekun
29c080f8e0
Desktop calculator: top tabs with input/result dual cards.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:54:13 +08:00
dekun
7a01535802
Enlarge dashboard KPI summary bar for readability.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:48:38 +08:00
dekun
f467f94fe9
Replace dashboard perp profit column with stop-loss and take-profit.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:47:16 +08:00
dekun
913c7d5be6
Show hedge plan id in options type column; drop group box UI.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:43:51 +08:00
dekun
0f5fe801e2
Fix dashboard TP profit display; add options ROI column.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:41:32 +08:00
dekun
977d62bddf
Group hedge option legs on dashboard; show long/short direction colors.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:38:11 +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
eb2afb3c55
Restore position type badges; hide empty perp/options sections.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:30:05 +08:00
dekun
ee3c1bcdca
Unify hub dashboard positions into one card with exchange links.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 12:27:19 +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
899a2de931
Show options position source (纯期权/永期/期期) on holdings cards.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:45:17 +08:00
dekun
9e1343981d
Give strategy doc body more inner padding from card edges.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-18 17:44:28 +08:00
dekun
2f7e6355a1
Add section badges to strategy TOC/headings and fill cards to viewport height.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-18 17:41:04 +08:00
dekun
023bf6a814
Simplify strategy TOC to h2-only one level.
...
Drop nested h3 entries from the sidebar directory so the outline stays flat and easier to scan.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-18 17:37:39 +08:00
dekun
9198aa0dcd
Fix strategy checklist hidden class so tabs do not stack.
...
Generic .hidden was missing display:none, so 执行清单 stayed visible beside 策略正文.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-18 17:32:04 +08:00
dekun
82c910fbf8
Add blog-style TOC to strategy doc; checklist as separate tab.
...
Strategy page uses 策略正文 (MD + sticky h2/h3 TOC) and 执行清单 tabs so full playbook detail stays readable with jump navigation.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-18 17:29:18 +08:00