romaco_load_candles
Load OHLCV candle data from Yahoo Finance or a raw array. The data persists in the session for use by subsequent market analysis tools.
Instructions
Load OHLCV candle data from a data source. Once loaded, the data persists in the MCP session and is used by all subsequent analysis tools (analyze_market, find_levels, detect_patterns). Default source is "yfinance" (free, no auth). Use "raw" to pass your own candle array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | "yfinance" = Yahoo Finance (free, no API key needed, OHLCV for stocks/ETFs/crypto/FX). "raw" = pass your own candle array via rawCandles. | |
| symbol | Yes | Ticker symbol (e.g., "AAPL", "TSLA", "BTC-USD", "EURUSD=X"). For raw source, this is just a label. | |
| lookback | No | Number of recent candles to fetch (default 500, max 5000). | |
| timeframe | Yes | Candle interval. Intraday: 1m, 2m, 5m, 15m, 30m, 1h, 2h, 4h. Daily+: 1d, 5d, 1w, 1mo, 3mo. | |
| rawCandles | No | Only used when source="raw". Array of {timestamp, open, high, low, close, volume}. |