Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

getAllOrders

Retrieve all cryptocurrency trading orders from your Aster Finance account, including active, canceled, and filled orders, filtered by symbol and time range.

Instructions

Get all account orders; active, canceled, or filled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endTimeNo
limitNo
orderIdNo
startTimeNo
symbolYes

Implementation Reference

  • The handler for the 'getAllOrders' tool. It calls the shared makeRequest function to perform a signed GET request to the Aster Futures API endpoint '/fapi/v1/allOrders'.
    case 'getAllOrders': return makeRequest('GET', '/fapi/v1/allOrders', args, true);
  • Input schema definition for the getAllOrders tool, specifying parameters like symbol (required), orderId, timestamps, and limit.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, orderId: { type: 'number' }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, required: ['symbol'], },
  • src/index.ts:381-395 (registration)
    Registration of the getAllOrders tool in the MCP server's listTools response, including name, description, and input schema.
    { name: 'getAllOrders', description: 'Get all account orders; active, canceled, or filled.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, orderId: { type: 'number' }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, required: ['symbol'], }, },

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