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>
Env OKX_TRADE_MODE selects standalone options, perp hedge, or OO hedge; hide the other module UI and use group or position limits per mode.
Co-authored-by: Cursor <cursoragent@cursor.com>
Selecting 指定币数量 opens an order dialog; pending orders move into a 当前委托 tab after 当前持仓; harden remark autofill that showed dekun.
Co-authored-by: Cursor <cursoragent@cursor.com>
Map plan/leg close_reason codes like target_down_win_leg and expiry to Chinese labels in detail, form, and stats.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the category tabs and search toolbar page-level so they sit above the numbered trade/review/stats sections.
Co-authored-by: Cursor <cursoragent@cursor.com>
Separate trade/review/stats blocks, tuck filters into a toolbar, and hide empty stat groups so the page scans more easily.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add a dedicated lightbox above the review dialog and raise global imgModal z-index so enlargements are no longer hidden behind it.
Co-authored-by: Cursor <cursoragent@cursor.com>
Treat the filter as fuzzy q over underlying/inst/strategy (BTCUSDT->BTC) instead of exact strategy_tag, which always wiped pending rows.
Co-authored-by: Cursor <cursoragent@cursor.com>
Show five pending trades per page, reveal the upload form only after clicking 复盘, and list saved reviews with image detail above stats.
Co-authored-by: Cursor <cursoragent@cursor.com>
Pure options and hedge plans use separate strategy/entry selects, with auto-filled direction and PnL result including breakeven.
Co-authored-by: Cursor <cursoragent@cursor.com>
Hide deleted rows by history key and contract/close fingerprint so local options_trades imports no longer resurrect them.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
Keep the multi-timeframe journal card visible like contract review instead of hiding it until a row is selected.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add source-type tabs, open an inline journal form from list rows, and match contract-style 5m/15m/1h/4h screenshot slots.
Co-authored-by: Cursor <cursoragent@cursor.com>
Import closed OKX option history and closed hedge plans into one list for journaling, images, and stats without mixing contract reviews.
Co-authored-by: Cursor <cursoragent@cursor.com>