SMART components
get_smart_componentsExpand a SMART BBO exchange code into the component exchanges with IBKR single-letter codes. Use this to identify which exchanges provide the best bid and offer from a quote's bbo_exchange code.
Instructions
Expand a SMART BBO exchange code into the exchanges behind it.
Quotes on SMART-routed contracts carry a `bbo_exchange` code; this lists the
exchanges it stands for, each with IBKR's single-letter code, which tells you where the
best bid and offer come from. The code only comes from market data (get_quotes needs
a market data subscription or delayed data). When IBKR returns no exchanges (e.g.
outside trading hours, or for a code not taken from a quote) the call fails with
not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbo_exchange | Yes | The bbo_exchange code from a quote (get_quotes), e.g. '9c0001'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| components | Yes | ||
| bbo_exchange | Yes |