A recipe has many options in different sections that default to sensible values.
Market data options
Option
Default value
Explanation
market.options.attemptToInferMissingFx
false
Set to true to infer missing FX rates. For example, if a AUDJPY rate is required for a valuation but cannot be located in the Quote Store, then:
If a JPYAUD rate is located, LUSID returns the inverse: 1/JPYAUD.
LUSID triangulates through USD, GBP and EUR base currencies in that order. So for example if USDAUD and USDJPY are located, LUSID returns USDJPY/USDAUD.
For more information on FX inference/triangulation and worked examples, see this Jupyter Notebook.
market.options.calendarScope
CoppClarkHolidayCalendars
Set to the scope of a different holiday calendar. You can then specify code(s) of this calendar in various places (such as the definitions of instruments with a term structure) to cause LUSID to automatically factor in market holidays when (for example) generating cashflows.
For more information on these and other market data options, see the API schema reference.
Set to true to convert external cashflows loaded into the Structured Result Store to portfolio currency, providing the recipe can locate suitable spot rates in the LUSID Quote Store.
pricing.options.useInstrumentScaleFactorAsDefault
false
Set to true to use a factor specified at the instrument level to scale market prices loaded into the LUSID Quote Store.