DCA Trade History
Get the execution history for a specific DCA plan including trade dates, amounts, and prices.
SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | YES | Plan ID (path parameter) |
| page | integer | NO | Page number (1-based, default: 1) |
| size | integer | NO | Records per page (default: 20) |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"has_more": false,
"records": [
{
"symbol": "AAPL.US",
"order_id": "123456",
"status": "Filled",
"action": "Buy",
"order_type": "Market",
"executed_qty": "1",
"executed_price": "180.50",
"executed_amount": "180.50",
"created_at": "1763769600",
"rejected_reason": ""
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | DcaHistoryResponse |
| 400 | Bad request | None |
Schemas
DcaHistoryResponse
| Name | Type | Required | Description |
|---|---|---|---|
| records | object[] | true | List of execution records |
| ∟ symbol | string | true | Security symbol |
| ∟ order_id | string | false | Associated order ID |
| ∟ status | string | false | Execution status |
| ∟ action | string | false | Action type (e.g. buy) |
| ∟ order_type | string | false | Order type (e.g. market) |
| ∟ executed_qty | string | false | Executed quantity |
| ∟ executed_price | string | false | Executed price |
| ∟ executed_amount | string | false | Executed cost amount |
| ∟ rejected_reason | string | false | Rejection reason if failed |
| ∟ created_at | string | false | Creation Unix timestamp |
| ∟ created_at | string | false | Execution time |
| ∟ rejected_reason | string | false | Rejection reason (if any) |
| has_more | boolean | false | Whether more records exist |

