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

    • Elliott Wave Analysis Indices: Elliott Wave Analysis Indices: SP 500 and Nasdaq 100 Wave (4). No doubt there is bearish pressure on all current Indices patterns and based on that I look at the bearish Elliott wave pattern to lower ground, that said I also look at a slim but possible bullish pattern, that still has a little downside before recovery. Video Chapters 00:00 SP 500 (SPX)  SPY 04:51 NASDAQ (NDX) 08:12 Russell 2000 (RUT) IWM 09:14 DAX 40 (DAX) 11:20 FTSE 100 UKX (UK100) 15:51 S&P/ASX 200 (XJO) 19:01 End Analyst Peter Mathers TradingLounge™ Australian Financial Services Licence - AFSL 317817 Source: tradinglounge com    
    • Considering the current market trend around BTC, highlighted in your post, numerous traders are exploring alternatives. While some are capitalizing on the dip, BTC/ETH mining could offer a viable alternative for many. Nevertheless, I remain optimistic about the market's prospects.    
    • Investing in crypto is quite a thrilling venture if one has the right knowledge and the perseverance to handle the downside whenever they arise. Like any other industry, there are days when the going gets tough like we have been experiencing in the last couple of days. The sentencing of CZ to four months imprisonment might have also contributed to the market downturn due to his influence in the space however, the drop in price provides avenue for experienced traders to DCA and prepare ahead of market recovery. Coincidentally, there is an ongoing event on Bitget tagged "May savings carnival" where users can leverage to buy some specific tokens like USDT, BTC and ETH and earn incredible APR. This offer avails trader with prize pool of up to $1500 on their deposit if they meet the deposit requirement. Similarly, traders can subscribe to the exchange saving product and win a $500 Amazon gift cards. Personally, I feel this kind of events are geared towards giving back to the users in one form or the other as traders not only benefit from their trades but also receive cash prizes and gift which serves as a form of motivation to them. Have you won any of this cash prizes before? share your experience
×
×
  • Create New...
us