position
Check a single IDX stock holding: view shares held, average buy price, and current market value for that ticker. If the account holds none, the result is null—confirming no holdings.
Instructions
ONE symbol's position: how much of it the user holds, at what average price, and what it is worth now. Cheaper than portfolio when the question is about a single stock.
holding: null means the account holds none of this symbol. That is a normal answer and the correct one to relay — it is not an error and not a failed lookup.
Requires the trading session (stockbit-auth trading-login).
IN PAPER MODE this reads a LOCAL LEDGER, not the brokerage, so NO trading session and NO PIN are needed however the line above reads — do not send the user to a terminal. The result says "PAPER ACCOUNT"; say so rather than reporting these figures as the user's actual account.
PENDING VERIFICATION: this endpoint has not been observed live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | IDX ticker, e.g. BBRI |