Hi,
i cant open and confirm an order successfully.
First step: Getting the dealReference
Request
{
"epic": "IX.D.DAX.IFMM.IP",
"expiry": "02-OCT-14",
"direction": "BUY",
"size": "2",
"orderType": "MARKET",
"level": null,
"guaranteedStop": "false",
"stopLevel": null,
"stopDistance": "10",
"forceOpen": "true",
"limitLevel": null,
"limitDistance": "7",
"quoteId": null,
"currencyCode": "EUR"
}
Reply:
{
"dealReference": "KHNCQ3Y9SXWVZGS"
}
Directly after retrieving the dealReference I'm trying to confirm the deal by using the reference. I get the following reply:
{
"status": "OPEN",
"reason": "MARKET_ROLLED",
"dealStatus": "REJECTED",
"epic": "IX.D.DAX.IFMM.IP",
"expiry": "02-OCT-14",
"dealReference": "KHNCQ3Y9SXWVZGS",
"dealId": "DIAAAAAW5N9M3A6",
"affectedDeals": [],
"level": 9289.0,
"size": 2.0,
"direction": "BUY",
"stopLevel": 9279.0,
"limitLevel": 9296.0,
"guaranteedStop": false
}
Any idea why i cant successfully get an order through? I also tryed a Limit order but still the same result.
Regards,
Digitrade
I have been having the exact same issue, tried Limit and Market Orders, and multiple indices.
Would really appreciate if someone would guide me in the right direction.
regards.
Hi shark_hussain, see my response to digitrade and let me know if this applies for your deal attempts too!
Chris
I tried 'DFB' for expiry, and it now works for Market orders. Thanks for your help Chris.
Hi digitrade,
For that particular, you need to enter a different "expiry" because it's a cash market. Use "-" instead. You can use the Companion App to search for an instrument's expiry, or see it on the IG platform under the 'Period' column.
Chris
Thank you, Chris. It also worked for me :)