Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 14:29:55 +0000



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

View Count: 369

[2023-01-30 21:20:54]
User900285 - Posts: 94
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: 94
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