Use this file to discover all available pages before exploring further.
The Strategy Lifecycle Controller lets an LLM deploy, monitor, scale, and retire strategies without human intervention — the core requirement for autonomous operation.
# Check status of a specific strategystatus = fund.controller.status("political_mm")print(f"State: {status.state.value}")print(f"P&L: ${status.pnl:,.2f}")print(f"Open orders: {status.open_orders}")print(f"Uptime: {status.uptime_secs:.0f}s")# List all strategiesfor s in fund.controller.all_statuses(): print(f" {s.name}: {s.state.value} pnl={s.pnl:.2f}")# Pause (cancels orders, keeps engine alive)fund.pause_strategy("political_mm")# Resumefund.resume_strategy("political_mm")# Scale capital allocationfund.scale_strategy("political_mm", new_capital=25_000)# Retire permanentlyfund.remove_strategy("political_mm")
Each strategy gets its own Engine instance running in a daemon thread.
# Get all enginesengines = fund.controller.engines# {"political_mm": <Engine>, "crypto_arb": <Engine>}# Direct engine access for debuggingengine = engines["political_mm"]print(engine.status())print(engine.positions())