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

    • Pepe (PEPE) is showing signs of a potential 60% rally as it tests a sliding resistance level, fueled by significant whale purchases. Successful breakouts may lead to a substantial 56% upward advance as whales accumulate during dips. However, caution is advised, with the bullish outlook dependent on maintaining support at $0.00000581. Recent price movements suggest Pepe's consolidation phase may be ending, potentially signaling a trend reversal. Confirmation of a breakout is crucial before anticipating further gains. Pepe price has oscillated between $0.00000581 and $0.0000109 for seven weeks, with a potential retest of the flipped range low indicating a possible uptrend continuation. A decisive break above the declining resistance level could drive Pepe towards $0.00000835, with a surge in buying activity potentially pushing the price to $0.0000109, representing a significant gain. Long-term investor sentiment is improving, with the 30-day MVRV indicating a shift in favor of acquiring discounted altcoins from short-term sellers. While the outlook for Pepe remains bullish, a breach of support at $0.00000581 could challenge the bullish narrative, potentially resulting in a 15% decline and retesting of lower support levels.    
    • I managed to find a reviews page: https://godloveuniversity.com/patrex-pro/#reviews - let me know what the view is. Seems amazing...
    • Please can someone help with explaining why my orders are being rejected? Bitwise Bitcoin ETF.       I also get the same error when trying to order PureFunds ISE Cyber Security ETF?    
×
×
  • Create New...
us