Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 19:47:11 +0000



Post From: ACSIL function to read Trade Window values and Default Order Quantity

[2024-03-05 17:16:52]
User719512 - Posts: 227
Agree, hard-coding these in the code is not the best design approach. If this were my project, I'd put them in a file (probably json/csv) the study reads to map config names to properties. Another option is don't use the Sierra config at all and have your study read all the info it needs from such a file and perform all it needs to manage the trades and attached orders/etc. from code. Maybe not ideal for everything you want to do, but it could be a path forward. Without more context, hard to know for sure if any of this is a workable solution for you or not and given the availability of more API access to this from ACSIL.