sdk.lusid.models.flexible_repo_partial_closure_event.FlexibleRepoPartialClosureEvent

class FlexibleRepoPartialClosureEvent(**data)[source]

Event representing the partial closure of a repurchase agreement. Each event reduces the outstanding notional and generates a corresponding receive-leg cashflow. The final maturity cashflow is adjusted accordingly. If multiple events are created, their effects compound. Once the total repaid amount reaches the original purchase price, no further receive-leg cashflows are generated. Any event exceeding the remaining notional is marked with a diagnostic to indicate it is invalid due to excessive repayment. For example, for a repo with a 5% rate, 1% haircut and collateral value of 100 (purchase price = 99), a partial closure of cash amount 10 followed by one of 100 results in only the first event producing a cashflow. The second, exceeding the remaining balance, is ignored and flagged with a diagnostic. The remaining balance is settled at maturity of the repurchase agreement. Specific to a FlexibleRepo instrument. # 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.

entitlement_date

settlement_date

amount

amount_type

partial_closure_constituents

instrument_event_type

additional_properties

class Config[source]

Pydantic configuration

classmethod from_dict(obj)[source]

Create an instance of FlexibleRepoPartialClosureEvent from a dict

Return type:

FlexibleRepoPartialClosureEvent

classmethod from_json(json_str)[source]

Create an instance of FlexibleRepoPartialClosureEvent from a JSON string

Return type:

FlexibleRepoPartialClosureEvent

classmethod instrument_event_type_validate_enum(value)[source]

Validates the enum

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