Bojan Nikolic: Using and Understanding the QuantLib Addin

[website home] | [BN Algorithms]

qlInstrumentSetPricingEngine – Set the pricing engine for an instrument

Sets the pricing engine for an instrument, i.e., defines how the instrument will be valued in future calls to functions such as qlInstrumentNPV


=qlInstrumentSetPricingEngine(<Instrument>, <PricingEngine>)

Instrument for which to define the pricing engine to use


Pricing engine to use. See for example qlPricingEngine – Create a engine for pricing derivatives for how to create a pricing engine.