Profit Analysis
profit_analysisAnalyze portfolio profit and loss over a specified date range. Retrieve a summary of gains and losses to assess performance. Provide both start and end dates for accurate results.
Instructions
Get portfolio profit and loss analysis summary. start/end: optional date range in yyyy-mm-dd format. Both must be provided together — passing only one returns empty results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| end | No | End date (yyyy-mm-dd). Must be paired with `start`; passing only one returns empty results. | |
| start | No | Start date (yyyy-mm-dd). Must be paired with `end`; passing only one returns empty results. |