mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
parent
3d6079ae19
commit
280737447c
|
@ -53,7 +53,8 @@ def import_kraken_trades_from_csv(config: Config, convert_to: str):
|
|||
# Load and combine all csv files for this pair
|
||||
for f in tradesdir.rglob(f"{name}.csv"):
|
||||
df = pd.read_csv(f, names=KRAKEN_CSV_TRADE_COLUMNS)
|
||||
dfs.append(df)
|
||||
if not df.empty:
|
||||
dfs.append(df)
|
||||
|
||||
# Load existing trades data
|
||||
if not dfs:
|
||||
|
|
Loading…
Reference in New Issue
Block a user