Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 18:29:00 +0000



Tracking Commission

View Count: 500

[2020-04-13 08:16:07]
JohnStein - Posts: 11
Hi,

I am using the GetTradeStatisticsForSymbolV2 method to retrieve trade statistics for the chart that my study is hosted on. One of the fields I am trying to use in the structure that is returned is the TotalCommissions member, but it always seems to be 0. I have tried to set the commission on the instrument and also set a Global Round Trip commission but the value still always seems to be 0. I have also checked the Use Commission checkbox in the Trade Activity Log.

Is there something extra I should be doing maybe for this member to be populated?

Any help would be greatly appreciated.

John
[2020-04-13 10:49:00]
JohnStein - Posts: 11
I believe I found the solution. Setting the "Use Symbol Commission in Trade List and Statistics Calculations" in the Chart Settings->Advanced Settings 3 tab did the trick. The variable is now correctly populated.

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

Login

Login Page - Create Account