Skip to main content
Glama

fetchClosedOrders

Retrieve all closed orders for a specified trading account and symbol, with options to filter by timestamp and limit results, using the CCXT MCP Server.

Instructions

Fetch all closed orders using a configured account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNameYesAccount name defined in the configuration file (e.g., 'bybit_main')
limitNoLimit the number of orders returned (optional)
paramsNoAdditional exchange-specific parameters
sinceNoTimestamp in ms to fetch orders since (optional)
symbolNoTrading symbol (e.g., 'BTC/USDT')

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/lazy-dinosaur/ccxt-mcp'

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