mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
exchange - kraken - minor changes
This commit is contained in:
parent
5748c9bc13
commit
8a5bad7c3e
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue
Block a user