Support Board
Date/Time: Wed, 30 Apr 2025 07:51:22 +0000
Post From: Issue with sc.GetTradePositionForSymbolAndAccount() possible bug?
[2025-04-29 17:50:22] |
LTSys2 - Posts: 25 |
In the case of simulated trading, the position data in a chart will take some time to be received because there is an asynchronous request.
So when not in simulation mode this is not an issue? I'm just developing right now in simulation mode. As a workaround I put in a 15 second delay before letting the study fall into the code that does the trading. |