Daml.Finance.Instrument.Bond¶
This package contains the implementation of different bond types, defined in the following modules:
- Callable.Instrument: Instrument implementation for callable bonds
- Callable.Factory: Factory implementation to instantiate callable bonds
- FixedRate.Instrument: Instrument implementation for fixed-rate bonds
- FixedRate.Factory: Factory implementation to instantiate fixed-rate bonds
- FloatingRate.Instrument: Instrument implementation for floating-rate bonds
- FloatingRate.Factory: Factory implementation to instantiate floating-rate bonds
- InflationLinked.Instrument: Instrument implementation for inflation-linked bonds
- InflationLinked.Factory: Factory implementation to instantiate inflation-linked bonds
- ZeroCoupon.Instrument: Instrument implementation for zero-coupon bonds
- ZeroCoupon.Factory: Factory implementation to instantiate zero-coupon bonds
- Util: Bond-specific utility functions
Check out the page on How to use the Bond Instrument packages for a description of how to use these instruments in practice. There is also the tutorial How to implement a Contingent Claims-based instrument, which describes how the claims are defined and how the lifecycle interface is implemented for bonds.