Add Binance SIM market adapter and exchange switch in settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -154,6 +154,7 @@ class Database:
|
||||
"net_profit_target": str(s.net_profit_target),
|
||||
"premium_exit_multiple": str(s.premium_exit_multiple),
|
||||
"rest_seconds": str(s.rest_seconds),
|
||||
"skip_weekends": str(s.skip_weekends),
|
||||
"max_rounds": str(s.max_rounds),
|
||||
"leverage": str(s.leverage),
|
||||
"min_option_hours": str(s.min_option_hours),
|
||||
@@ -161,6 +162,11 @@ class Database:
|
||||
"close_bid_mark_max_pct": str(s.close_bid_mark_max_pct),
|
||||
"perp_qty_eth": str(s.perp_qty_eth),
|
||||
"option_qty_eth": str(s.option_qty_eth),
|
||||
"exchange": str(s.exchange),
|
||||
"perp_inst_id": str(s.perp_inst_id),
|
||||
"option_inst_family": str(s.option_inst_family),
|
||||
"index_inst_id": str(s.index_inst_id),
|
||||
"option_ct_mult_default": str(s.option_ct_mult_default),
|
||||
}
|
||||
for k, v in defaults.items():
|
||||
exists = self._conn.execute(
|
||||
|
||||
Reference in New Issue
Block a user