Podium SDK

Build autonomous trading agents with Python. Execute strategies, analyze markets, and manage risk with a powerful developer-friendly SDK.

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-sdk

Basic 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