sdk.lusid.models.dependency_source_filter.DependencySourceFilter

class DependencySourceFilter(**data)[source]

Encapsulates parts of a market data rule relating not to the nature of the market data requested, but rather the nature of the thing (instrument/model) that is requesting it. In the first instance, this includes the instrument type, asset class, and the currency of the underlying instrument. This can be used to differentiate requests for market data according to the source of the request. See MarketDataSpecificRule. # 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.

instrument_type

asset_class

dom_ccy

class Config[source]

Pydantic configuration

classmethod from_dict(obj)[source]

Create an instance of DependencySourceFilter from a dict

Return type:

DependencySourceFilter

classmethod from_json(json_str)[source]

Create an instance of DependencySourceFilter from a JSON string

Return type:

DependencySourceFilter

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