alexgolec / tda-api

A TD Ameritrade API client for Python. Includes historical data for equities and ETFs, options chains, streaming order book data, complex order construction, and more.
https://tda-api.readthedocs.io
MIT License
1.26k stars 335 forks source link

Update tda-generate-token.py to allow for manual flow #301

Open daanzu opened 2 years ago

daanzu commented 2 years ago

Selenium currently appears to raise a generic Exception with no installed driver. Also, allow for running manual flow if no drivers are installed.

alexgolec commented 2 years ago

Can you provide some code that demonstrates this issue? Also, please add tests to all PRs.

daanzu commented 2 years ago

As this fix is for the CLI authorization workflow, I'm not quite sure where to add the tests. They should be pretty clear from trying to run the manual workflow.