Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 10:33:46 +0000



s_ACSTrade structure

View Count: 855

[2019-03-23 08:37:04]
User99735 - Posts: 234
Hi,
Need to get the symbol name along with other data available in s_ACSTrade? Any work around for getting the symbol name for Historical trades?

Regards

Vivek
[2019-03-24 23:31:19]
bradh - Posts: 846
Any work around for getting the symbol name for Historical trades?

This should work if you have your symbols rolled over with continuous contracts:

SCString Chart_Symbol;
Chart_Symbol = sc.Symbol.GetChars();

[2019-03-25 04:55:21]
User99735 - Posts: 234
sc.Symbol will give the chart symbol, isnt it. What if the historical trades are on multiple symbols?
Can s_ACSTrade be updated with symbol name also?
[2019-03-25 15:36:17]
bradh - Posts: 846
sc.Symbol will give the chart symbol, isnt it. What if the historical trades are on multiple symbols?

ACSIL Studies are attached to the chart. You get the main symbol for that chart. Each chart can have its own copy of the study.

Can s_ACSTrade be updated with symbol name also?

No. You are looking at a list of trades for the chart only, not all trades.
[2019-03-25 18:01:24]
Sierra Chart Engineering - Posts: 104368
Since it is only possible to obtain Trades for the symbol and trade account the chart is set to, to determine the symbol use:
ACSIL Interface Members - Variables and Arrays: sc.Symbol
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
Date Time Of Last Edit: 2019-03-25 18:01:39

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

Login

Login Page - Create Account