rename custom price max distance option in config, update formula and test associated

This commit is contained in:
axel
2021-08-18 05:07:37 -04:00
parent 6ab99369f2
commit 2fb9f6e2f4
4 changed files with 7 additions and 7 deletions

View File

@@ -4595,7 +4595,7 @@ def test_get_valid_price(mocker, default_conf) -> None:
patch_RPCManager(mocker)
patch_exchange(mocker)
freqtrade = FreqtradeBot(default_conf)
freqtrade.config['custom_price_max_distance_percent'] = 2.0
freqtrade.config['custom_price_max_distance_ratio'] = 0.02
custom_price_string = "10"
custom_price_badstring = "10abc"