I am currently following a udemy course on working with an API to collect historical data for a specified crypto currency.
So far everything seems to work, when I run the code it even shows in the terminal that the data has been collected for the specified currency.
The h5 file is created as binance.h5 in the data folder. But when I open this file with HDFviewer it seems like the data set is completely empty.
I have attached a couple of snippets. If you want to see the code I will include it as well, however there is a lot of stuff going on so I'd like to spare you the details.
To sum up this is what happens:
i) run the code
ii) see that the data has been collected
iii) kill the terminal
iv) open the newly created binance.h5 file with hdfViewer
v) realize the binance.h5 file is empty.