transactions
Retrieve account transaction history for a specified date range, including all transaction types such as buys, sells, dividends, and fees. Supports foreign-currency ledgers.
Instructions
Account transaction history between two dates (YYYY-MM-DD).
Buys, sells, dividends, fees, deposits and withdrawals. The API returns garbage when a range spans calendar years, so ranges are split per year automatically. Set dollar=True for the foreign-currency ledger.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dollar | No | ||
| account | No | ||
| end_date | Yes | ||
| start_date | Yes |