Get Quotes
get_quotesRetrieve real-time quotes for up to 100 instruments including bid/offer, last price, and daily range. Automatically resolves board class codes and supports file output for bulk data.
Instructions
Real-time quotes for up to 100 instruments: bid/offer, last price, day open/close/high/low, change. classCode is resolved via find_instrument when omitted. Bond prices are quoted in % of face value, not currency. Note: your own positions already carry currentPrice in get_portfolio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | Tickers, e.g. ["SBER", "LKOH"] | |
| classCodes | No | Board class codes, same order as tickers; missing entries are resolved automatically | |
| outputPath | No | Write the full result to this file (path relative to the output root: BCS_OUTPUT_DIR or server cwd) instead of returning it inline. The response becomes a short summary {savedTo, records, bytes, sample}. Use for bulk data to keep the context clean. For get_candles this also enables full-history fetching (chunking beyond the 1000-bar API limit). | |
| outputFormat | No | File format; default json (or csv if outputPath ends with .csv). csv writes the main flat array of the response. |