PCM

by rand-tech
Verified

get-ohlcv

Retrieve OHLCV candlestick data for specified trading pairs on exchanges like Binance or Coinbase. Fetch up to 1000 candles, adjust timeframes, and analyze market trends efficiently.

Instructions

Get OHLCV candlestick data for a trading pair

Input Schema

NameRequiredDescriptionDefault
exchangeYesExchange ID (e.g., binance, coinbase)
limitNoNumber of candles to fetch (max 1000)
symbolYesTrading pair symbol (e.g., BTC/USDT)
timeframeNoTimeframe (e.g., 1m, 5m, 1h, 1d)1d

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exchange": { "description": "Exchange ID (e.g., binance, coinbase)", "type": "string" }, "limit": { "default": 100, "description": "Number of candles to fetch (max 1000)", "type": "number" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT)", "type": "string" }, "timeframe": { "default": "1d", "description": "Timeframe (e.g., 1m, 5m, 1h, 1d)", "type": "string" } }, "required": [ "exchange", "symbol" ], "type": "object" }
ID: ma2f8iji6w