hquantlib-0.0.5.1: 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

Instances

Instances details
Show Stock Source # 
Instance details

Defined in QuantLib.Instruments.Stock

Methods

showsPrec :: Int -> Stock -> ShowS #

show :: Stock -> String #

showList :: [Stock] -> ShowS #

Priceable Stock Source # 
Instance details

Defined in QuantLib.Instruments.Stock

Instrument Stock Source # 
Instance details

Defined in QuantLib.Instruments.Stock