compute_capital_gains
Calculates long-term and short-term capital gains by asset class from validated trades using FIFO lots, including grandfathering for pre-31-Jan-2018 equity.
Instructions
Compute LTCG and STCG by asset class from validated trades using FIFO lots, with grandfathering for pre-31-Jan-2018 equity.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compute_capital_gains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||