Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 23:36:32 +0000



TimeInForce Issue

View Count: 1613

[2013-12-19 22:26:34]
Bad Dog - Posts: 17

I am having trouble during auto trading. I am unable to set the TimeInForce to good-till-canceled. All orders are created as day orders:

// Create an s_SCNewOrder object.
    s_SCNewOrder NewOrder;
    NewOrder.OrderQuantity = Contracts.GetInt();
    NewOrder.OrderType = SCT_MARKET;
    NewOrder.TimeInForce = SCT_TIF_GTC;
    //Specify a Stop and target
    NewOrder.Stop1Offset = LongStop;
    NewOrder.Target1Offset = TargetOffset.GetInt()*sc.TickSize;

I am using IB as brokers and the IB presets are set to GTC. I am not getting any error messages from IB so I don't think it is a problem on the brokers side. Are there any settings in SC that could cause orders to default to day orders?

-BD
[2013-12-20 21:42:55]
Sierra Chart Engineering - Posts: 104368
Is the problem that the Attached Orders are day orders?
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
[2013-12-20 22:00:06]
Bad Dog - Posts: 17
Yes, the attached orders are day orders.
This happens both using simulated and non-simulated trading modes.

-BD
[2013-12-24 04:19:59]
Sierra Chart Engineering - Posts: 104368
We have to go through a test for this. And see what the issue is.
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
[2013-12-26 21:37:39]
Sierra Chart Engineering - Posts: 104368
The problem has been determined and resolved. We will have a new release out later today.
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