sdk.lusid.models.repo_partial_closure_event.RepoPartialClosureEvent

class RepoPartialClosureEvent(**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. # 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

cash_amount

cash_percentage

instrument_event_type

additional_properties

class Config[source]

Pydantic configuration

classmethod from_dict(obj)[source]

Create an instance of RepoPartialClosureEvent from a dict

Return type:

RepoPartialClosureEvent

classmethod from_json(json_str)[source]

Create an instance of RepoPartialClosureEvent from a JSON string

Return type:

RepoPartialClosureEvent

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