Portfolio positions
account_portfolioRetrieve all portfolio holdings with lots, average and last prices, market value, and unrealized gain/loss to review positions and performance.
Instructions
Every stock held: lots (total, available to sell), average price, last price, market value, unrealized gain/loss and percent.
Needs the trading session (stockbit-mcp login --trading). Values IDR; lots of 100 shares.
Returns (Stockbit's data field): {message, data:{smart_order_info:{can_create, info, day_trade_can_create}, summary:{trading:{balance}, amount:{invested, allocated, credit_limit}, profit_loss:{net, unrealised, realised}, gain, equity, debt:{ratio,total,market_value,buffer:{value,percentage}}}, results:[{symbol, company:{name,icon_url}, qty:{stock_on_hand, available:{lot,share}, balance:{lot,share}, unsettled:{lot,share}, unsettled_until_at:{year,month,day}}, price:{latest, average:{price,fee}}, asset:{unrealised:{market_value,profit_loss,gain}, amount_invested}, flags:{allow_order,have_smart_order,can_buy,can_sell,allow_market_order}, exercise:{active,type,price,date:{listing,expired,mature,start,end},info}, type, is_sharia…
Endpoint: GET carina /portfolio/v2/list.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "account_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acc_no | No | inferred: optional account filter (used in query key) | |
| stock_schedule | No | inferred optional | |
| margin_collateral_eligible | No | inferred optional |