Get Account Activities of One Type
GET {{baseUrl}}/v2/account/activities/:activity_type
Returns account activity entries for a specific type of activity.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
date | string | The date for which you want to see activities. | |
until | string | The response will contain only activities submitted before this date. (Cannot be used with date.) | |
after | string | The response will contain only activities submitted after this date. (Cannot be used with date.) | |
direction | string | asc or desc (default desc if unspecified.) | |
page_size | null | The maximum number of entries to return in the response. (See the section on paging above.) | |
page_token | null | The ID of the end of your current page of results. | |
category | null | trade_activity or non_trade_activity, to specify the kind of results the server should return. (Cannot be used with /{activity_type} or ?activity_types=...) |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Apca-Api-Key-Id | string | ||
Apca-Api-Secret-Key | string |
RESPONSES
status: OK
[{"activity_type":"CSD","id":"pariatur do","cum_qty":"ut ad magna","leaves_qty":"veniam laboris proident","price":"aliquip incididunt in","qty":"aute dolore","side":"officia","symbol":"AAPL","transaction_time":"2018-11-26T22:29:26.729Z","order_id":"urn:uuid:288fa4b7-208b-de24-532d-30692ba23348","type":"fill","order_status":"new"}]