quantlib.instruments.vanillaswap.VanillaSwap.set_pricing_engine

VanillaSwap.set_pricing_engine(self, PricingEngine engine)

Sets the pricing engine.