Backups land under /root/eth_hedge_backups; restore accepts zip body for new-server migration and restarts the process.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prevent duplicate opens by atomically claiming an opening slot, verifying exchange perp is flat before live orders, setting leverage from ledger, and preferring exchange position size when closing perps.
Co-authored-by: Cursor <cursoragent@cursor.com>
Enable settings UI for mode/keys, gate strategy start when LIVE is not ready, and stop PM2 from forcing MODE=SIM.
Co-authored-by: Cursor <cursoragent@cursor.com>
Startup ignored DB exchange choice and kept OKX ATM ids under a Binance health label, so option bid/ask stayed empty.
Co-authored-by: Cursor <cursoragent@cursor.com>