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