QS.REQUEST.FAIR.RATE¶
Selects a zero-based swap leg or loan coupon/spread segment for a FairRate request
Category: QuantSupport - Pricing.
- QS.REQUEST.FAIR.RATE(index: number) text¶
- Parameters:
index (number) – Zero-based leg or loan coupon/spread segment index; omitted or blank target defaults to zero; single-quote products accept only zero
- Returns:
Text request FairRate(index) selecting a zero-based swap leg or loan rate segment; pass to QS.EVALUATE.
- Return Type:
text
- 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.REQUEST.FAIR.RATE(index)
Calculation¶
Runs on Excel’s main calculation thread.
Native Declaration¶
fn qs_request_fair_rate (index : f64) -> Result < String , XllError >