Hello,
in order to avoid a lot of crazy IB commission when I cancel or modify an order (specially on DTB exchange), I started using "Emulate Stop Order locally". I noticed that I get a "Time in Force - Unspecified" message from MC.
All of my orders have TIF DAY but, using the Emulate function, the orders remain even if the markets are closed.
Is it possible to cancell the orders at the close of the market?
Thank You in advance.
fede
TIF Unspecified - Cancel Order at the end of day [SOLVED]
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: TIF Unspecified - Cancel Order at the end of day [SOLVED]
Hello, fede,
When "Emulate Stop orders locally" feature is enabled MultiCharts does not assign any TIF value to emulated orders, that is why you can see the "Time in Force - Unspecified" value.
It is true both for auto and manual trading. All TIF information is processed by the broker, not by MultiCharts. MultiCharts doesn’t cancel the orders based on their TIF.
The orders are valid at broker while they are sent by the strategy. If you want to cancel the order — stop sending it from the code (make the conditions for order generation invalid).
Orders can be cancelled by the broker based on TIF if they reside on the broker end.
When "Emulate Stop orders locally" feature is enabled MultiCharts does not assign any TIF value to emulated orders, that is why you can see the "Time in Force - Unspecified" value.
It is true both for auto and manual trading. All TIF information is processed by the broker, not by MultiCharts. MultiCharts doesn’t cancel the orders based on their TIF.
The orders are valid at broker while they are sent by the strategy. If you want to cancel the order — stop sending it from the code (make the conditions for order generation invalid).
Orders can be cancelled by the broker based on TIF if they reside on the broker end.