Skip to content

TradAI Developer Guides

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

Learning Path

1. Setup             Get your environment ready
2. Create Strategy   Generate a new strategy package
3. Develop           Test indicators, implement logic
4. Backtest          Test with historical data
5. Validate          Pre-flight checks, sanity checks
6. Optimize          Tune parameters with hyperopt
7. Iterate           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