From 8a5bad7c3ed3efb61023b6d2efbf3a13f96dc6e7 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Sun, 22 Aug 2021 20:58:22 -0600 Subject: [PATCH] exchange - kraken - minor changes --- freqtrade/exchange/kraken.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/exchange/kraken.py b/freqtrade/exchange/kraken.py index f12ac0c20..567bd6735 100644 --- a/freqtrade/exchange/kraken.py +++ b/freqtrade/exchange/kraken.py @@ -77,7 +77,7 @@ class Kraken(Exchange): (side == "buy" and stop_loss < float(order['price'])) )) - @ retrier(retries=0) + @retrier(retries=0) def stoploss(self, pair: str, amount: float, stop_price: float, order_types: Dict, side: str) -> Dict: """ @@ -135,7 +135,7 @@ class Kraken(Exchange): """ leverages = {} try: - for pair, market in self._api.load_markets().items(): + for pair, market in self.markets.items(): info = market['info'] leverage_buy = info['leverage_buy'] leverage_sell = info['leverage_sell']