Skip to content

TradAI Developer Guides

Step-by-step guides for quant developers building trading strategies with TradAI.

Learning Path

graph TD
    A["1. Setup<br/>Get your environment ready"] --> B["2. Create Strategy<br/>Generate a new strategy package"]
    B --> C["3. Develop<br/>Test indicators, implement logic"]
    C --> D["4. Backtest<br/>Test with historical data"]
    D --> E["5. Validate<br/>Pre-flight checks, sanity checks"]
    E --> F["6. Optimize<br/>Tune parameters with hyperopt"]
    F --> G["7. Iterate<br/>Refine based on results"]

Guides

Guide Time Description
01 - Setup 10 min Install prerequisites, configure environment
02 - Create Strategy 15 min Generate strategy from template
03 - Develop 20 min Test indicators, implement logic
04 - Backtest 15 min Run backtests, analyze results
05 - Validate 10 min Pre-flight validation, sanity checks
06 - Optimize 20 min Hyperparameter optimization, walk-forward analysis

Advanced Guides

Guide Time Description
Strategy Lifecycle 25 min Complete strategy development workflow
Strategy CI/CD 15 min CI/CD pipeline for strategies
Pulumi Deployment 30 min Infrastructure deployment guide
Pulumi Modules Reference All 28 infrastructure modules

Contributing

Guide Description
Documentation How to maintain and contribute to docs

Quick Start Commands

# Setup
just setup                    # Initial setup
just doctor                   # Verify environment
just up                       # Start services

# Create
tradai strategy new MyBot     # New strategy
tradai strategy wizard        # Interactive creation

# Develop
tradai indicator test "..."   # Test indicator
tradai strategy lint MyBot    # Check for issues

# Backtest
tradai backtest quick MyBot   # Quick test
tradai backtest show <id>     # View results
tradai backtest compare a b   # Compare runs

# Optimize
tradai strategy optimize MyBot --epochs 100    # Hyperopt
tradai strategy optimize-preset MyBot standard # Preset config
tradai strategy optimize-results               # View history

Getting Help

tradai --help                 # CLI help
tradai strategy --help        # Strategy commands
tradai backtest --help        # Backtest commands