fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items

This commit is contained in:
Sam Germain 2021-09-04 19:58:42 -06:00
parent 6ec2e40736
commit d4389eb07d

View File

@ -135,7 +135,7 @@ class Kraken(Exchange):
""" """
leverages = {} leverages = {}
try: try:
for pair, market in self._api.markets.items(): for pair, market in self.markets.items():
info = market['info'] info = market['info']
leverage_buy = info['leverage_buy'] leverage_buy = info['leverage_buy']
leverage_sell = info['leverage_sell'] leverage_sell = info['leverage_sell']