get_tax_lots
Retrieve unrealized tax-lot summaries for your account, including per-lot gains/losses, holding terms, cost basis, and aggregate totals.
Instructions
Get the unrealized tax-lot summary for the account.
Returns per-lot unrealized gain/loss, holding term (short/long/60-40),
cost basis, and the aggregate totals across all lots. Requires the API
key to have the trading.read scope.
Args: account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |