dekun
60ff45f098
Fix hedge option PnL match by parsing opened_at as Asia/Shanghai.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 10:21:52 +08:00
dekun
6876515160
Align options review PnL with OKX positions-history realizedPnl.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 10:05:27 +08:00
dekun
f0d5b47f50
Fix options add-on premium to sum all open legs for the contract.
...
Display, close gate, alerts, and full-close accounting no longer use only the latest fill row.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 11:11:32 +08:00
dekun
cbb7f954f5
Auto-cancel stale option close limits after pending TTL.
...
Default 10m via OKX_OPTIONS_PENDING_TTL_SECONDS; show age/countdown in pending panel; monitor loop cancels sell closes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 22:06:24 +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
5a97e14f3e
Fix false options close sync, restore bar layout, and show open premium in history.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-09 17:51:07 +08:00
dekun
f41af0bf1c
Improve OKX options sizing, expiry sync, and multi-position accordion UI.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-09 16:51:48 +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
806bb074ab
feat: add OKX options module with dual API, USDT/USDC convert, and docs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 08:17:27 +08:00