Support Board
Date/Time: Fri, 20 Feb 2026 19:37:39 +0000
Post From: Symbol limits (position & order size) via ACSIL
| [2026-02-20 09:05:18] |
| curious16 - Posts: 36 |
|
Please provide clarification how the per-symbol order and position limits are applied, and how can the active limits be read via ACSIL. SC has two places where per-symbol limits (max position size and max order size) can be set: (a) In Global Settings > Symbol Settings. If a symbol has these limits set, a Custom.xml file is generated in the SierraChart/SymbolSettings folder. This file can, in principle, be parsed by ACSIL code. I so far did not find an ACSIL function to directly read these custom settings, does that exist? Setting a limit to zero removes the custom limit (applies the default settings). That is, a true zero limit (blocking a symbol from trading) apparently cannot be set in the global settings. (b) In Trade > Trade Account Monitor > Edit Trade Account. I assume that, for a funded live account, this can only be set by the broker - please clarify. For a test account using the SC Trading Evaluator service, I can set up these per-symbol limits. However, I did not find out how to read these limits via ACSIL, is there any way to do that? Here we can also set zero limits. I assume these really mean zero, i.e., a zero limit inhibits trading but please clarify. Given these two limit setting options, which setting takes precedence? Are both checked and the lower is used? It would definitely be helpful to have a method in ACSIL to read the symbol limits from the trade account. I checked the struct s_TradeAccountDataFields which contains basic trade account data but this does not include per-symbol limits. |
