sdk.lusid.models.market_data_key_rule.MarketDataKeyRule
- class MarketDataKeyRule(**data)[source]
When performing analytics, instruments and models have dependencies on market data. A market data key rule essentially tells lusid to “resolve dependencies matching the pattern ‘X’ using data of the form ‘Y’”. The parameter ‘X’ is defined by the key of the key rule, and might specify “all USD rates curves” or “all RIC-based prices”. The parameter ‘Y’ is defined by the remaining fields of the key rule, and allows the user to configure things such as where to look for data, what sort of data should be looked for (e.g. bid/mid/ask), and how old the data is allowed to be. # noqa: E501
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Attributes
This is a Pydantic class. For now, click on the green [source] link in the class signature above to see descriptions/allowed values for these attributes.
key
supplier
data_scope
quote_type
field
quote_interval
as_at
price_source
mask
source_system
fall_through_on_access_denied
- classmethod from_dict(obj)[source]
Create an instance of MarketDataKeyRule from a dict
- Return type: