tda-api
tda-api copied to clipboard
Rethink the getting started experience
People keep making the same errors over and over again. This ticket will record them.
Passing in directories instead of files to the token path, resulting in permissions errors when they attempt to open a directory in read mode. More inscrutable on Windows because that platform surfaces that error as a permissions issue for... some reason.
Passing in directories instead of files to the token path, resulting in permissions errors when they attempt to open a directory in read mode. More inscrutable on Windows because that platform surfaces that error as a permissions issue for... some reason.
Windows will throw this error regardless as to the mode you run on the directory.
Attempting to perform any file operation on the directory will throw the PermissionError
. I believe this is due to the fact Windows can't distinguish between a file and a directory like Linux can. This is just a limitation of the Windows OS.
But indeed, this is a very confusing error for beginner Python programmers.
Calling the variable token_path implies that the argument expects a path.
Passing in directories instead of files to the token path, resulting in permissions errors when they attempt to open a directory in read mode. More inscrutable on Windows because that platform surfaces that error as a permissions issue for... some reason.
Now that we've got more functionality, it would be good to add some more examples for people to emulate:
- Basic login
- Setting up a streaming service
- Recording a stream
- Fetching pricing data and importing it into a dataframe
Collecting some examples we'll want to add: #228 #227 #196
How about a conda package with installation support?