Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting driver error #66

Open
mcmug8 opened this issue Jan 28, 2025 · 2 comments
Open

getting driver error #66

mcmug8 opened this issue Jan 28, 2025 · 2 comments

Comments

@mcmug8
Copy link

mcmug8 commented Jan 28, 2025

ypeError Traceback (most recent call last)
~\anaconda3\lib\site-packages\tvDatafeed\main.py in __webdriver_init(self)
270
--> 271 driver = webdriver.Chrome(
272 self.chromedriver_path, desired_capabilities=caps, options=options

TypeError: init() got an unexpected keyword argument 'desired_capabilities'

During handling of the above exception, another exception occurred:

UnboundLocalError Traceback (most recent call last)
in
4 password = '*********'
5
----> 6 tv = TvDatafeed(username, password)
7
8 nifty_index_data = tv.get_hist(symbol='NQ',exchange='CME',interval=Interval.in_1_minute,n_bars=1000,fut_contract=1)

is it means it didn't prompt for password field?

@lucasfonsecads
Copy link

did you init the TvDatafeed passing the user and password?

@mcmug8
Copy link
Author

mcmug8 commented Feb 13, 2025

did you init the TvDatafeed passing the user and password?

I am not sure if the code hit the credential prompt or not. seems like it's missing such fields. any idea?

could be I was already logon from another session and didn't hit it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants