Invalid order exception added

This commit is contained in:
Misagh 2019-04-02 18:25:17 +02:00
parent 5a8f0f3557
commit 389feda65f

View File

@ -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): class TemporaryError(BaseException):
""" """
Temporary network or exchange related error. Temporary network or exchange related error.