Support Board
Date/Time: Tue, 15 Apr 2025 14:08:50 +0000
ASCIL: Max Position Allowed Error
View Count: 59
[2025-04-07 21:27:05] |
Gradient - Posts: 118 |
Hi, I noticed my system was alerting new orders but the orders were never sent. I checked the trade service log and it stated that the new order would exceed the max position allowed. Per the trade service log, the max position allowed is 0. This is despite having an input that sets sc.MaxPositionAllowed. I tried hard coding the sc.MaxPositionAllowed and the error still persists preventing any new orders. What might be causing Max Position to be static at 0 despite hard coding sc.MaxPositionAllowed >0 I've attached screenshots of the TradeServiceLog Message as well as the hardcoding of the Max Position Allowed. |
![]() ![]() ![]() |
[2025-04-08 00:19:45] |
ForgivingComputers.com - Posts: 1040 |
The issue could be that you used sc.MaxPositionAllowed. The correct setting is sc.MaximumPositionAllowed = 1;
The default is 5 if you do not set it. |
To post a message in this thread, you need to log in with your Sierra Chart account: