"/profit N" command should print best pair for the same period of time, not for all trades

This commit is contained in:
Eugene Schava
2021-06-28 23:42:09 +03:00
parent 65d7e74888
commit d54de72471
2 changed files with 3 additions and 3 deletions

View File

@@ -381,7 +381,7 @@ class RPC:
)
profit_all_ratio.append(profit_ratio)
best_pair = Trade.get_best_pair()
best_pair = Trade.get_best_pair(start_date)
# Prepare data to display
profit_closed_coin_sum = round(sum(profit_closed_coin), 8)