common_equity
Define the CommonEquity class representing common equity instruments.
Classes:
-
CommonEquity–A class to represent common equity instruments.
CommonEquity
CommonEquity(
*, name: str = "Common Equity", value: float = 0.0
)
Bases: Instrument
A class to represent common equity instruments.
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.