Support LIVE exchange funds and perp margin mode.
Hide sim equity when LIVE is selected; OKX funds bar uses exchange balances; add cross/isolated for perp only (options stay cash). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -228,6 +228,7 @@ class Database:
|
||||
"skip_weekends": str(s.skip_weekends),
|
||||
"max_rounds": str(s.max_rounds),
|
||||
"leverage": str(s.leverage),
|
||||
"perp_margin_mode": str(s.perp_margin_mode),
|
||||
"min_option_hours": str(s.min_option_hours),
|
||||
"min_option_leverage": str(s.min_option_leverage),
|
||||
"atm_open_offset_enabled": str(s.atm_open_offset_enabled),
|
||||
|
||||
Reference in New Issue
Block a user