Authenticating in Jupyter Notebook #179
|
Hi. I've pip installed td-ameritrade-python-api into a jupyter notebook and was trying to follow the instructions for authenticating from the pypi site. Unfortunately, the instructions seemed to have in mind the use of an entire python script and terminal. Is there a way to authenticate from jupyter notebook? |
Replies: 3 comments
|
I was able to do that, but when I try to run some simple functions of the library, it returns None. For example: Based on reading other "Issues" in this github, I think it has to do with the manual reauthentication(copying the redirect url from the search bar) but the instructions for it only work for a terminal... |
|
Nevermind. I believe I solved it. I just looked at the code, and manually used the 'oath' function in the notebook. Then I followed the instructions of taking the url and putting it into the input() bar in order for the function to parse through it. |

Nevermind. I believe I solved it. I just looked at the code, and manually used the 'oath' function in the notebook. Then I followed the instructions of taking the url and putting it into the input() bar in order for the function to parse through it.