Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 12:48:25 +0000



My Limit order does not cancel and the end of the trading day

View Count: 880

[2017-02-19 12:38:58]
User953407 - Posts: 5

SCNewOrder NewOrder;
NewOrder.OrderQuantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_MARKET_IF_TOUCHED;
NewOrder.TimeInForce = SCT_TIF_DAY;
NewOrder.Price1 = fPivotPoint;

I am using the piece of code above to set up a market if touced order which I would like to be cancelled at the end of the trading day.
Unfortunately my order is not cancelled. Any ideas why?
[2017-02-19 19:49:27]
Sierra Chart Engineering - Posts: 104368
Simulated orders within Sierra Chart do not cancel at the end of the day. But that capability is going to be added. Although the question is what is the end of the day. It will just be considered midnight.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-02-19 19:52:13]
User953407 - Posts: 5
Thanks for the reply.

Will they be cancelled in live trading?
[2017-02-19 20:29:22]
Sierra Chart Engineering - Posts: 104368
Yes for sure. This would be handled by the exchange.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account