Add Binance SIM market adapter and exchange switch in settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -154,7 +154,7 @@ class StrategyEngine:
|
||||
ymd = upl.get("expiry_ymd")
|
||||
if ymd:
|
||||
try:
|
||||
from ..exchange.okx.parse import expiry_ms_from_ymd
|
||||
from ..exchange.expiry import expiry_ms_from_ymd
|
||||
|
||||
return int(expiry_ms_from_ymd(str(ymd)))
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user