inspection
Contain valuation visitor classes for banking and trading books.
Classes:
-
InspectionVisitor
–A visitor for inspecting instruments.
InspectionVisitor
Bases: Visitor
A visitor for inspecting instruments.
Methods:
-
get_result
–Return the result of the inspection.
-
visit_amortizing_fixed_rate_loan
–Inspect an amortizing fixed rate bond.
-
visit_cash
–Inspect cash.
-
visit_common_equity
–Inspect common equity.
-
visit_covered_bond
–Inspect a covered bond.
-
visit_credit_card
–Inspect a credit card.
-
visit_deposit
–Visit deposit.
-
visit_fixed_rate_bond
–Inspect a fixed rate bond.
-
visit_mock_instrument
–Inspect mock instrument.
-
visit_personal_loan
–Inspect a personal loan.
get_result
get_result() -> dict[str, str | object]
Return the result of the inspection.
visit_amortizing_fixed_rate_loan
visit_amortizing_fixed_rate_loan(
instrument: AmortizingFixedRateLoan,
) -> None
Inspect an amortizing fixed rate bond.
visit_fixed_rate_bond
visit_fixed_rate_bond(instrument: FixedRateBond) -> None
Inspect a fixed rate bond.
visit_mock_instrument
visit_mock_instrument(instrument: MockInstrument) -> None
Inspect mock instrument.