Market Data

get_candles

Fetch historical OHLCV (open, high, low, close, volume) candlestick data for any trading pair. Essential for technical analysis, backtesting preparation, and understanding price trends over time.

Parameters

NameTypeDescription
symbolstringTrading pair (e.g., BTC/USDT)
exchangestringExchange to fetch from(default: binance)
timeframestringCandle timeframe (1m, 5m, 15m, 1h, 4h, 1d)(default: 1h)
limitnumberNumber of candles to return(default: 100)

Example Prompts

Try asking your AI assistant any of these:

“Show me the last 50 hourly candles for BTC/USDT”
“Get daily candle data for ETH on Binance”
“Pull 4-hour candles for SOL/USDT”

Start Using get_candles

Set up the TradeStaq MCP server in under a minute.