fixed some stuff in the leverage brackets binance test

This commit is contained in:
Sam Germain
2021-09-16 23:23:36 -06:00
parent 57c7926515
commit dced167ea2
2 changed files with 70 additions and 49 deletions

View File

@@ -131,7 +131,7 @@ class Binance(Exchange):
if self.trading_mode == TradingMode.FUTURES:
try:
if self._config['dry_run']:
leverage_brackets_path = Path('data') / 'leverage_brackets.json'
leverage_brackets_path = Path('freqtrade/data') / 'leverage_brackets.json'
with open(leverage_brackets_path) as json_file:
leverage_brackets = json.load(json_file)
else: