mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
converter: use new trades_df_remove_duplicates
This commit is contained in:
parent
6243c0e4bb
commit
1a4eabc0bb
|
@ -392,8 +392,8 @@ def clean_duplicate_trades(trades: DataFrame, timeframe: str, pair: str, *,
|
|||
# group by index and aggregate results to eliminate duplicate ticks
|
||||
# check if data has duplicate ticks
|
||||
logger.debug(f"Clean duplicated ticks from Trades data {pair}")
|
||||
df = pd.DataFrame(trades_remove_duplicates(
|
||||
trades.values.tolist()), columns=trades.columns)
|
||||
df = pd.DataFrame(trades_df_remove_duplicates(
|
||||
trades), columns=trades.columns)
|
||||
|
||||
#
|
||||
# from freqtrade.exchange import timeframe_to_minutes
|
||||
|
|
Loading…
Reference in New Issue
Block a user