Jump to content
  • 0

Created a Demo account with API access - don't see API orders in the platform


Rene

Question

HI,

I have API access on my demo account, and I'm able to open a OTC position. The result is "Accepted". 
However, I don't see this order in de demo-platform. It seems like these are not the same environments.

Any ideas how to troubleshoot or fix this?

Thanks,

René

 

  • Like 1
Link to comment

3 answers to this question

Recommended Posts

  • 1

Hi,

that an order is accepted does not mean that it will be filled. As you are aware, after opening a position with the /otc endpoint, you will get a dealReference – described in the API as an "unconfirmed trade".

With the reference you will have to check if either a confirmation or an error message is available. The recommended way is to use the LightStreamer API, otherwise you can poll the /confirms/ endpoint. See

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

Link to comment
  • 0

Thanks mf2,

I found the /confirms endpoint. It didn't quite solve the problem. It seems that the platform is actually connected to a different account.  I used the stream-companion to get the updates of the trades.

Thanks,
René

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
  • General Statistics

    • Total Topics
      22,982
    • Total Posts
      95,296
    • Total Members
      43,587
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    aroyi
    Joined 22/09/23 03:49
  • Posts

    • Additionally, you can explore SMM services, which offer the cheapest instagram comments and followers. This can expand your audience and drive traffic to your website through your Instagram page. By diversifying your approach, you can strengthen your online presence and attract more users to your site. 
    • Some indices in Asia saw a modest rebound, but the ASX200 and Nikkei continued to fall, following on from yet more heavy losses in the US. Stocks continue to take a battering from the realisation that the Fed would leave US rates at their current levels for a longer period than previously thought, leading to a reversal in equities and a resumption of the losses seen in the early part of September. Today's data is dominated by flash PMIs from around the globe, in the wake of a Bank of Japan statement that left policy unchanged and maintained its dovish outlook. While US futures have recovered slightly, European markets seem set for a choppy open.  
    • Howw? What's the cirteria? Sorry, I was out of the market because of my exam! 🥲
×
×
  • Create New...
us