Get sellable quantity
tossinvest_get_sellable_quantityCheck how many shares are sellable right now, excluding shares tied up in open orders or pending settlement. Verify before selling to avoid insufficient-quantity errors.
Instructions
Get how many shares of one symbol can be sold right now.
This can be lower than the holding quantity — shares tied up in an open sell order or not yet settled are excluded. Check it before selling; exceeding it fails with 422 insufficient-sellable-quantity.
Args:
symbol (string): the symbol to check.
account_seq (number, optional): resolved automatically for single-account credentials.
response_format ('markdown' | 'json'): default 'markdown'.
Returns { accountSeq, symbol, sellableQuantity }. KR quantities are whole shares; US quantities can be fractional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol. KRX: 6 digits (e.g. '005930' for Samsung Electronics). US: ticker (e.g. 'AAPL'). | |
| account_seq | No | accountSeq of the account to act on (the `X-Tossinvest-Account` header). Optional: falls back to TOSSINVEST_ACCOUNT_SEQ, then to the sole account on the credentials. Get valid values from tossinvest_list_accounts. | |
| response_format | No | Output format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| accountSeq | Yes | ||
| sellableQuantity | No | Decimal value as a string |