Login Page - Create Account

Support Board


Date/Time: Wed, 28 Feb 2024 12:57:01 +0000



Prior Position Quantity not filled in with sc.GetTradePositionForSymbolAndAccount()

View Count: 202

[2023-01-30 21:20:54]
User900285 - Posts: 83
Hello,
It does confirm this in the documentation for the function but it would be nice for it to fill in all, or most of the members of the s_SCTradePosition structure.
Just like sc.GetTradePosition() does. I have come up with a way around this for now but it is just for convenience.
[2023-01-30 23:46:09]
User900285 - Posts: 83
It also seems that sc.GetTradePositionByIndex() does not return the PositionDataWithAllWorkingOrders member into a s_SCPositionData structure.
No issue, just reporting my finding.

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

Login

Login Page - Create Account