Page 1 of 1

Stops fluctuating dynamically with last trade price.

Posted: Aug 23 2012
by Splint
Hi,

I noticed something tonight that I've not noticed MC doing before, that is the stoploss price on a number of commodities is fluctuating up and down with the commodity price. It seems to be maintaining a buffer of a certain number of points away from the last trade price.

In the Orders page the stop price is changing but the order is shown as sent but it does not cancel and create a new order. It shows the same generation time but the stop is frequently changing. The change is appearing in TWS. It does seem quiet strange for it to be doing this. Have I got some settings wrong somewhere?

Cheers
David

Re: Stops fluctuating dynamically with last trade price.

Posted: Aug 23 2012
by Henry MultiŠ”harts
Hello David,

Please provide a sample code and workspace you are using for reproducing this behavior.

Re: Stops fluctuating dynamically with last trade price.  [SOLVED]

Posted: Aug 24 2012
by Henry MultiŠ”harts
The problem was that the price in the code is being calculated and the order is modified according to the price because of IOG mode on on some charts. On the other charts IOG was off->no intrabar calculation and order modification.