Skip to content

Home

Python License stable-baselines3

Key Features

  • Pluggable Strategy System


    Inject custom action, observation, and reward strategies without modifying environment code.

    Custom Strategies

  • Comprehensive Backtesting


    Train and evaluate RL algorithms against historical data with detailed performance metrics.

    Backtesting Guide

  • Feature Engineering


    Vectorized backtesting, technical indicator analysis, and an auto-registered indicator registry.

    Feature Engineering

  • Hyperparameter Tuning


    Optuna integration for automated optimization of RL agents and trading strategies.

    Tuning Guide

  • Multi-Asset Support


    Single-stock, crypto, and forex environments with shared interfaces and pluggable data sources.

    Environments API

  • Live Trading


    Alpaca integration for paper and live trading with the same strategies you trained on.

    Get Started


Quick Start

Install with uv sync and train your first agent in a few lines of code. See the Quickstart Guide for a walkthrough.