From 76e4e5897ff01c6fadb8b070f2168b3efb6988a4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 26 May 2020 20:08:01 +0200 Subject: [PATCH] Introduce pricing exception --- freqtrade/exceptions.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/freqtrade/exceptions.py b/freqtrade/exceptions.py index 553a691ef..52209c47e 100644 --- a/freqtrade/exceptions.py +++ b/freqtrade/exceptions.py @@ -21,6 +21,14 @@ class DependencyException(FreqtradeException): """ +class PricingException(DependencyException): + """ + Subclass of DependencyException. + Indicates that the price could not be determined. + Implicitly a buy / sell operation. + """ + + class InvalidOrderException(FreqtradeException): """ This is returned when the order is not valid. Example: