-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Streaming Websocket Data #6
Comments
What does the subscription request look like? Also, what's the error you're getting? Keep in mind that it may be hard to test during the weekend, the API seems to give very different results on the weekend compared to the weekdays. |
Hi Alex, Here is the subscription request: ws.send("s+md+59392609") as mentioned here https://interactivebrokers.github.io/cpwebapi/RealtimeSubscription.html As you mentioned I waited until Monday morning in India when market opens at NSE and tried agin. I don't see any errors, but I'm not getting any response in on_message function. I've market data subscription for the markets as I'm getting individual ticker details. Whenever you got some time could you try connecting over websockets? Thank you, |
hey, just checking if you have endpoint for websockets in your lib? Thanks! |
I have the same issue and have tried opening a ticket with IBKR last week. No answers yet. |
Same issue. I can connect to the socket and send subscription messages but no response data is received. |
@sandybradley @benjaminpolk @vepak Code snippet:
|
Hello @pandaxbacon @areed1192 , I am getting this exact same data with the "topic : system, hb : 12234567", however, this is really not the data I am looking for. I am more specifically looking for tick data. I am using the web socket API in javascript and in my case the data comes in as a blob which I then convert to json. |
@pandaxbacon Random question, did generating the self-signed certificate alleviate issues when navigating to the login page. I remember it always was warning issues that it wasn't a secure page. |
I want get the same response using websocket.WebSocketApp and run_forever.
|
hi, by any chance was someone able to resolve this issue and if yes could you share the code ? |
Hi. I think I made the code work and I am successfully receiving the streaming prices.
You can see my working code below. Hope it helps.
|
This is very helpful, does anyone know how this is done in .NET? something like websocket sharpe |
Hi Alex, Great lib, thank you for making this. After watching your video series, I'm trying to get continuous market data from IB Websocket API. I could able to connect to Client Portal gateway and also connection to websocket is successful, but I'm not able to subscribe to any quotes. Below is the code I used.
Any guidance on where I might be doing wrong/missing? Thank you.
The text was updated successfully, but these errors were encountered: