Get alpha PnL
get_alpha_pnlSummarize an alpha's PnL by year and optionally include recent daily cumulative values to review performance.
Instructions
Summarize an alpha's PnL by year, with optional recent daily cumulative values.
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": {
"alpha_id": "<alpha_id>"
},
"name": "get_alpha_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | Only the last N days. | |
| alpha_id | Yes | BRAIN alpha id, for example 'qMPjAxnO'. | |
| include_daily | No | Add daily rows, at most 500. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daily | No | ||
| yearly | No | ||
| alpha_id | Yes | ||
| end_date | No | ||
| total_pnl | No | ||
| truncated | No | ||
| start_date | No | ||
| total_rows | No |