getIncomeHistory
Retrieve cryptocurrency trading income history from Aster Finance to analyze past earnings, track performance, and review transaction records for informed financial decisions.
Instructions
Get income history.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | ||
| incomeType | No | ||
| limit | No | ||
| startTime | No | ||
| symbol | No |
Implementation Reference
- src/index.ts:677-678 (handler)Handler implementation for the getIncomeHistory tool. It makes a signed GET request to the Aster Futures API endpoint '/fapi/v1/income' with the input arguments to retrieve income history.case 'getIncomeHistory': return makeRequest('GET', '/fapi/v1/income', args, true);
- src/index.ts:476-489 (schema)Input schema definition and tool registration for getIncomeHistory in the ListTools response. Specifies parameters like symbol, incomeType, time range, and limit.{ name: 'getIncomeHistory', description: 'Get income history.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, incomeType: { type: 'string' }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, }, },
- src/index.ts:476-489 (registration)The getIncomeHistory tool is registered here in the array of tools returned by ListToolsRequestSchema.{ name: 'getIncomeHistory', description: 'Get income history.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, incomeType: { type: 'string' }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, }, },