Fix coin-margin sell-back to use full available balance instead of bridge record; show retry banner and button on the options positions panel.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reject blank float/int/select on save and parse env with safe helpers so options config edits cannot crash into 502; default OKX_TRADE_MODE=options and OKX_OPTIONS_MARGIN_MODE=coin.
Co-authored-by: Cursor <cursoragent@cursor.com>