QS.DISCOUNT.POLICY.FIXED.INCOME¶
Creates a native fixed-income discount policy from a currency and an ordinary discount-curve index
Category: QuantSupport - Pricing.
- QS.DISCOUNT.POLICY.FIXED.INCOME(name: text, currency: cell or range, market_index: cell or range, prefer_instrument_index: cell or range) text handle¶
- Parameters:
name (text) – Workbook-unique object name; unchanged recalculation reuses its current handle
currency (cell or range) – Independent currency or curve-index array; scalar, row, column or spill; one index per currency; arrays may have different orientations and locations
market_index (cell or range) – Independent currency or curve-index array; scalar, row, column or spill; one index per currency; arrays may have different orientations and locations
prefer_instrument_index (cell or range) – Optional TRUE prefers the instrument’s discount index; omitted or blank defaults to FALSE and uses currency/index mappings
- Returns:
Revisioned text handle to a native discount policy selecting ordinary market curves; no instrument or trade is modified.
- Return Type:
text handle
- 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.DISCOUNT.POLICY.FIXED.INCOME(name, currency, market_index, prefer_instrument_index)
Calculation¶
Runs on Excel’s main calculation thread.
Native Declaration¶
fn qs_discount_policy_fixed_income (name : & str , currency : * const XLOPER12 , market_index : * const XLOPER12 , prefer_instrument_index : * const XLOPER12 ,) -> Result < String , XllError >