Support Board
Date/Time: Sat, 23 Nov 2024 12:26:58 +0000
ACSIL: s_SC_PositionData.PriorPositionQuantity is only returned by sc.GetTradePosition
View Count: 123
[2024-08-21 01:12:38] |
User900285 - Posts: 94 |
Hello, From what I am seeing, the PriorPositionQuantity variable is only filled in when using the sc.GetTradePosition() function. It is not filled in when using sc.GetTradePositionByIndex() or sc.GetTradePositionForSymbolAndAccount(). I am working on a study that aims to obtain the prior position quantity for each position in the account, and this does seem like the most logical way to obtain it. For now I can create a workaround using a persistent variable but I thought I could point it out in case it was an easy fix to add. |
[2024-08-21 22:56:00] |
Sierra_Chart Engineering - Posts: 17145 |
We had a look at this and there is not an easy solution to this at this time.
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: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use 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: