← Back to registry

TOOL · load_market_data

Load OHLCV market data for a specific symbol and time range. Returns candlestick data that can be used for analysis, visualization, or backtest input.

Canonical Definition

{
  "description": "Load OHLCV market data for a specific symbol and time range. Returns candlestick data that can be used for analysis, visualization, or backtest input.",
  "name": "load_market_data",
  "parameters": {
    "properties": {
      "interval": {
        "description": "Candlestick interval (e.g., '1m', '5m', '15m', '1h', '4h', '1d', '1w', '1M').",
        "type": "string"
      },
      "range": {
        "description": "Time range (e.g., '7d', '30d', '90d', '1y').",
        "type": "string"
      },
      "source": {
        "description": "Data source: 'alpaca', 'binance', or 'local' (default: 'local').",
        "type": "string"
      },
      "symbol": {
        "description": "The trading symbol (e.g., 'BTCUSD', 'AAPL', 'EURUSD').",
        "type": "string"
      }
    },
    "required": [
      "symbol",
      "interval",
      "range"
    ],
    "type": "object"
  }
}