(there was some doubt whether a trailing stop would work on a time frame of 1 second but, it works as it should with both IG and IB)
No Sir, it does not. Not at all. As I said in the other thread, this won’t sustain an hour (and I meant a trailing of an hour in a row – thus 3600 times).
(this is no guarantee of course, as it depends on various bottlenecks under way, which vary throughout the day)
But if you want to depend on this only because you
think it works ? please go ahead. You will find your System kicked out and possibly a reversed order because
- PRT kicked out your order;
- The pending order will be executed after all, but later (now you will be Short while flat was intended).
Ad 2.
If I would be able to find back the situations, I could show you the entry of such order of many minutes later. This is because the original Pending Stop etc. order is not regarded Pending any more (also see towards the end of this post) when the formal control (by PRT ID) disappears (the ordering itself already did not work – think about this; when it finally comes through at the exchange, PRT has long gone disappeared (because it kicked out itself)).
What is new since June 17, is that the position will be kicked out as well. Think like this for the difference :
Prior to June 17 – and with the setting “let position remain when system is kicked out” – a double order would have been put (one intended by your system, the next only intended if the first was processed – which it was not due to lag in the whole chain).
System gets kicked out but position remains. Now the first order at the broker comes through (all is buffered), the price is touched and you’re Flat. Now the second order comes through probably at the same price hence time – now you’re Short.
Since Jun 17 (no setting any more for sustaining the position and position will always be cancelled by market order from PRT), System will be kicked out and position will be cancelled. Now first order comes through and you’re Short right away. Then second order comes through, and you’re Short by 2.
This is what I expect – I never tested this.
In all cases, this is what happens :
- You put a new pending order (in our example each second);
- The order needs to be confirmed by the broker. Note : if that won’t happen in time, your system will be kicked out.
- #2 does not happen, but you are in the next bar and again submit a pending order. You now formally have two pending orders.
- During the course of the 2nd bar (right after you submitted the order in the first bar), PRT will notice that there hasn’t been any confirmation (IB is too slow) and kicks you out.
Do notice that as PRT user we
think that we need to put a new Pending order each bar because else it automatically disappears, but this is not so; What happens in practice is that the earlier Pending Order is explicitly cancelled prior to obtaining (but read : submitting) the new Pending order (and this too requires conformation by the broker). Also : an order which formally has not been accepted at the exchange, can obviously not be cancelled. It is here where PRT detects the communication to be in error and kicks you out.
Start up TWS, put on your headphones, and
listen to what happens for real.
Now let’s be honest and just observe what happens in practice. Btw, not in IB Papertrading of course;
If you have a 1 second Pending Order system, it is very likely that in one minute you will at least see one time a longer or shorter delay. You can see this by the order label being greyed out for that while. The next part is easy : as soon as this delay takes more than one second, havoc is your share.
I have the example with 1 minute systems just the same. And so much so, that it is not doable to have any such Pending orders within IB. Eventually they will all fail for this reason.
Side note : around 6:30 Amsterdam, IB always resets. This often lasts less than one minute but it also can take longer. So there goes your one minute system. Out. But it needs to be in the trailing stage, obviously.
This can, of course, be anticipated in the coding (don’t put pending orders around that time).
Now please go ahead and have fun … 🙂