hquantlib-0.0.3.2: HQuantLib is a port of essencial parts of QuantLib to Haskell
QuantLib.Priceable
Synopsis
class Priceable a where Source #
All instruments and events have a net present value
Minimal complete definition
npv, errorEstimate
Methods
npv :: a -> Double Source #
errorEstimate :: a -> Double Source #
Instances
npv :: CompositeInstrument -> Double Source #
errorEstimate :: CompositeInstrument -> Double Source #
npv :: Stock -> Double Source #
errorEstimate :: Stock -> Double Source #