-
Notifications
You must be signed in to change notification settings - Fork 79
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
Change in API? #36
Comments
|
Thanks for reporting this @miked63017 , I will have a look later today. |
Hi @boyan-soubachov are you able to get past this? Am I the only one getting these errors? I thought I had a workaround, I honestly don't recall what I changed because I was using my own scripts that weren't async, but it seems they changes something again, and now I cannot even sniff the traffic properly :-( Please let me know if you are able to use their websocket api at all, thanks! |
Also, AFAICT the added some kind of extra SSL/cert mechanism and I am getting connection closed on the websocket |
And...it randomly started working again. I didn't change any of the code but I was poking around the dxfeed example pages and using javascript injection via chrome dev tools to test my connection. https://tools.dxfeed.com/webservice/qtable-demo.jsp Basically I injected my token and the tasty url, then about an hour later I retested my python script since all the data seemed to look good and it just worked. Even more confused now lol |
I was getting this websocket error as well. I was able to fix it by adding a line to the account_events.py file |
Hi Mike, is this Boyans API still working for you? (It will help me to know so that I dont spend any more time on it coz I have some troubles already (i filed a bug rep 2)). thx |
I haven't been using it, switched brokers, sorry...
…On Fri, Jul 31, 2020, 10:07 AM fritol ***@***.***> wrote:
And...it randomly started working again. I didn't change any of the code
but I was poking around the dxfeed example pages and using javascript
injection via chrome dev tools to test my connection.
https://tools.dxfeed.com/webservice/qtable-demo.jsp
Basically I injected my token and the tasty url, then about an hour later
I retested my python script since all the data seemed to look good and it
just worked. Even more confused now lol
Hi Mike, is this Boyans API still working for you? (It will help me to
know so that I dont spend any more time on it coz I have some troubles
already (i filed a bug rep 2)). thx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHG7X6BCMP2ONHTBFXREC3R6LMZTANCNFSM4G26UPYA>
.
|
I saw something along the lines of this literally yesterday (1/25/21). It doesn't seem to be isolated to this package, it seems like it's an issue on the backend. When I saw this yesterday I was just using a mix of aiohttp calls and Postman and I saw it on both platforms. Symptom: Tastyworks API websocket errors just begin and end randomly. My Hunch: Pretty sure this is just instability with Tastyworks API Evidence: It really doesn't matter what language or product/platform you're using, it just seems to start happening randomly. You can swap from Python (requests/aiohttp) to Postman and you'll get the same websocket error. It just seems to happen. I think it may be how they handle their tokens or "sessions". Further Investigation: I haven't found a way to truly replicate this, so my troubleshooting has been limited to the tiny windows when it happens. |
Describe the bug
Looks like something changed in the websockets, on top of getting this Unknown Client error, I have also experimented manually and found that there are some other odd things going on like not receiving what you subscribe to.
To Reproduce
Run example.py with a symbol to quote
The text was updated successfully, but these errors were encountered: