Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 02:01:29 +0000



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

View Count: 212

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