nickmccullum / algorithmic-trading-python

The repository for freeCodeCamp's YouTube course, Algorithmic Trading in Python
2.35k stars 2.37k forks source link

cannot download secret.py #65

Open albert780304 opened 6 months ago

albert780304 commented 6 months ago

I cannot download secret.py when I clicked the link in the file. Would you fix it? Thanks

joethesaint commented 1 week ago

Here is what you would do:

It worked for me and I hope it does too for you.

And if it is to work, move the file from your download section in your PC or wherever it is downloaded at and place it in the same folder as the practice files. You may likely encounter an error that I did which is numpyraising an error saying ImportError: cannot import name randbits. And this is about the secrets.py file having the naming convention of one of the dependencies numpy is using so you got to rename your secrets.py file to something like secrets1.py so as to make it to work.

Click here for the Stack Overflow solution