Hello,
When running a strategy I keep getting an "Order Event Warning" (see attached). How do I correct this problem?
Also one bad tick makes the charts useless, is there a way to filter bad ticks?
Thanks
Strategy Message
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
-
- Posts: 407
- Joined: 01 Jan 2008
- Been thanked: 3 times
I suggested a bad tick filter last Spring I think, it's a seriously needed tool. Especially needed for stocks after hours, check aapl some time after hours. (IB data)
I found most of the bad ticks occur outside of normal trading hours, so I limit my charts to regular trading hours. (I hate doing that)
I found most of the bad ticks occur outside of normal trading hours, so I limit my charts to regular trading hours. (I hate doing that)
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Re: Strategy Message
Dear iso,Hello,
When running a strategy I keep getting an "Order Event Warning" (see attached). How do I correct this problem?
Also one bad tick makes the charts useless, is there a way to filter bad ticks?
Thanks
MultiCharts simply displays messages that it receives from TWS. Try placing the same order (with the same parameters) on the same symbol and around the same time directly in TWSМ and see what message it will show.
If the message is the same, simply contact IB.
If there will be no such message, please let us know.
Regards.
The warning messages are there for good reasons and I don't think there is anyway you can disable them.The message in gray is correct. That is how the strategy works. I have hundreds of the other messages popping up every minute. I need to find a way to disable them.
Without having any further information about your order type and code it would be difficult for anyone to help you out. My guess is that your strategy is generating/replacing orders at every tick.
The message about the order being canceled is correct, the strategy places stop orders and it checks every new bar if it needs to be updated, if it needs to be updated it will cancel the existing order and replace it with a new order. If there is a way to have an order moved instead of canceled and replaced please let me know. It is the order event message that I am trying to make stop. It says attribute "outside regular hours" is ignored. Where is MC getting that attribute from. I checked all of my order settings and I don't have anything set to "outside regular hours". Any help would be appreciated.
Thanks
Thanks
The message about the order being canceled is correct, the strategy places stop orders and it checks every new bar if it needs to be updated, if it needs to be updated it will cancel the existing order and replace it with a new order. If there is a way to have an order moved instead of canceled and replaced please let me know. It is the order event message that I am trying to make stop. It says attribute "outside regular hours" is ignored. Where is MC getting that attribute from. I checked all of my order settings and I don't have anything set to "outside regular hours". Any help would be appreciated.
Thanks
"Outside regular hour" feature is something MC did not have in its earlier versions and it was incorporated later on request as you will appreciate without it was not possible to trade 24hr markets products like e-mini's etc and I don't expect or would want these feature removed.
By the way "outsie regular hour" is generated by IB and not MC.
Your orders will get renewed/replaced on each new bar-which is normal, it can be a enoying if you are using small time interval.