sdk.lusid.models.market_options.MarketOptions

class MarketOptions(**data)[source]

The set of options that control miscellaneous and default market resolution behaviour. These are aimed at a ‘crude’ level of control for those who do not wish to fine tune the way that data is resolved. For clients who wish to simply match instruments to prices this is quite possibly sufficient. For those wishing to control market data sources according to requirements based on accuracy or timeliness it is not. In more advanced cases the options should largely be ignored and rules specified per source. Be aware that where no specified rule matches the final fallback is on to the logic implied here. # 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.

default_supplier

default_instrument_code_type

default_scope

attempt_to_infer_missing_fx

calendar_scope

convention_scope

class Config[source]

Pydantic configuration

classmethod calendar_scope_validate_regular_expression(value)[source]

Validates the regular expression

classmethod convention_scope_validate_regular_expression(value)[source]

Validates the regular expression

classmethod default_scope_validate_regular_expression(value)[source]

Validates the regular expression

classmethod from_dict(obj)[source]

Create an instance of MarketOptions from a dict

Return type:

MarketOptions

classmethod from_json(json_str)[source]

Create an instance of MarketOptions from a JSON string

Return type:

MarketOptions

to_dict()[source]

Returns the dictionary representation of the model using alias

to_json()[source]

Returns the JSON representation of the model using alias

Return type:

str

to_str()[source]

Returns the string representation of the model using alias

Return type:

str