Support Board
Date/Time: Sun, 03 May 2026 21:56:54 +0000
Post From: ACSIL - read state of trading lock triggered by Global Profit/Loss Management
| [2026-04-03 16:05:45] |
| curious16 - Posts: 46 |
|
I tried to use the new function sc.GetIsTradingLocked(account) after updating to the latest version v2895 and compiling the test code with the latest sierrachart.h headers that contain this function reference: //2893 int32_t (SCDLLCALL* GetIsTradingLocked)(const SCString& TradeAccount); This threw an access violation error. I tried with both sim and real accounts. It looks like either the function has not yet been implemented (but why is the reference in sierrachart.h) or it does not work as intended. Could you please clarify the situation. |
