getForceOrders
Retrieve cryptocurrency force orders including liquidations and ADL events from Aster Finance Futures API to monitor automated position closures and analyze market conditions.
Instructions
Get user's force orders.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| autoCloseType | No | ||
| endTime | No | ||
| limit | No | ||
| startTime | No | ||
| symbol | No |
Implementation Reference
- src/index.ts:683-684 (handler)Handler for the getForceOrders tool: makes a signed GET request to the /fapi/v1/forceOrders Aster API endpoint with the provided arguments.case 'getForceOrders': return makeRequest('GET', '/fapi/v1/forceOrders', args, true);
- src/index.ts:510-523 (schema)Schema definition for the getForceOrders tool, specifying input parameters: symbol (string), autoCloseType (enum: LIQUIDATION/ADL), startTime/endTime (number), limit (number).{ name: 'getForceOrders', description: "Get user's force orders.", inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, autoCloseType: { type: 'string', enum: ['LIQUIDATION', 'ADL'] }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, }, },