Trading and risk systems pass a pricing library not only the trade terms but also the market data used in the calculation and settings for which calculation method to use and which currency to report in1. Some designs build the component that represents the trade terms separately from the component that handles the pricing calculation23.
Publicly available pricing libraries include QuantLib, Strata, and ORE324.
Notes
-
OpenGamma, "Strata Documentation: Calculation Flow," "Calculation setup." ↩
-
OpenGamma, "Strata Documentation: Product Model," the opening section (product classes hold only data, and pricing and risk calculations sit in separate components). ↩ ↩2
-
QuantLib, "Instrument Class Reference" (Reference manual version 1.44), setPricingEngine. ↩ ↩2
-
LSEG, "ORE User Guide" (August 2026), chapter 1 "Introduction," page 9. ↩