getTradeList
Retrieve cryptocurrency trade history for a specific trading pair and account on Aster Finance, allowing users to analyze transaction data within specified timeframes and parameters.
Instructions
Get trades for a specific account and symbol.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | ||
| fromId | No | ||
| limit | No | ||
| startTime | No | ||
| symbol | Yes |
Implementation Reference
- src/index.ts:675-676 (handler)The handler logic for 'getTradeList' tool, which makes a signed GET request to the Aster API endpoint '/fapi/v1/userTrades'.case 'getTradeList': return makeRequest('GET', '/fapi/v1/userTrades', args, true);
- src/index.ts:461-475 (registration)Registration of the 'getTradeList' tool in the ListTools response, including name, description, and input schema definition.{ name: 'getTradeList', description: 'Get trades for a specific account and symbol.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, startTime: { type: 'number' }, endTime: { type: 'number' }, fromId: { type: 'number' }, limit: { type: 'number' }, }, required: ['symbol'], }, },