Realized P/L detail
account_realized_pnl_detailFetch the individual stock, bond, and coupon trades behind a realized P/L entry by date, narrowed by symbol or history ID, to verify how gains or losses were calculated.
Instructions
The trades behind one realized P/L entry.
Needs the trading session (stockbit-mcp login --trading). Values IDR; lots of 100 shares.
Returns (Stockbit's data field): {data:{stock_realized:{trades}, bond_realized:{detail}, coupon_realized:{detail}}}
Endpoint: GET carina /history/realized/detail.
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": {
"date": "<date>"
},
"name": "account_realized_pnl_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| symbol | No | symbol | |
| history_id | No | history_id |