limit Order Rejected by IB - Send again and again by MC

Questions about MultiCharts and user contributed studies.
rondot samuel ws
Posts: 103
Joined: 05 Sep 2007
Has thanked: 8 times
Been thanked: 6 times

limit Order Rejected by IB - Send again and again by MC

Postby rondot samuel ws » 01 Jul 2010

Hi,

I have a signal with order limit on GBL (Bund futures)

If the limit price is to far, the order is rejected/canceled by IB.

The problem is MC send again and again the same order every second for hours to IB.

May be if order is rejected because price is too far, it's better to send order not so often ?

Regards

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Postby Dave Masalov » 15 Jul 2010

Dear rondot samuel ws,

Sending of the order depends on your script. If your code sends the order on every new calculation, then the order is sent to a broker.

rondot samuel ws
Posts: 103
Joined: 05 Sep 2007
Has thanked: 8 times
Been thanked: 6 times

Re:

Postby rondot samuel ws » 10 Dec 2010

the order is not send again but my code. But It's cancel by IB (price too far or something similar) so MC send it again and again to IB after each cancel.

So it can send it every 2-3 seconds or more often...


Dear rondot samuel ws,

Sending of the order depends on your script. If your code sends the order on every new calculation, then the order is sent to a broker.

SUPER
Posts: 646
Joined: 03 Mar 2007
Has thanked: 106 times
Been thanked: 84 times

Re: limit Order Rejected by IB - Send again and again by MC

Postby SUPER » 10 Dec 2010

Dave, is absolutely correct and that is how it is supposed to work, if condition is true within a given bar then the order has to remain live.

You can achive what you are looking for by sending order when limit price is close or within limits of IB requirements and you have to control it through your script.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: limit Order Rejected by IB - Send again and again by MC

Postby Dave Masalov » 10 Dec 2010

the order is not send again but my code. But It's cancel by IB (price too far or something similar) so MC send it again and again to IB after each cancel.

So it can send it every 2-3 seconds or more often...
Dear rondot samuel ws,

Please post the line of the code which sends the order.


Return to “MultiCharts”