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
  • image.png

  • Posts

    • While browsing the web today, I stumbled upon the Apu Apustaja site, captivated by its melodious music and perfect rhythm. Intrigued, I delved into the project. APU stands out as a community-driven memecoin that emerged from the fallout of a rug-pulled project. Through unwavering dedication and transparency, the community resurrected APU, propelling it to become one of the fastest-growing memecoins, boasting a market capitalization of over $115M according to CoinMarketCap. A closer look reveals APU's ambitious aim: to emulate and surpass the success of PEPE. With leading exchanges like Bitget now listing APU, exposing it to a wider audience, it seems only a matter of time before this gem reaches a market cap of $500M or even $1B. What are your thoughts on this project? I encourage you to explore their website to get a firsthand glimpse of what I'm talking about.
    • Elliott Wave Analysis of Stock Markets: In today's update, I'm shifting focus to provide a broader perspective. With recent profit-taking in technology stocks, it's pertinent to examine the daily charts of major indices like the S&P 500 and Nasdaq 100, along with key tech companies including Apple, Tesla, Amazon, Nvidia, Microsoft, Meta Platforms, Netflix, and Alphabet. I'll discuss how these stocks are collectively aligning with their respective corrective pattern targets, offering a comprehensive view of the market's movements. Video Chapters 00:00 NASDAQ 100 (NDX) SP500 (SPX) 05:10 Apple (AAPL) 06:20 Amazon (AMZN) 06:57 NVIDIA (NVDA) 07:57 Meta Platforms (META) 08:53 Netflix (NFLX)  09:44 Alphabet (GOOGL) 10:49 Microsoft MSFT 12:44 Tesla (TSLA) 14:35 End Analyst Peter Mathers TradingLounge™ Australian Financial Services Licence - AFSL 317817 Source: tradinglounge.com   
    • Would love to grab it at a little bit lower ...
×
×
  • Create New...
us