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

Safe HaskellSafe
LanguageHaskell2010

QuantLib.Instruments

Synopsis

Documentation

class Instrument a where #

Instrument type class

Minimal complete definition

iDate, iIsExpired

Methods

iDate :: a -> LocalTime #

iIsExpired :: a -> Bool #

data CompositeInstrument #

Composite instrument is an aggregate of other instruments.

Constructors

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

data Stock #

Single stock instrument

Constructors

Stock 

Fields

Instances
Show Stock # 
Instance details

Defined in QuantLib.Instruments.Stock

Methods

showsPrec :: Int -> Stock -> ShowS #

show :: Stock -> String #

showList :: [Stock] -> ShowS #

Priceable Stock # 
Instance details

Defined in QuantLib.Instruments.Stock

Instrument Stock # 
Instance details

Defined in QuantLib.Instruments.Stock