Login Page - Create Account

Support Board


Date/Time: Fri, 27 Sep 2024 07:26:30 +0000



ACSIL: Cancel a working order if it doesn't fill within so many bars or so many seconds

View Count: 995

[2016-02-06 12:38:18]
SSS - Posts: 16
Hello.

Is there a way to attach a deadline for a working order other than GTC and Day?

I want a working order to be cancelled if it does not get filled within X bars or within X minutes after it was issued. Is this possible?
[2016-02-06 18:47:10]
Sierra Chart Engineering - Posts: 104368
Yes this is possible but you have to program this yourself by canceling the order at the appropriate time.

We do not provide programming help for how to do this.
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
[2016-02-07 14:45:58]
SSS - Posts: 16
Thanks.

I'd been hoping ACSIL's built-in order management would replicate some of the features of Chart Trading internally. Chart Trading seems to allow not just GTC and DAY, but also "Immediate or Cancel" and specifying a DateTime for the exit.

I'd been getting errors trying to compile code that used "SCT_TIF_IMMEDIATE_OR_CANCEL". Up to version 1344, the definition was not even listed in the constants.h header file. Now with v1366 it seems the definition has been added. Maybe I can work with it now.

Thanks anyway.
[2016-02-07 18:22:45]
Sierra Chart Engineering - Posts: 104368
The Time in Force of Immediate or Cancel does not support a Date-Time. This is only when using Good till Date-Time.
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