| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
QuantLib.Instruments
Synopsis
- class Instrument a where
- data CompositeInstrument = (Instrument a, Priceable a) => CompositeInstrument (Map a Double)
- data Stock = Stock {}
Documentation
class Instrument a where #
Instrument type class
Minimal complete definition
Instances
| Instrument CompositeInstrument # | |
Defined in QuantLib.Instruments.Instrument | |
| Instrument Stock # | |
Defined in QuantLib.Instruments.Stock | |
data CompositeInstrument #
Composite instrument is an aggregate of other instruments.
Constructors
| (Instrument a, Priceable a) => CompositeInstrument (Map a Double) |
Instances
| Priceable CompositeInstrument # | |
Defined in QuantLib.Instruments.Instrument | |
| Instrument CompositeInstrument # | |
Defined in QuantLib.Instruments.Instrument | |
Single stock instrument
Instances
| Show Stock # | |
| Priceable Stock # | |
Defined in QuantLib.Instruments.Stock | |
| Instrument Stock # | |
Defined in QuantLib.Instruments.Stock | |