Position in one stock
account_positionRetrieve your Stockbit account's regular and day-trade position for an IDX ticker, including sellable lots, average price, gain/loss, and smart-order eligibility.
Instructions
The position in one symbol, regular and day-trade: lots held and available to sell (qty.available.lot), average price, gain/loss, whether a smart order can be created.
Needs the trading session (stockbit-mcp login --trading). Values IDR; lots of 100 shares.
Returns (Stockbit's data field): {message, data:{result:<portfolio item|empty>, day_trade:<portfolio item|empty>}} where item = portfolio list item plus can_create_smart_order, info[]. Use qty.available.lot as sellable lots.
Endpoint: GET carina /portfolio/v2/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": {
"stock_code": "<stock_code>"
},
"name": "account_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acc_no | No | inferred optional | |
| stock_code | Yes | IDX ticker |