markPriceKlines
Retrieve candlestick chart data for cryptocurrency mark prices to analyze market trends and price movements over specified time intervals.
Instructions
Kline/candlestick bars for the mark price of a symbol.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | End time in ms | |
| interval | Yes | Kline interval | |
| limit | No | Number of results. Default 500, max 1500. | |
| startTime | No | Start time in ms | |
| symbol | Yes | Trading symbol |
Implementation Reference
- src/index.ts:601-602 (handler)Handler for the 'markPriceKlines' tool. Executes a GET request to the '/fapi/v1/markPriceKlines' endpoint using the provided arguments.case 'markPriceKlines': return makeRequest('GET', '/fapi/v1/markPriceKlines', args);
- src/index.ts:140-150 (schema)Input schema definition for the 'markPriceKlines' tool, specifying required symbol and interval parameters.inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol' }, interval: { type: 'string', description: 'Kline interval' }, startTime: { type: 'number', description: 'Start time in ms' }, endTime: { type: 'number', description: 'End time in ms' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1500.' }, }, required: ['symbol', 'interval'], },
- src/index.ts:137-151 (registration)Registration of the 'markPriceKlines' tool in the list of available tools, including name, description, and input schema.{ name: 'markPriceKlines', description: 'Kline/candlestick bars for the mark price of a symbol.', inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol' }, interval: { type: 'string', description: 'Kline interval' }, startTime: { type: 'number', description: 'Start time in ms' }, endTime: { type: 'number', description: 'End time in ms' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1500.' }, }, required: ['symbol', 'interval'], }, },