Jump to content
  • 0

Using the Streaming API with python for Data Account


Djfab23

Question

Hello,

 

A similar question had already been asked on the forum but the only answer was to go to a link https://labs.ig.com/community but the Streaming API part does not work. So no answer to my problem.
I'm new to python and I think I still have to make a lot of progress because despite my simple request I can't get what I want : Recover data from my account (pnl deposit, availabe cash, margin, etc... ) in streaming. In REST no problem.
I don't think I'm the first to want this and if someone who knows how to do it can explain to me how to do it I would be really very grateful.

Cordially.

Link to comment

3 answers to this question

Recommended Posts

  • 0

Hello bug-or-feature,

Thank you for your answer and I will invest the code you provided me.

Because for the moment I had arrived at the step to connect to Lightstreamer after having retrieved the CST, x security token, account ID and the address of the Lightstreamer server returned by the /session API. But connection error.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • image.png

  • Posts

    • Binance Referns Kod: “VO2P1RYP” olarak kullanilir. Dünyada en çok kullanılan, ömür boyu geçerli, en yüksek indirim oranına sahip Binance referns kod udur. Binance kripto para borsasına kayıt olurken “Referns Kimliği” yazan yere “VO2P1RYP” yazınız. Alacağınız işlem ücreti indirimi % 116'dır. Ayrıca 600$ USDT komisyon iade bonusu alacaksınız. Kripto para borsası Binance Referns Kod: “VO2P1RYP” ile vadeli işlem yani futures işlem ücreti indirimleri ve spot ve marjin işlem ücreti indirimleri kazanırsınız. Ayrıca bonuslar ve bir çok promosyon kazanırsınız. Teknoloji ve finans dünyasında yatırım ve ticaret yapmak için hemen Binance borsasına: “VO2P1RYP” referns kod u ile kayıt olun.
    • As sustainability continues to shape investment strategies, two standout ESG (Environmental, Social, and Governance) stocks to consider in 2024 are Tesla and NextEra Energy. Tesla (TSLA) remains a leader in the electric vehicle market, driving the transition to sustainable energy with its innovative technologies and strong commitment to reducing carbon emissions. NextEra Energy (NEE), one of the largest producers of wind and solar energy, exemplifies strong environmental practices and governance, making it a top choice for ESG-focused investors. Both companies are well-positioned to benefit from the increasing global emphasis on clean energy and sustainability initiatives.
    • the trajectory of the price has been good lately. this seem to be a good investment for all parties.
×
×
  • Create New...
us