mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Improve comment on special handling
This commit is contained in:
parent
a2d8f92e05
commit
9e6cc5ebbd
|
@ -41,12 +41,12 @@ def import_kraken_trades_from_csv(config: Config, convert_to: str):
|
||||||
dfs = []
|
dfs = []
|
||||||
# Load and combine all csv files for this pair
|
# Load and combine all csv files for this pair
|
||||||
for f in tradesdir.rglob(f"{name}.csv"):
|
for f in tradesdir.rglob(f"{name}.csv"):
|
||||||
# print(pair, f)
|
|
||||||
df = pd.read_csv(f, names=KRAKEN_CSV_TRADE_COLUMNS)
|
df = pd.read_csv(f, names=KRAKEN_CSV_TRADE_COLUMNS)
|
||||||
dfs.append(df)
|
dfs.append(df)
|
||||||
|
|
||||||
# Load existing trades data
|
# Load existing trades data
|
||||||
if not dfs:
|
if not dfs:
|
||||||
|
# edgecase, can only happen if the file was deleted between the above glob and here
|
||||||
logger.info(f"No data found for pair {pair}")
|
logger.info(f"No data found for pair {pair}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user