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

Error when running the examples in example.py #56

Open
AlsaAnz opened this issue Jan 14, 2022 · 3 comments
Open

Error when running the examples in example.py #56

AlsaAnz opened this issue Jan 14, 2022 · 3 comments

Comments

@AlsaAnz
Copy link

AlsaAnz commented Jan 14, 2022

Hello, thanks for your work on this library. I have followed all the steps specified in the readme and I was able to successfully get the news data using the -n flag, I am however not able to retrieve any other data with any of the other flags, when I tried that I got this error : No data returned because Request: HTX,SPY,100,0,H_0000000000,100
, Error: Unauthorized user ID.

This error to me suggests that my authorization failed but I highly doubt that because when I ran the example with fake credentials, the result was different from when I ran it with the real credentials, in which case the iqfeed window opens up pre-filled and what seems to be authentication takes place.

Can you please share your thoughts on the above error.

Thanks.

@akapur
Copy link
Owner

akapur commented Jan 14, 2022 via email

@AlsaAnz
Copy link
Author

AlsaAnz commented Jan 21, 2022

You're right, after speaking with them I was able to solve this problem. Fantastic library by the way, my main challenge now is with getting the live data, specifically the level 1 streaming data using get_level_1_quotes_and_trades() and the live bar interval data using get_live_interval_bars(). I know that these functions call the watch() method and unlike the HistoryConn class don't directly return any data. I would like to know how I can return the data from the live API's to my application. Thanks.

@akapur
Copy link
Owner

akapur commented Jan 21, 2022 via email

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