From 1167917cf67b1398f8ebe6a16efd32fd982d45e6 Mon Sep 17 00:00:00 2001 From: Joe Schr <8218910+TheJoeSchr@users.noreply.github.com> Date: Fri, 17 May 2024 16:14:54 +0200 Subject: [PATCH] `constants`: add ranges for orderflow config properties --- freqtrade/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/constants.py b/freqtrade/constants.py index 919a991bb..1ca732b2c 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -529,8 +529,8 @@ CONF_SCHEMA = { "type": "object", "properties": { "scale": {"type": "number", "minimum": 0.0}, - "stacked_imbalance_range": {"type": "number"}, - "imbalance_volume": {"type": "number"}, + "stacked_imbalance_range": {"type": "number", "minimum": 0}, + "imbalance_volume": {"type": "number", "minimum": 0}, "imbalance_ratio": {"type": "number", "minimum": 0.0}, }, },