Closed mmintel closed 3 years ago
Unfortunately, your logs don't really contain the relevant things. The conversation fails because no trade data is available.
you'll notice that for example for ETH/EUR, there's no *-trades.json.gz
in the data folder (usually user_data/data/kraken
).
The way data-download works for kraken (downloading trades) is as follows:
Unfortunately, the log above starts with the conversion - the "real" problem / error will have happened during download. Without that part of the log - it'll be difficult to know why data for ETH/EUR was not downloaded.
Unfortunately I don't have these logs anymore. If I understand you correctly the process wasn't able to create the data folder? Could be a permissions problem then?
I've tried reproducing this with a lower amount of trades and only one pair but that was saved succesfully. Guess I just have to run the command mentioned above again and see if I can reproduce it then.
if it worked for one pair, then permissions (on the folder level) are correct.
It can fail to write the data ... but it can also fail downloading the data - maybe because of a network "hiccup" - or an exchange API hiccup. krakens status page doesn't indicate this in the last week so it's pretty unlikely (unless it was limited to one geographical region)
The logs would tell where / what failed ... but i know the logs for downloading a lot of data can become verbose - so still having them is a question of luck if you didn't use --logfile datadownload.log
...
Ok good point then I will save the logfile next time and post it here.
I was running this again on a lower timeframe on my windows as well as on my mac and it worked out. For anybody else having this problem: Downloading from kraken takes ages so I recommend download the data instead and converting them. Going to close this now as I am not going to run this for days again :D
Describe your environment
python -V
)pip freeze | grep ccxt
)freqtrade -V
ordocker-compose run --rm freqtrade -V
for Freqtrade running in docker)Describe the problem:
After downloading data from Kraken I waited for around a day and then it crashed or skipped most of the pairs.
Steps to reproduce:
freqtrade download-data --exchange kraken --timerange 20200601-20210101 --timeframes 1m 5m 1h -v --dl-trades
Observed Results:
Relevant code exceptions or logs
Additional notes
I've also found this issue here https://github.com/freqtrade/freqtrade/pull/3971 but it seems the PR containing a potential fix doesn't address this one here.