QS.CONTEXT.QUOTE¶
Reads a quote side from a prepared context; missing sides never fall back
Category: QuantSupport - Pricing.
- QS.CONTEXT.QUOTE(context: text, identifier: text, level: text or blank) number¶
- Parameters:
context (text) – Stable workbook-scoped root from QS.CONTEXT.CREATE or revisioned historical context; additions belong to the context and commit after the definition pass
identifier (text) – Quote identifier understood by QuantSupport, for example OIS_USD_SOFR_1Y
level (text or blank) – Optional Mid, Bid or Ask; omitted or blank uses Mid; missing selected sides raise an error
- Returns:
Selected quote level in its native units; missing sides do not fall back.
- Return Type:
number
- Errors:
#VALUE! for stale contexts, absent identifiers or quote sides, or invalid levels.
Formula¶
=QS.CONTEXT.QUOTE(context, identifier, level)
Calculation¶
Runs on Excel’s main calculation thread.
Native Declaration¶
fn qs_context_quote (context : & str , identifier : & str , level : Option < String > ,) -> Result < f64 , XllError >