Make code compatible.
This commit is contained in:
parent
fec95277bb
commit
e50b07ecb4
@ -474,7 +474,9 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
"""
|
"""
|
||||||
current_rate = self.exchange.get_rate(trade.pair, refresh=True, side="buy")
|
current_rate = self.exchange.get_rate(trade.pair, refresh=True, side="buy")
|
||||||
current_profit = trade.calc_profit_ratio(current_rate)
|
current_profit = trade.calc_profit_ratio(current_rate)
|
||||||
nr_of_buys = trade.nr_of_successful_buys() # FIXME This is only here to lazyload orders.
|
|
||||||
|
# FIXME This is only here to lazyload orders.
|
||||||
|
trade.nr_of_successful_buys()
|
||||||
min_stake_amount = self.exchange.get_min_pair_stake_amount(trade.pair,
|
min_stake_amount = self.exchange.get_min_pair_stake_amount(trade.pair,
|
||||||
current_rate,
|
current_rate,
|
||||||
self.strategy.stoploss)
|
self.strategy.stoploss)
|
||||||
|
Loading…
Reference in New Issue
Block a user