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

    • MEXC Referrl Code: Used as “mexc-rb”. It is the most used MEXC referrl code in the world, valid for life and with the highest discount rate. When registering to the MEXC cryptocurrency exchange, enter “mexc-rb” where it says “Invitation Code”. The transaction fee discount you will receive is 100%. You will also receive a $1000 USDT rakeback bonus. Cryptocurrency exchange MEXC Referrl Code: With “mexc-rb” you earn futures transaction fee discounts and spot and margin transaction fee discounts. You also get bonuses and many promotions. To invest and trade in the world of technology and finance, register now to the MEXC exchange with the referrl code “mexc-rb”.
    • MEXC Referrl Code: Used as “mexc-rb”. It is the most used MEXC referrl code in the world, valid for life and with the highest discount rate. When registering to the MEXC cryptocurrency exchange, enter “mexc-rb” where it says “Invitation Code”. The transaction fee discount you will receive is 100%. You will also receive a $1000 USDT rakeback bonus. Cryptocurrency exchange MEXC Referrl Code: With “mexc-rb” you earn futures transaction fee discounts and spot and margin transaction fee discounts. You also get bonuses and many promotions. To invest and trade in the world of technology and finance, register now to the MEXC exchange with the referrl code “mexc-rb”.
    • MEXC Referrl Code: Used as “mexc-rb”. It is the most used MEXC referrl code in the world, valid for life and with the highest discount rate. When registering to the MEXC cryptocurrency exchange, enter “mexc-rb” where it says “Invitation Code”. The transaction fee discount you will receive is 100%. You will also receive a $1000 USDT rakeback bonus. Cryptocurrency exchange MEXC Referrl Code: With “mexc-rb” you earn futures transaction fee discounts and spot and margin transaction fee discounts. You also get bonuses and many promotions. To invest and trade in the world of technology and finance, register now to the MEXC exchange with the referrl code “mexc-rb”.
×
×
  • Create New...
us