Safe Haskell | None |
---|---|
Language | Haskell2010 |
Q.Payoff
Synopsis
- class Payoff a where
- data StrikedPayoff
Documentation
Methods
data StrikedPayoff Source #
Path independent payoffs based on a fixed strike.
Constructors
PlainVanillaPayoff | Vanilla option payoff \(max (s - k, 0)\) for call and \(max (k - s, 0)\) for put |
Fields
| |
PercentagePayoff | |
Fields
| |
AssetOrNothingPayoff | |
Fields
| |
CashOrNothingPayoff | |
Fields
|