Cumulative return vs IHSG
account_performance_cumulativeTrack your portfolio's cumulative return over time to compare it against a benchmark index. Requires a trading session and a time filter.
Instructions
Cumulative return of the portfolio over time, to compare with the index.
Needs the trading session (stockbit-mcp login --trading). Values IDR; lots of 100 shares.
Returns (Stockbit's data field): {data:{portfolio_returns:[{date, percentage}]}}
Endpoint: GET carina /history/performance/portfolio/cumulative-return.
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": {
"time_filter": "<time_filter>"
},
"name": "account_performance_cumulative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_filter | Yes | time_filter |