dekun
19debee581
Add repository copyright notice for 马建军.
2026-07-27 11:27:11 +08:00
dekun
4ef3b40353
Document snapshot/20260726-2 after playbook XMind binary fixes.
2026-07-26 10:43:53 +08:00
dekun
4a79e010c4
Strip XMind thumbnail so Gitea raw download does not corrupt CRLF in PNG.
2026-07-26 10:36:44 +08:00
dekun
791cc750da
Treat XMind files as binary so Git LF conversion does not corrupt them.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:30:57 +08:00
dekun
c8231ea194
Save manually polished business-style playbook XMind.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:27:35 +08:00
dekun
aaccdcfc16
Replace harsh red XMind markers with calmer business info/flag icons.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:12:03 +08:00
dekun
f993a89a21
Clean central topic on playbook XMind: remove cluttered root markers.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:10:03 +08:00
dekun
9dc363270e
Restyle playbook XMind with business theme, markers, and labels.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:08:07 +08:00
dekun
9a83dfe209
Add rightward XMind mind map for playbook v2 and behavior rules.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:03:24 +08:00
dekun
32c42b8447
Document snapshot/20260726 after transfer and options budget-full fixes.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 08:58:56 +08:00
dekun
eb175820e9
Document snapshot/20260724 after playbook v2 and options archive work.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 00:59:22 +08:00
dekun
ca499c6104
Send WeChat alerts on OKX options open and close.
...
Cover manual, target, and exchange/expiry sync with idempotent sent flags.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-24 00:48:15 +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
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
58a4dafe9a
Document snapshot/20260723-2 after strategy compare work.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:20: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
8a9dee267f
Add open-trade three-check behavior guidelines.
...
Document signal/process/emotion firewall, expose it in hub strategy tabs, and brief the AI coach.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 09:15:47 +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
40be3a5ab7
Fix snapshot tag commit hash in docs table.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:01:22 +08:00
dekun
4ccfb838f6
Record pre-amp-stats snapshot and freeze amp-stats plan.
...
Tag baseline before hub-only amplitude statistics feature work.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 02:01:21 +08:00
dekun
c5f40cba2b
Align snapshot/20260721-2 hash with tag target.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:24:02 +08:00
dekun
a7216428ab
Fix snapshot tag commit hash in docs table.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:22:29 +08:00
dekun
77f66bf200
Fill snapshot/20260721-2 commit hash placeholder.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:22:29 +08:00
dekun
488b931959
Fix snapshot tag commit hash in docs table.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:22:05 +08:00
dekun
b89cba3b6e
Record evening git snapshot snapshot/20260721-2.
...
Document playbook hub tab, daily loss freeze, and trading handbook state on main.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:22:04 +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
301a464f29
Add daily loss-count freeze for account risk cooldown.
...
RISK_DAILY_LOSS_LIMIT (default 2, 0 disables) freezes new opens after N losing closes in the trading day.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:13:38 +08:00
dekun
a4be294c06
Add personal options-and-Gate trading playbook doc.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:04:46 +08:00
dekun
1a163c0a43
Fix snapshot tag commit hash in docs table.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 10:52:59 +08:00
dekun
2a60d47b2d
Document git snapshot tags including snapshot/20260721.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 10:52:35 +08:00
dekun
64b24fd6a6
Add repository code statistics snapshot doc.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 10:48:10 +08:00
dekun
426afb8dbe
Make options review detail a modal and fix screenshot display.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 16:11:45 +08:00
dekun
38ac258497
Color 期期 preview PnL and show RR vs full premium loss.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 15:43:01 +08:00
dekun
7938628485
Fix 期期 sheets bias: split total 2n from same-sheets, not n.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 15:33:00 +08:00
dekun
e3cd2a75de
Replace 期期 equal-split with long/short bias sizing and env ratio controls.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 15:25:10 +08:00
dekun
0ed2eabf0d
Expand system guide with live trade, strategy, and key monitor chapters.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 09:29:56 +08:00
dekun
5e0ce43415
Add instance system guide nav (default off) with overview/options/hedge manual.
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 09:23:30 +08:00
dekun
3119486105
Add 期期 close mode (全平/到期平) with scheme-C env toggle.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:06:27 +08:00
dekun
b3548240cc
Auto-fill 期期 sheets from trading balance with same-sheets default.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 00:56:35 +08:00
dekun
f21e4d1166
Add env toggles to show/hide perp and options hedge plan tabs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 00:43:04 +08:00
dekun
041692a763
Retry pip installs during deploy to tolerate flaky mirrors.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 16:02:51 +08:00
dekun
572239f69c
Fix pip --progress-bar for pip 26+ so instance deploy can install deps.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 15:47:33 +08:00
dekun
0f12e0a8ea
Add single-exchange instance-only deploy menu options.
...
Manage menu 4/5/6 install OKX/Binance/Gate Flask only without hub or agents; reuse setup_env --only and narrowed PM2 verify.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 15:40:25 +08:00
dekun
2269bc51ff
Deduct round-trip taker fees from estimated perp PnL.
...
Unify hub/instance TP profit, calc_pnl, and push/accounting to net of 0.05% per side; leave exchange floating PnL unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 15:12:52 +08:00
dekun
c7aae67881
Add instance data dashboard (default off).
...
Read-only overview of live orders, key monitors, and strategy; show options/hedge only when present. Toggle via system settings nav prefs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 12:09:29 +08:00
dekun
48afc8ebe3
Load options review from local records with compact journal UI.
...
Drop exchange sync for the review page, auto-import closed local options and hedge plans, and match contract-style multi-timeframe upload styling with smaller fonts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 09:54:35 +08:00