rejected orders

19 posts / 0 new
Last post
bllamb
rejected orders

I'm testing a trading app in the demo account, but occasionally an order is not accepted - the status is - rejected: 11

What does this code mean, and why is the order being rejected?

Chris
Re: rejected orders

Hi bllamb

Error code 11 is a generic error and could be caused by various things. Can you please use the Contact Us form on the left, and give us some details such as the time/date/market etc?

Chris

dn355
I received a rejected : 11

I received a rejected : 11 this morning. Any ideas what could be causing this?

PascalSonia
Rejected - Unknow

Hi Chris,

I have a similar problem with my demo account.

I work on 20 values (forex, indice)

For the most of them, I have this result (This is a sample of my log file with API command and result):

15:42:00;API CMD;"{"epic":"IX.D.SPTRD.IFE.IP","expiry":"-","direction":"BUY","size":"10","currencyCode":"EUR","orderType":"LIMIT","level":"4.3","stopDistance":"2.1","guaranteedStop":"false","forceOpen":"true"}"
15:42:00;API RSP;"{"dealReference":"RG54QUU55D8V39G"}"

15:42:01;API RSP;"{"status":"OPEN","reason":"UNKNOWN","dealStatus":"REJECTED","epic":"IX.D.SPTRD.IFE.IP","expiry":"-","dealReference":"RG54QUU55D8V39G","dealId":"DIAAAAAL4K7T3A5","affectedDeals":[],"level":2126.53,"size":10.0,"direction":"BUY","stopLevel":2124.43,"limitLevel":null,"stopDistance":2.1,"limitDistance":null,"guaranteedStop":false}"

With the result "REJECTED-UNKNOW", there is no indication to correct the order !!!

Is it due to my account or any other reason ?

Thanks

dn355
Hi PascalSonia, What does

Hi PascalSonia, What does it say in the "Activity" tab in the demo UI. Any further info there?

PascalSonia
<>

Nothing is raised in the activity tab.

On all the mini forex, there is only two values with a accepted trade. All other are 'REJECTED' each time

PascalSonia
Thanks dn355

Ok, after a quick check, I found the following result :
21/05/2015 15:41 Ordre US 500 au comptant (Contrat 1€) - Public API OTC E 10 2126.53 2124.43 N - Rejeté: Stop ou limite invalide

So, I have an idea to correct my problem.

Thanks dn355

offthelip
More Rejected 11

I have also received a load of "Rejected 11" messages today. I was running two version of the same software one on my live account and one on my demo account ( on different computers) . They both came up with rejected 11 messages at the same time. Eventually they both succeeded in placing the trade.
See below:
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11400.8 11371.79961 N - Position opened: 2TQG35AY
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11399 11369.99961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11399.5 11370.49961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11400 11370.99961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11399.3 11370.29961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11396.5 11367.49961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11396.8 11367.79961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11397 11357.59961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11398 11358.59961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11400 11349.99961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11403.5 11353.49961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11404 11353.99961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11405.5 11355.49961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11407.3 11351.29961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11409.3 11353.29961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11409.5 11353.49961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11409.8 11353.79961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11411.8 11355.79961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11410.3 11349.29961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11413 11351.99961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11412.8 11351.79961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 2 11415 11353.99961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11407 11376.59961 N - Rejected: 11
11/06/2015 13:30 Market Order Germany 30 DFB API £ 3 11397.5 11367.09961 N - Rejected: 11

Chris
More Rejected 11

Hi offthelip,

Rejected 11 message can occur for a number of reasons. It may be that we are unable to accept trades on a certain market, that we have disabled all API trades or that there has been an error with the trade submission.

If you encounter this again, or would like us to look into a specific trade, please use the ‘Contact Us’ form, and provide a Deal ID and we’ll check the logs.

Thanks,
Chris

ACH
Rejected: 11

Just like ofthelip I'm getting lots of these messages as well, several a minute. I've posted a screenshot to Screencast for you to view:
IGRejected11

Basically one deal (MEU35AAT) manages to get through and all the others fail. I'm hoping that by looking up that one successful deal and then at all the other messages for that account you'll be able to track down what is going on here because at the moment as it stands the API is unusable.

Hope you can help!

falex
Ouch I see that we are

Ouch I see that we are several to get the same pb.

Can you send us some explanation ?

Each time I4ve got this error is when I try to change de StopLimit.
Seems to be very buggy on EURUSD but not at all on DAX(5€)

Chris
Rejected: 11

Hi both,

Can you please provide as much detail as you have available via the 'Contact us' or by emailing helpdesk.uk@ig.com, with the subject line Error 11. Please avoid posting any confidential/personal details on the Community.

Once we received we'll take a look into the rejections you have been receiving.

Thanks,
Chris

falex
Ok Chris,

Ok Chris,

I'll check if I still got the bug, there was less Error11 on july

falex
I've try at lunch time with

I've try at lunch time with EURUSD (mini) : No pb the StopLimit has been successfully set ...

I keep an eye on that.

blitzjoker
Error 11

I had this problem today. The response from support was that it was because the api is turned off in periods of high volatility, and for 45 seconds at the end of each hour.

belfort
"...the api is turned off in

"...the api is turned off in periods of high volatility, and for 45 seconds at the end of each hour."

I am suffering from this a lot on sprint markets. My strategy calculates positions at minute candles. If I send a position at 12:00:00 it will be rejected. If I retry every second, it will be rejected until 12:00:45 more or less. For positions with one or two minute expiration this is obviously bad.
If I start some seconds before, like 11:59:56, sometimes it is accepted and sometimes it is rejected for those 40 or 50 seconds, so the start of the blockage is also not clear. Very disappointing...

Jonny132
Hi,

Hi,

thanks for this statement. I never knew why these rejected-orders in my mind randomly occured.

Is there a reason why it's always at start of a new hour? Because this is really bad timing - some of the best opportunities happen there.

Is this considered as bug and will be fixed or do we have to live with this 'feature'?

Thanks!

effbiae
Announcements (like

Announcements (like unemployment - that affects FX markets) are often made on the hour giving rise to high volatility.

It seems that IG is at risk in times of high volatility and so they halt trading. Fair enough - that's how they manage their OTC business.

IG also offer DMA ("PureDMA") where they are not exposed to risk - the customer is exposed to risks such as high volatility in the underlying market.

I'm sure IG is aware of their competitors' business models and know that they are in a competitive market. I don't want to sound like I'm an IG 'insider' - I'm not - but changing IG's products and policies require significant analysis to ensure they can run a profitable business.

I'm evaluating IG's products along with offerings like other derivatives markets and traditional brokers.

Cheers,
Jack.

belfort
This is happening to me also

This is happening to me also on half-hours, like today at 9:30 GMT, when there were no relevant economic events

Log in or register to post comments