📄️ Getting Started
The MesoLive Python SDK (mesolive-sdk, import package: mesolive_sdk) provides an async Python-first interface for options trade automation.
📄️ Core Concepts
This section defines the key concepts you’ll see throughout the SDK and hub APIs, with special focus on automation concerns:
📄️ Control Hub
Control Hub uses /hubs/control/v2. Prepared order and paper-fill workflows now identify legs with ExecPlanLegId, not display leg names. See Migrating to 2.0.
📄️ Data Hub
Use MesoLiveDataHubClient for live quotes/greeks/PnL snapshots and server-streaming updates.
📄️ Risk Graph Hub
Use MesoLiveRiskGraphHubClient for position, strategy, underlying, and ad hoc combo Risk Graph snapshots and streams.
📄️ Historical Data Hub
Use MesoLiveHistoricalDataHubClient for persisted account NAV and PnL/greek/price/IV time series.
🗃️ Workflows
5 items
📄️ Event Hub
Use MesoLiveEventHubClient to receive real-time server→client callbacks (signals, order/position updates, job completion)
📄️ Migrating to 2.0
mesolive-sdk 2.0 updates the Python SDK to the current MesoLive SignalR API surface. It is a breaking release for Control Hub order and paper-fill workflows because prepared execution now uses stable execution-plan leg ids instead of display leg names.
📄️ Troubleshooting
This page lists common issues when integrating with the MesoLive Python SDK and the underlying SignalR hubs.
📄️ API Reference
This page maps Python SDK methods to the underlying SignalR hub methods and payload models.