Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 04:03:53 +0000



Post From: Flatten position not functioning in LIVE using ACISL

[2024-11-13 14:40:01]
Sierra_Chart Engineering - Posts: 17190
We apologize for the delay. This had gotten overlooked.

I am finding the two functions sc.FlattenPosition and sc.FlattenAndCancelAllOrders work fine in sim but do not work in live trading.
I am using the Teton Routing Service and enabled the option Hold Market Order Until Pending Cancel Orders Confirmed.
The first thing we were going to say is what is the value returned from these functions. And also check the Trade >> Trade Service Log for any error messages.

Also it is not necessary with Teton order routing to enable this:
Hold Market Order Until Pending Cancel Orders Confirmed.

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, use the Teton service:
Sierra Chart Teton Futures Order Routing