Introducing 'streamer' #313
Replies: 4 comments 1 reply
-
Hi, First, thank you for you amazing work :) I have a problem with Lightstreamer (it's OK with Rest API) , and I don't understand how it works and how to stream prices. I try to run sample-ticker but it doesn't work for me (I'm a newby in python dev) Can you explain me how to stream price (eg: IX.D.NASDAQ.IFE.IP) in demo IGTrading? ps: I try with IG companion Streaming, and it works fine. Thank you very much for your answer. FX Here the message from the code:
|
Beta Was this translation helpful? Give feedback.
-
Can you please read this page and then give us LOTS more details:- Also, my understanding is that the sample works with Spreadbet accounts, not CFD accounts. That is probably the best place to start looking. |
Beta Was this translation helpful? Give feedback.
-
Hi galburn, Thank you for your quick answer ! You were right when you said: "Also, my understanding is that the sample works with Spreadbet accounts, not CFD accounts. That is probably the best place to start looking." How can I modify the code in order to stream CFD price ? Thank you again for your kindness :) FIY, here the code with rich table (I do it on PyCharm CE, MacBook Air M2) :
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. I'll try to find a solution. And if not, I think I will request a dev for this. Thank you again for your answer Wish you a great day |
Beta Was this translation helpful? Give feedback.
-
streamer is a new way to connect with the Streaming API. It provides higher level classes and objects - the idea is that it will be easier to deal with the Streaming API in a real trading app.
Currently we have support for the CHART part of the Streaming API, via a
ticker
object. Aticker
is:In future, further support will be added for the other Streaming API functions: MARKET, TRADE, ACCOUNT
To see example use, see
Beta Was this translation helpful? Give feedback.
All reactions