MCP Paradex Server

by sv
Verified

paradex-klines

Get candlestick (kline) data for a market. Retrieves historical price candlestick data for a specified market and time period. Each candlestick contains open, high, low, close prices and volume information. Returns: Dict[str, Any]: Candlestick data with the following structure for each candle: - timestamp - open price - high price - low price - close price - volume If an error occurs, returns: - success (bool): False - timestamp (str): ISO-formatted timestamp of the request - environment (str): Current Paradex environment - error (str): Error message

Input Schema

NameRequiredDescriptionDefault
end_unix_msNoEnd time in unix milliseconds.
market_idYesMarket symbol to get klines for.
resolutionNoThe time resolution of the klines.1
start_unix_msNoStart time in unix milliseconds.

Input Schema (JSON Schema)

{ "$defs": { "KlineResolution": { "description": "Valid kline/candlestick resolutions.", "enum": [ "1", "3", "5", "15", "30", "60", "240", "1D" ], "title": "KlineResolution", "type": "string" } }, "properties": { "end_unix_ms": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "End time in unix milliseconds.", "title": "End Unix Ms" }, "market_id": { "description": "Market symbol to get klines for.", "title": "Market Id", "type": "string" }, "resolution": { "$ref": "#/$defs/KlineResolution", "default": "1", "description": "The time resolution of the klines." }, "start_unix_ms": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Start time in unix milliseconds.", "title": "Start Unix Ms" } }, "required": [ "market_id" ], "title": "get_klinesArguments", "type": "object" }