fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items
This commit is contained in:
parent
619ecc9728
commit
d1c4030b88
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user