| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
QuantLib.Quote
Synopsis
- type Quote = GenQuote CQuote
- type SimpleQuote = GenQuote CSimpleQuote
- data GenQuote a
- asQuote :: GenQuote a -> IO Quote
- data PriceType
- data IntervalPriceType
- data AtmType
- data DeltaType
- simpleQuote :: Double -> IO SimpleQuote
- value :: GenQuote a -> IO Double
- isValid :: GenQuote a -> IO Bool
- setValue :: SimpleQuote -> Double -> IO Double
- eurodollarFuturesImpliedStdDevQuote :: GenQuote a -> GenQuote b -> GenQuote c -> Double -> Double -> Double -> Word -> IO Quote
- forwardSwapQuote :: GenSwapIndex b -> GenQuote a -> (Int, TimeUnit) -> IO Quote
- forwardValueQuote :: GenIndex a -> Day -> IO Quote
- futuresConvAdjustmentQuote' :: GenIborIndex i -> String -> GenQuote a -> GenQuote b -> GenQuote c -> IO Quote
- futuresConvAdjustmentQuote :: GenIborIndex i -> Day -> GenQuote a -> GenQuote b -> GenQuote c -> IO Quote
- impliedStdDevQuote :: OptionType -> GenQuote a -> GenQuote b -> Double -> Double -> Double -> Word -> IO Quote
- lastFixingQuote :: GenIndex a -> IO Quote
Documentation
type SimpleQuote = GenQuote CSimpleQuote #
Instances
| Enum PriceType # | |
Defined in QuantLib.Quote Methods succ :: PriceType -> PriceType # pred :: PriceType -> PriceType # fromEnum :: PriceType -> Int # enumFrom :: PriceType -> [PriceType] # enumFromThen :: PriceType -> PriceType -> [PriceType] # enumFromTo :: PriceType -> PriceType -> [PriceType] # enumFromThenTo :: PriceType -> PriceType -> PriceType -> [PriceType] # | |
| Show PriceType # | |
| Eq PriceType # | |
data IntervalPriceType #
Instances
| Enum IntervalPriceType # | |
Defined in QuantLib.Quote Methods succ :: IntervalPriceType -> IntervalPriceType # pred :: IntervalPriceType -> IntervalPriceType # toEnum :: Int -> IntervalPriceType # fromEnum :: IntervalPriceType -> Int # enumFrom :: IntervalPriceType -> [IntervalPriceType] # enumFromThen :: IntervalPriceType -> IntervalPriceType -> [IntervalPriceType] # enumFromTo :: IntervalPriceType -> IntervalPriceType -> [IntervalPriceType] # enumFromThenTo :: IntervalPriceType -> IntervalPriceType -> IntervalPriceType -> [IntervalPriceType] # | |
| Show IntervalPriceType # | |
Defined in QuantLib.Quote Methods showsPrec :: Int -> IntervalPriceType -> ShowS # show :: IntervalPriceType -> String # showList :: [IntervalPriceType] -> ShowS # | |
| Eq IntervalPriceType # | |
Defined in QuantLib.Quote Methods (==) :: IntervalPriceType -> IntervalPriceType -> Bool # (/=) :: IntervalPriceType -> IntervalPriceType -> Bool # | |
Constructors
| AtmNull | |
| AtmSpot | |
| AtmFwd | |
| AtmDeltaNeutral | |
| AtmVegaMax | |
| AtmGammaMax | |
| AtmPutCall50 |
Instances
| Enum DeltaType # | |
Defined in QuantLib.Quote Methods succ :: DeltaType -> DeltaType # pred :: DeltaType -> DeltaType # fromEnum :: DeltaType -> Int # enumFrom :: DeltaType -> [DeltaType] # enumFromThen :: DeltaType -> DeltaType -> [DeltaType] # enumFromTo :: DeltaType -> DeltaType -> [DeltaType] # enumFromThenTo :: DeltaType -> DeltaType -> DeltaType -> [DeltaType] # | |
| Show DeltaType # | |
| Eq DeltaType # | |
simpleQuote :: Double -> IO SimpleQuote #
market element returning a stored value
setValue :: SimpleQuote -> Double -> IO Double #
returns the difference between the new value and the old value NB The change will propagate to all users of the quote
lastFixingQuote :: GenIndex a -> IO Quote #
returns true if the Quote holds a valid value