Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

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
NameRequiredDescriptionDefault
endTimeNoEnd time in ms
intervalYesKline interval
limitNoNumber of results. Default 500, max 1500.
startTimeNoStart time in ms
symbolYesTrading symbol

Implementation Reference

  • 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);
  • 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'], }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/questflowai/aster-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server