Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- class Instrument a where
- iDate :: a -> LocalTime
- iIsExpired :: a -> Bool
- data CompositeInstrument = (Instrument a, Priceable a) => CompositeInstrument (Map a Double)
- data Stock = Stock {}
Documentation
class Instrument a where Source #
Instrument type class
Instances
data CompositeInstrument Source #
Composite instrument is an aggregate of other instruments.
(Instrument a, Priceable a) => CompositeInstrument (Map a Double) |
Instances
Priceable CompositeInstrument Source # | |
Defined in QuantLib.Instruments.Instrument npv :: CompositeInstrument -> Double Source # | |
Instrument CompositeInstrument Source # | |
Defined in QuantLib.Instruments.Instrument iDate :: CompositeInstrument -> LocalTime Source # iIsExpired :: CompositeInstrument -> Bool Source # |