Introduce insufficientFunds Exception

pull/3682/head
Matthias 6 years ago
parent 8458a380b8
commit a6fc922f28

@ -110,6 +110,8 @@ Below is an outline of exception inheritance hierarchy:
| +---+ InvalidOrderException
| |
| +---+ RetryableOrderError
| |
| +---+ InsufficientFundsError
|
+---+ StrategyError
```

@ -51,6 +51,13 @@ class RetryableOrderError(InvalidOrderException):
"""
class InsufficientFundsError(InvalidOrderException):
"""
This error is used when there are not enough funds available on the exchange
to create an order.
"""
class TemporaryError(ExchangeError):
"""
Temporary network or exchange related error.

Loading…
Cancel
Save