Jump to content
  • 0

How to login to Demo SB account not CFD account


Sjg1234

Question

Hi,

I am using an api to connect to IG.  My UK account logs in with the demo api details straight to the CFD account.  When i use the live account details it logs staright into the SB account.

Does anyone know how i can set the demo api login to default to the demo SB account.  I have looked in IG interface and cant find a thing.

thanks,

Link to comment

2 answers to this question

Recommended Posts

  • 0
14 hours ago, Sjg1234 said:

Hi,

I am using an api to connect to IG.  My UK account logs in with the demo api details straight to the CFD account.  When i use the live account details it logs staright into the SB account.

Does anyone know how i can set the demo api login to default to the demo SB account.  I have looked in IG interface and cant find a thing.

thanks,

Hi @Sjg1234,

Please reach out to webapisupport@ig.com with your account ID. The demo account are usually auto allocated. The API IT team will be able to change the account for you.

Thank  you - Arvin

Link to comment
  • 0
22 hours ago, Sjg1234 said:

Hi,

I am using an api to connect to IG.  My UK account logs in with the demo api details straight to the CFD account.  When i use the live account details it logs staright into the SB account.

Does anyone know how i can set the demo api login to default to the demo SB account.  I have looked in IG interface and cant find a thing.

thanks,

You can use the REST API /session put method to switch the account (I am using this in my code and it works fine).

Check out the documentation for the Session endpoint then scroll down to the PUT method, here you will see how to set the defaultAccount  and accountId:

https://labs.ig.com/rest-trading-api-reference/service-detail?id=600

I hope this helps.

Edited by andysinclair
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

    • The digital landscape is undergoing a profound transformation as attention, once a freely given commodity, is increasingly recognized as a valuable asset. Layer3 is at the forefront of this revolution, pioneering a new economy where attention can be owned, traded, and monetized   This innovative approach empowers individuals to monetize their engagement, providing unprecedented control over personal data. Simultaneously, advertisers benefit from transparent metrics that optimize campaign performance. Content creators are presented with diverse revenue avenues beyond traditional advertising, while the overall ecosystem experiences a more equitable distribution of value.   The implications of Layer3 extend across various sectors. Social media platforms, for instance, can leverage this technology to revolutionize user engagement and monetization strategies. Tokenomics play a crucial role in driving Layer3's economy, incentivizing participation and rewarding value creation. While challenges such as data privacy and market volatility exist, the potential benefits of Layer3 are immense   Anticipation is building as its native token $L3 is on Bitget Pre-market as users await its listing on the exchange. This milestone is expected to significantly increase the token's visibility and accessibility, potentially driving substantial growth and attracting new investors. As the countdown begins, the crypto community watches with keen interest, eager to see how Layer3 will perform in this new chapter.
    • I've been exploring the world of play-to-earn gaming recently, looking for something that's not just about endless grinding but actually offers a fun and rewarding experience. OGC really stood out to me because it combines gaming with a sense of community in a unique way. OGC isn't just a game; it's a platform where you can play, earn, and even help shape its future. You're not just a player; you're part of a community with a voice. The idea of earning crypto while playing games is exciting, but what makes OGC special is its focus on community involvement. Your feedback can directly influence the development of the game, which is a big deal. I've also heard that the OGC token is available for pre-market trading on Bitget. While I'm still getting to know the platform and its features, it's definitely something to keep an eye on. Has anyone else tried OGC? What has your experience been like? I'd love to hear your thoughts and any tips you might have.
    • I am anticipating the impact of this listing on Mongy. 
×
×
  • Create New...
us