Support Board
Date/Time: Fri, 27 Dec 2024 16:43:18 +0000
Post From: *Technical Issue* sc.GetTradePosition(PositionData) NOT updating PositionQuantity
[2016-03-30 03:41:52] |
User972044 - Posts: 154 |
Oh and btw, I call the s_SCPositionData PositionData and sc.GetTradePosition(PositionData); the two statements in the beginning of the program right after the (sc.SetDefaults) block but before the if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED){} block wherein I close and open trades and then within the if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED){} block, I call the two s_SCPositionData PositionData and sc.GetTradePosition(PositionData); the two statements again after exiting the trades. I don't know if this new information helps you. Thanks. |