Don't suppport <1m timeframes

This commit is contained in:
Matthias
2020-01-11 11:36:28 +01:00
parent 5faebad863
commit 235a10ab86
2 changed files with 16 additions and 3 deletions

View File

@@ -319,6 +319,10 @@ class Exchange:
raise OperationalException(
f"Invalid ticker interval '{timeframe}'. This exchange supports: {self.timeframes}")
if timeframe_to_minutes(timeframe) < 1:
raise OperationalException(
f"Timeframes < 1m are currently not supported by Freqtrade.")
def validate_ordertypes(self, order_types: Dict) -> None:
"""
Checks if order-types configured in strategy/config are supported