get_candles
Retrieve candlestick market data for a specific trading pair and duration from the Luno MCP Server. Use duration and pair parameters to filter data, with optional timestamp for starting point.
Instructions
Get candlestick market data for a currency pair
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | Yes | Candle duration in seconds (e.g., 60 for 1m, 300 for 5m, 3600 for 1h) | |
pair | Yes | Trading pair (e.g., XBTZAR) | |
since | No | Filter to candles starting on or after this timestamp (Unix milliseconds). Defaults to 24 hours ago. |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"description": "Candle duration in seconds (e.g., 60 for 1m, 300 for 5m, 3600 for 1h)",
"type": "number"
},
"pair": {
"description": "Trading pair (e.g., XBTZAR)",
"type": "string"
},
"since": {
"description": "Filter to candles starting on or after this timestamp (Unix milliseconds). Defaults to 24 hours ago.",
"type": "number"
}
},
"required": [
"pair",
"duration"
],
"type": "object"
}