Enable options by default and allow full sim trading without OKX API keys.
Relax hedge start gates in sim, route perp open/close through sim broker, and mount strategy templates for records pages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -64,6 +64,8 @@ def main() -> int:
|
||||
updates["OKX_OPTIONS_MARGIN_MODE"] = "coin"
|
||||
if not (env_get(lines, "EXCHANGE_DISPLAY_NAME") or "").strip():
|
||||
updates["EXCHANGE_DISPLAY_NAME"] = "CoinOX"
|
||||
if not (env_get(lines, "OKX_OPTIONS_ENABLED") or "").strip():
|
||||
updates["OKX_OPTIONS_ENABLED"] = "true"
|
||||
live = (env_get(lines, "LIVE_TRADING_ENABLED") or "").strip().lower()
|
||||
if live in ("",):
|
||||
updates["LIVE_TRADING_ENABLED"] = "false"
|
||||
|
||||
Reference in New Issue
Block a user