Support Board
Date/Time: Fri, 29 Nov 2024 04:55:18 +0000
Post From: sc.GetTradePosition() : from where does it get the data?
[2023-03-10 16:56:54] |
BenjFlame - Posts: 324 |
Let me reformulate. Each time this code is run: s_SCPositionData PositionData; int Result = sc.GetTradePosition(PositionData); int Quantity = PositionData.PositionQuantity; From where will it pull the PositionData information? From a local cache or from remote broker in the context of live trading? Because if this code must run on each chart update and pull the data over the internet from the remote broker, it might significantly slow down operations. I'm testing on the simulator so I'm not sure how it behaves but need to know. |