sdk.lusid.models.aggregation_context.AggregationContext

class AggregationContext(**data)[source]

Aggregation context node. Whilst the market and pricing nodes concern themselves with which models are used and where the market data comes from, the aggregation context determines how data is aggregated together. This controls the behaviour of the grouping and sql-like engine at the back of the valuation. For instance, it controls conversion of currencies and whether the sql-like engine behaves more like ANSI or MySql SQL. # 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.

options

class Config[source]

Pydantic configuration

classmethod from_dict(obj)[source]

Create an instance of AggregationContext from a dict

Return type:

AggregationContext

classmethod from_json(json_str)[source]

Create an instance of AggregationContext from a JSON string

Return type:

AggregationContext

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