get_account_activities
Retrieve account activities including trades, dividends, transfers, and fees from Alpaca to monitor portfolio transactions and financial events.
Instructions
Returns a list of account activities such as fills, dividends, and transfers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_types | No | A comma-separated list of activity types used to filter the results. | |
| category | No | The activity category. Cannot be used with "activity_types" parameter. | |
| date | No | Filter activities by the activity date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported. | |
| until | No | Get activities created before this date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported. | |
| after | No | Get activities created after this date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported. | |
| direction | No | The chronological order of response based on the activity datetime. | desc |
| page_size | No | The maximum number of entries to return in the response. | |
| page_token | No | Token used for pagination. Provide the ID of the last activity from the last page to retrieve the next set of results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||