Remove unused parameters

This commit is contained in:
Leif Segen
2020-11-27 22:18:49 -06:00
parent afb795b6f5
commit 91b4c80d35
2 changed files with 4 additions and 6 deletions

View File

@@ -43,7 +43,6 @@ class PerformanceFilter(IPairList):
:param tickers: Tickers (from exchange.get_tickers()). May be cached.
:return: new whitelist
"""
# Get the trading performance for pairs from database
perf = pd.DataFrame(Trade.get_overall_performance())
# update pairlist with values from performance dataframe
@@ -53,6 +52,5 @@ class PerformanceFilter(IPairList):
sorted_df = list_df.join(perf.set_index('pair'), on='pair')\
.fillna(0).sort_values(by=['profit', 'count'], ascending=False)
pairlist = sorted_df['pair'].tolist()
return pairlist