hquantlib-0.0.2.3: src/QuantLib/Priceable.hs
{-# LANGUAGE ExistentialQuantification #-}
module QuantLib.Priceable
( Priceable (..)
) where
-- | All instruments and events have a net present value
class Priceable a where
npv :: a -> Double
errorEstimate :: a -> Double