quantlib.instruments.swap.Swap.set_pricing_engine

Swap.set_pricing_engine(self, PricingEngine engine)

Sets the pricing engine.