Login Page - Create Account

Support Board

Date/Time: Wed, 29 Jun 2022 00:03:08 +0000

Issue with ACSIL function GetTradeListEntry()

View Count: 64

[2022-05-17 14:13:29]
BrMa - Posts: 73
Dear ladies and gentlemen,

I'm trying to get some trade-information into an s_ACSTrade structure by using the function GetTradeListEntry() as soon as the trade has been closed.
The structure seems to be filled completely except for the field "commission".

Please see the two screenshots attached:
TradeActivityLog.png: I marked a trade in the trading-log showing that the commission is shown there - that's why I assume everything is set right from a SierraChart point of view
Debug.png: this screeenshot shows the debug-window of MS Visual Studio showing the s_ACSTrade-structure after calling GetTradeListEntry(). All fields make sense except the one for the commission.

Could you please take a look into that?
All information posted is out of a simulation-run using the replay-functionality - they are not real-time results.

If you need any further information please don't hesitate contacting me.

Thanks a lot for your support!
imageTradeActivityLog.png / V - Attached On 2022-05-17 13:59:57 UTC - Size: 28.95 KB - 29 views
imageDebug.png / V - Attached On 2022-05-17 14:00:13 UTC - Size: 13.71 KB - 28 views
[2022-05-17 21:54:13]
Sierra Chart Engineering - Posts: 103496
For the Trades list maintained in the chart, for it to consider commissions this must be enabled:
Chart Settings: Use Symbol Commission Setting in Trade List and Statistics Calculations (Chart >> Chart Settings >> Trading menu)
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

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


Login Page - Create Account