Skip to content

API Reference

Welcome to the Composer Trade SDK API reference. This section provides detailed documentation for all resources and methods available in the SDK.

Getting Started

First, instantiate the ComposerClient with your API credentials:

from composer import ComposerClient

client = ComposerClient(
    api_key="your_api_key",
    api_secret="your_api_secret"
)

Available Resources

Category Description
Client Main ComposerClient initialization
Portfolio Portfolio, Accounts, Cash, User management
Backtest & Symphonies Backtesting, Symphony management, Search, Watchlists
Trading Trading, Deploy, Dry Run operations
Market Data Market data and quotes
Advanced AI Agents, Conversations, Reports, Auth

Models

The SDK includes numerous Pydantic models for request/response handling. See the Models Reference for detailed information on all available data models.