Date/Time: Wed, 25 May 2022 04:38:19 +0000
sc.GetTradeList crashes SC
View Count: 1305
|Hendrixon - Posts: 130|
std::vector <s_ACSTrade> TradesList;
for (int TradeIndex = 0; TradeIndex < TradesList.size(); TradeIndex++)
double ProfitLoss = TradesList[TradeIndex].ClosedProfitLoss;
Your above code example crashes SC, prior and latest 984 build.
By elimination it seems that the code line that does that is:
From where can I pull the value of AVG trade price line when using Flat To Flat?
Sierra Chart Engineering - Posts: 102855
1. We now recognize what the problem is. It has to do with the differences in compiler implementations of the vector class. We are going to have to reimplement this function differently. It is going to require code changes.
2. This is not supported.
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:
For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-06-10 20:57:24
To post a message in this thread, you need to log in with your Sierra Chart account: