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

    • Gold Elliott Wave Technical Analysis Function - Counter-Trend Mode - Corrective Structure - Triangle for wave 4 Position -Wave 4 Direction - Wave 4 is still in play Details - Gold completes a triangle for wave 4. Thus, the commodity favors the upside in wave 5 if it escapes the trappings of the congestion. Invalidation remains at 2287.34 Gold has been sideways for over 11 weeks after retracing the bullish trend that started in October 2023. Meanwhile, the commodity is expected to break to the upside to continue the trend.    On the daily chart, a bullish impulse wave pattern emerged from September 2022 where the supercycle wave (IV) ended at 1616.9, From there, the supercycle wave (V) began. Wave I of (V) ended in May 2023 at 2081.8  before pulling back in wave II of (V) which ended at 1810.58 in October 2023. From October 2023 at 1810, wave III of (V) began and has since seen the commodity to fresh highs multiple times in the year 2024. Price is currently in wave 4 of (3) of III of (V) which has not completed a triangle pattern typical of 4th waves. Wave 5 of (3) is now expected to emerge upside toward 2576-2749.   On the H4 chart, the sub-waves of wave 4 are in a triangle sideways structure. Alternatively, it could be a double zigzag if the price breaches the triangle invalidation level at 2287.34. However, if the price remains above the invalidation level and breaks outside of the triangle, then we can expect the sub-waves of wave 5 to emerge into either an impulse wave or an ending diagonal pattern.   Technical Analyst : Sanmi Adeagbo  Source : Tradinglounge.com get trial here!  
    • Love how this cex is giving back to the community by providing a platform to connect, learn, and grow. Free insider knowledge, networking with crypto leaders, and exploring DeFi trends, Plus, some sweet BitgetBlue merch on top, This is a can't-miss event for any crypto enthusiast in the Balkans.
    • Great, thanks for your answer @KoketsoIG, So IG would automatically hold back 15% dividend withholding tax on the dividend ex-date? I would then need to complete a W8BEN form to submit to IG on an annual basis?
×
×
  • Create New...
us