cash_balance
Get cash balance and buying power from your Stockbit trading account. Use buying power to judge order affordability, since Indonesian retail limits often exceed the cash balance.
Instructions
Cash in the trading account, and the buying power that is not the same number.
cashIdr is the balance. buyingPowerIdr is what an order can actually spend, which on an Indonesian retail account is routinely LARGER than the cash balance because of the trading limit. Use buying power to judge affordability; quoting cash where buying power was meant understates what the user can do, and the reverse overstates it.
settlement breaks the balance into T+0/T+1/T+2 buckets when the balance/cash/info endpoint answered. Its absence with settlementUnavailable set means that second request failed, not that the account has no unsettled cash.
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 |
|---|---|---|---|
No arguments | |||