diff --git a/freqtrade/__init__.py b/freqtrade/__init__.py index 0d1ae9c26..30fed8c53 100644 --- a/freqtrade/__init__.py +++ b/freqtrade/__init__.py @@ -17,6 +17,14 @@ class OperationalException(BaseException): """ +class InvalidOrder(BaseException): + """ + This is returned when the order is not valid. Example: + If stoploss on exchange order is hit, then trying to cancel the order + should return this exception. + """ + + class TemporaryError(BaseException): """ Temporary network or exchange related error.