Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions py_lets_be_rational/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ def __init__(self, message, value):

class BelowIntrinsicException(VolatilityValueException):
def __init__(self):
VolatilityValueException.__init__(self, "The volatility is below the intrinsic value.",
VolatilityValueException.__init__(self, "The price is below the intrinsic value.",
constants.VOLATILITY_VALUE_TO_SIGNAL_PRICE_IS_BELOW_INTRINSIC)


class AboveMaximumException(VolatilityValueException):
def __init__(self):
VolatilityValueException.__init__(self, "The volatility is above the maximum value.",
VolatilityValueException.__init__(self, "The price is above the maximum value.",
constants.VOLATILITY_VALUE_TO_SIGNAL_PRICE_IS_ABOVE_MAXIMUM)


Expand Down