QS.RESULT.FAIR.RATE¶
Fair coupon or spread for the requested target from stored evaluation results
Category: QuantSupport - Pricing.
- QS.RESULT.FAIR.RATE(result: text) number¶
- Parameters:
result (text) – EvaluationResults handle from QS.EVALUATE or QS.EVALUATE.PORTFOLIO; the requested measure must have been returned by the evaluation
- Returns:
Scalar native measure from stored evaluation results. Interest rates and spreads are decimals; fair rate corresponds to the target selected in the request.
- Return Type:
number
- Errors:
#VALUE! for invalid inputs, stale or wrong-type handles, unsupported target/pricer/trade combinations or native evaluation errors; #N/A when the result does not contain the requested measure.
Formula¶
=QS.RESULT.FAIR.RATE(result)
Calculation¶
Runs on Excel’s main calculation thread.
Native Declaration¶
fn qs_result_fair_rate (result : & str) -> Result < f64 , XllError >