jessecooper / pyetrade

Python E-Trade API Wrapper
GNU General Public License v3.0
209 stars 97 forks source link

Verification code #62

Open millionarecoin opened 2 years ago

millionarecoin commented 2 years ago

What are you inputting on verification code. Because if I enter say abc or 123 it doesnt take. Where to get this value from. oauth.get_request_token is giving me back this value:

token: https://us.etrade.com/e/t/etws/authorize?key=2b85989shjgdjhsgdhgs&token=66uucqXz5Nb6tsKmhdghghgd=

This piece of code is where it is not working.

verifier_code = input("Enter verification code: ")

verifier_code = token

tokens = oauth.get_access_token(verifier_code) print(tokens)

mw66 commented 2 years ago

check #56, esp:

https://github.com/jessecooper/pyetrade/issues/56#issuecomment-973304713

zlpatel commented 2 years ago

@millionarecoin You are supposed to use that url that is returned and go that that URL in the browser. Login using your etrade user/password. It will then prompt for a verification code which is valid for 5 minutes.

github-actions[bot] commented 4 hours ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.