Skip to content

registry

Module for registering and checking instrument types.

Classes:

CorporateInstrumentRegistry

Bases: InstrumentRegistry

Registry for corporate instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

InstrumentRegistry

Registry for instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

LoanInstrumentRegistry

Bases: InstrumentRegistry

Registry for loan instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

MDBInstrumentRegistry

Bases: InstrumentRegistry

Registry for MDB instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

MortgageInstrumentRegistry

Bases: InstrumentRegistry

Registry for mortgage instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

OffBalanceSheetInstrumentRegistry

Bases: InstrumentRegistry

Registry for off-balance-sheet instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

PSEInstrumentRegistry

Bases: InstrumentRegistry

Registry for PSE instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

RealEstateInstrumentRegistry

Bases: InstrumentRegistry

Registry for real estate instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

RetailInstrumentRegistry

Bases: InstrumentRegistry

Registry for retail instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.

TreasuryInstrumentRegistry

Bases: InstrumentRegistry

Registry for treasury instrument types.

Methods:

  • has_instrument

    Check if the registry contains the instrument.

  • register

    Register a new instrument type.

has_instrument classmethod

has_instrument(instrument: Instrument) -> bool

Check if the registry contains the instrument.

register classmethod

register(instrument_type: type) -> None

Register a new instrument type.