deposit
Define the Deposit class representing customer deposit.
Classes:
-
Deposit–A class to represent customer deposit.
Deposit
Deposit(*, name: str = 'Deposit', value: float = 0.0)
Bases: Instrument
A class to represent customer deposit.
Methods:
-
accept–Accept a visitor.
-
is_composite–Check if the instrument is composite.
Attributes:
-
book_type(Optional[BookType]) –Get the book type of the instrument.
-
credit_rating(CreditRating) –Get the instrument's credit rating.
-
issuer(Issuer) –Get the instrument's issuer.
-
parent(Optional[Instrument]) –Get the parent instrument.
is_composite
is_composite() -> bool
Check if the instrument is composite.