QS.CURVE.GET

Returns a reusable discount-curve handle from an initialized PricingContext

Category: QuantSupport - Market.

QS.CURVE.GET(context: text, market_index: text) → text handle
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

  • market_index (text) – Market index, for example SOFR; prefixes include Equity:, Credit:, FX:, and Collateral:

Returns:

Reusable revisioned text handle to the requested DiscountCurveElement from the initialized PricingContext.

Return Type:

text handle

Errors:

#VALUE! for an invalid index, invalid/stale/wrong-type context handle, a discount curve not constructed for the index, or a registry failure.

Formula

=QS.CURVE.GET(context, market_index)

Calculation

Runs on Excel’s main calculation thread.

Native Declaration

fn qs_curve_get (context : & str , market_index : & str) -> Result < String , XllError >

Rust source