Get an alpha recordset
get_alpha_recordsetRetrieve a named recordset (like yearly-stats) for a BRAIN alpha by alpha_id, limiting to the last N rows. Use get_alpha_pnl for PnL data.
Instructions
Return one recordset as named rows. Prefer get_alpha_pnl for PnL.
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": "<name>"
},
"name": "get_alpha_recordset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Recordset, e.g. yearly-stats. | |
| alpha_id | Yes | BRAIN alpha id, for example 'qMPjAxnO'. | |
| max_rows | No | Keep the last N rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| rows | Yes | ||
| columns | Yes | ||
| alpha_id | Yes | ||
| truncated | No | ||
| total_rows | Yes |