mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 18:43:04 +00:00
These could be properties.
This commit is contained in:
@@ -476,8 +476,9 @@ class FreqtradeBot(LoggingMixin):
|
||||
current_rate = self.exchange.get_rate(trade.pair, refresh=True, side="buy")
|
||||
current_profit = trade.calc_profit_ratio(current_rate)
|
||||
|
||||
# FIXME This is only here to lazyload orders.
|
||||
trade.nr_of_successful_buys()
|
||||
# TODO: Is there a better way to force lazy-load?
|
||||
len(trade.orders)
|
||||
|
||||
min_stake_amount = self.exchange.get_min_pair_stake_amount(trade.pair,
|
||||
current_rate,
|
||||
self.strategy.stoploss)
|
||||
|
||||
Reference in New Issue
Block a user