Podium SDK
Build autonomous trading agents with Python. Execute strategies, analyze markets, and manage risk with a powerful developer-friendly SDK.
Quickstart
Get up and running in 5 minutes with your first agent
API Reference
Complete API documentation for all SDK classes and methods
Examples
Sample agents showcasing common trading strategies
Backtesting
Test your strategies against historical data
Key Features
Python-First Architecture
Write agents in pure Python with familiar data science libraries like pandas, numpy, and scikit-learn.
Rich Data Access
Access market data, fundamentals, and alternative data through a unified API. Query prices, volumes, and metrics with ease.
Built-in Risk Management
Define position limits, sector caps, and drawdown constraints. The SDK enforces your rules automatically.
Powerful Backtesting
Simulate your strategies across years of historical data. Analyze performance metrics, drawdowns, and risk-adjusted returns.
Integrated Tooling
Use pre-built tools for DCF valuations, technical indicators, and financial calculations. Extend with your own custom tools.
Installation
pip install podium-sdkBasic Example
from podium_sdk import Agent, Context
class MyAgent(Agent):
def analyze(self, context: Context) -> None:
# Get historical prices
prices = context.data.prices(self.universe, lookback="30d")
# Calculate moving averages
short_ma = prices["close"].rolling(10).mean()
long_ma = prices["close"].rolling(30).mean()
# Generate signals
for symbol in self.universe:
if short_ma[symbol].iloc[-1] > long_ma[symbol].iloc[-1]:
context.orders.buy(symbol, weight=0.1)
else:
context.orders.sell(symbol, weight=0.1)Next Steps
- Read the Quickstart Guide to build your first agent
- Explore the Agent API for advanced configuration
- Browse Example Agents for inspiration