compare_strategies
Run six trading strategies on any symbol and receive a performance leaderboard ranked by returns.
Instructions
Run all 6 strategies (RSI, Bollinger, MACD, EMA Cross, Supertrend, Donchian) on the same symbol and return a ranked performance leaderboard.
Args: symbol: Yahoo Finance symbol (AAPL, BTC-USD, SPY…) period: Historical data period: '1mo', '3mo', '6mo', '1y', '2y' initial_capital: Starting capital in USD (default: $10,000) interval: Timeframe: '1d' (daily, default) or '1h' (hourly)
Returns: Ranked leaderboard of all 6 strategies vs buy-and-hold benchmark.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1y | |
| symbol | Yes | ||
| interval | No | 1d | |
| initial_capital | No |