fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items
This commit is contained in:
parent
6ec2e40736
commit
d4389eb07d
@ -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