hquantlib-0.0.2.5: HQuantLib is a port of essencial parts of QuantLib to Haskell

Safe HaskellSafe-Inferred
LanguageHaskell2010

QuantLib.Instruments

Synopsis

Documentation

class Instrument a where Source

Instrument type class

Methods

iDate :: a -> LocalTime Source

iIsExpired :: a -> Bool Source

data CompositeInstrument Source

Composite instrument is an aggregate of other instruments.

Constructors

forall a . (Instrument a, Priceable a) => CompositeInstrument (Map a Double) 

data Stock Source

Single stock instrument

Constructors

Stock 

Fields

sQuote :: Double
 
sDate :: LocalTime