triestpa / Cryptocurrency-Analysis-Python

Open-Source Tutorial For Analyzing and Visualizing Cryptocurrency Data
https://blog.patricktriest.com/analyzing-cryptocurrencies-python/
363 stars 111 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'data/BCHARTS-KRAKENUSD.pkl' #4

Closed JafferWilson closed 6 years ago

JafferWilson commented 6 years ago

Kindly, help me, I could not find the way out. Here is the full trace image of the error:
screenshot from 2018-01-22 14-07-46

Please let me know the reason for this file not found and how to find or generate the file?

triestpa commented 6 years ago

Hi @JafferWilson, Have you created a local data directory yet for the dataset?

JafferWilson commented 6 years ago

@triestpa Yes, I have created it. But got many errors while running your code. I have got th error as I have mentioned and many other similar errors. Please let me know where to get all the pickle files. If you have then kindly share.

triestpa commented 6 years ago

@JafferWilson the get_quandl_data function downloads the data from Quandl, and saves it as a pickle file. The error above is about not finding a file - are you also getting an error during the step where it downloads the data?

JafferWilson commented 6 years ago

@triestpa oh.. yes. That worked..... thank you.

Elton-Lin commented 6 years ago

@triestpa Could you let me know that In what path should I create the "data" directory? Namely, where exactly would "pickle" store the downloaded file. Sorry I am really new to this. Thank you!

@JafferWilson I have the exact same problem as you, so could you kindly let me know how did you resolve it? Thank you!

JafferWilson commented 6 years ago

@Elton-Lin Try to use the proper API of Quandl with Python. Read the documentation from here:
INSTALLATION & AUTHENTICATION
Get Financial Data Directly into Python This will surely resolve your issue. And you have to make changes in the code for importing or downloading the data.

Elton-Lin commented 6 years ago

@JafferWilson Got it! Apparently I just needed the API key Thank you very much.

zaraag1 commented 5 years ago

@JafferWilson I'm getting the same error as yours, could you help me with the changes you made with the code to download data/BCHARTS-KRAKENUSD.pkl

lpstake commented 2 years ago

@JafferWilson @triestpa What changes are necessary to the code to resolve this?