request_csv_export
Queue an asynchronous export of your account history to CSV. Select included data types (dividends, interest, orders, transactions) and optional time range.
Instructions
Queue a CSV export of your account history. The export runs asynchronously -
check fetch_exports_list to monitor progress and get the download link.
This creates a server-side export job. Each call generates a new report.
Use the time range parameters to limit the export to a specific period.
Args:
include_dividends: Include dividend payment records. Defaults to True.
include_interest: Include interest payment records. Defaults to True.
include_orders: Include trade/order history. Defaults to True.
include_transactions: Include deposit/withdrawal records. Defaults to True.
time_from: Start of the reporting window in ISO 8601 (e.g., '2024-01-01T00:00:00Z').
Omit for all history.
time_to: End of the reporting window in ISO 8601 (e.g., '2024-12-31T23:59:59Z').
Omit for up to now.
Returns:
EnqueuedReport with the reportId for tracking via fetch_exports_list
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_dividends | No | ||
| include_interest | No | ||
| include_orders | No | ||
| include_transactions | No | ||
| time_from | No | ||
| time_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportId | Yes |