QS.EVALUATE.RESULTS

Evaluates request arrays and stores one native EvaluationResults object for reuse by QS.RESULT functions

Category: QuantSupport - Pricing.

QS.EVALUATE.RESULTS(context: text, trade: text, requests: cell or range, pricer: text or blank, policy: text or blank) → 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

  • trade (text) – Trade handle returned by a QS.TRADE.* function

  • requests (cell or range) – Text cell or range of native request names: Value, Cashflows, Sensitivities, YieldToMaturity, ModifiedDuration, ZSpread, OAS or FairRate(index); QS.REQUEST.FAIR.RATE(index) builds the latter; one fair-rate target per evaluation

  • pricer (text or blank) – Optional explicit pricer handle; blank selects the product’s native pricer and the context base discount curve; swaptions require an explicit configured pricer

  • policy (text or blank) – Optional discount-policy handle for the default native pricer; omitted or blank uses the context policy; leave blank when passing an explicit configured pricer

Returns:

Revisioned opaque handle to worker-owned EvaluationResults; read with asynchronous QS.RESULT functions. #N/A means pending.

Return Type:

text handle

Errors:

#VALUE! for stale handles, duplicate or foreign context inputs, conflicting policy/pricer, unsupported requests or pricing errors.

Formula

=QS.EVALUATE.RESULTS(context, trade, requests, pricer, policy)

Calculation

Runs on Excel’s main calculation thread.

Native Declaration

fn qs_evaluate_results (context : & str , trade : & str , requests : * const XLOPER12 , pricer : Option < String > , policy : Option < String > ,) -> Result < String , XllError >

Rust source