moved leverage_brackets.json to exchange/binance_leverage_brackets.json
This commit is contained in:
parent
2c21bbfa0c
commit
979c6f2f26
@ -149,7 +149,9 @@ class Binance(Exchange):
|
|||||||
if self.trading_mode == TradingMode.FUTURES:
|
if self.trading_mode == TradingMode.FUTURES:
|
||||||
try:
|
try:
|
||||||
if self._config['dry_run']:
|
if self._config['dry_run']:
|
||||||
leverage_brackets_path = Path('freqtrade/data') / 'leverage_brackets.json'
|
leverage_brackets_path = (
|
||||||
|
Path(__file__).parent / 'binance_leverage_brackets.json'
|
||||||
|
)
|
||||||
with open(leverage_brackets_path) as json_file:
|
with open(leverage_brackets_path) as json_file:
|
||||||
leverage_brackets = json.load(json_file)
|
leverage_brackets = json.load(json_file)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user