Interactive Notebooks
Explore the ZenOTC SDK through interactive Jupyter notebooks. Each notebook provides hands-on examples that you can run directly in Google Colab.
Getting Started
The quickstart notebook covers authentication, market data, portfolio management, and order execution.
Algorithmic Execution (OEA-01)
Execute large orders efficiently with minimal market impact using algorithmic strategies.
| Notebook | Description | Colab |
|---|---|---|
| TWAP | Time-Weighted Average Price execution | |
| VWAP | Volume-Weighted Average Price execution | |
| Iceberg | Hidden liquidity with visible slice orders | |
| Conditional | Trigger-based order execution | |
| Algo Monitoring | Algorithm performance monitoring |
Market Making (MMA-01)
Automate two-way quoting with intelligent spread management and inventory controls.
| Notebook | Description | Colab |
|---|---|---|
| Quickstart | Basic market making strategy setup | |
| Spread Strategies | Dynamic spread calculation methods | |
| Inventory Management | Position limits and skew adjustments | |
| Risk Management | Loss limits and circuit breakers | |
| Auto Hedging | Automatic position hedging strategies | |
| Monitoring | Strategy performance dashboards |
Execution Monitoring (EM-01)
Track and analyze execution performance with real-time metrics and historical analytics.
| Notebook | Description | Colab |
|---|---|---|
| Execution Monitoring | Performance metrics, latency analysis, fill rates |
Versioning & Deprecation (SV-01)
Manage SDK versions, track deprecations, and ensure compatibility.
| Notebook | Description | Colab |
|---|---|---|
| Versioning | Version management and deprecation tracking |
Prerequisites
Before running any notebook, you'll need your API credentials. Configure them in the first cell:
from zenotc import ZenOTCClient
client = ZenOTCClient(
api_key="your_api_key",
api_secret="your_api_secret",
environment="sandbox" # Use sandbox for testing
)
Get your API keys from the ZenOTC Dashboard.