Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

countdownCancelAll

Cancel all open cryptocurrency trading orders after a specified countdown period to manage risk and automate order cleanup on the Aster exchange.

Instructions

Auto-cancel all open orders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countdownTimeYesCountdown time in milliseconds.
symbolYes

Implementation Reference

  • Handler implementation for the countdownCancelAll tool. It makes a signed POST request to the /fapi/v1/countdownCancelAll endpoint on the Aster (Binance Futures) API with the provided arguments.
    case 'countdownCancelAll': return makeRequest('POST', '/fapi/v1/countdownCancelAll', args, true);
  • Input schema defining the parameters for the countdownCancelAll tool: symbol (string, required) and countdownTime (number in ms, required).
    inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, countdownTime: { type: 'number', description: 'Countdown time in milliseconds.' }, }, required: ['symbol', 'countdownTime'], },
  • src/index.ts:346-357 (registration)
    Registration of the countdownCancelAll tool in the MCP server's listTools response, including name, description, and input schema.
    { name: 'countdownCancelAll', description: 'Auto-cancel all open orders.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, countdownTime: { type: 'number', description: 'Countdown time in milliseconds.' }, }, required: ['symbol', 'countdownTime'], }, },

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