Support Board
Date/Time: Mon, 24 Feb 2025 01:02:49 +0000
[User Discussion] - running backtests automatically
View Count: 679
[2021-02-25 12:37:27] |
User30743 - Posts: 365 |
Did anyone figure out how to run backtests automatically within SC? Let's say I have a system and I want to run dozens of backtests, with different inputs, on one market. Then the same on another market.. etc. I don't want to run the tests manually but in some sort of a loop. So I am looking for a solution. I have written to official SC support but no reply. So far I have tried python' s pywinauto but with not much success, I am going to dig deeper into it, but I don't know if it is even possible. I also got a tip to look at this https://www.autoitscript.com/forum/topic/197080-using-ui-automation-code-in-autoit/ but never tried actually. Anyone has a tip or experience with something? MAybe some GUI testing framework? Or maybe there is some workaround how to run it directly from some ACSIL script.. I don't know. But definitely, a big issue for me to solve, so any help appreciated. Date Time Of Last Edit: 2021-02-25 12:38:45
|
[2021-02-25 13:52:25] |
User907968 - Posts: 833 |
Or maybe there is some workaround how to run it directly from some ACSIL script
There are functions for controlling replay and setting inputs, search 'Replay' or 'Input' on this page - https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html, you also, for example, change the chart symbool using - https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scDataFile.Maybe amongst all of that there is enough to build an ACSIL study to run your backtesting process? |
[2021-02-25 15:02:47] |
User30743 - Posts: 365 |
which functions controling replay backtest/bar based backtest and inputs do u have in mind?
Date Time Of Last Edit: 2021-02-25 15:03:36
|
[2021-02-25 15:34:11] |
User907968 - Posts: 833 |
It is better if you use the search function in your browser on this page - ACSIL Interface Members - Functions - then read the information and determine for yourself what is suitable for your needs, as you know what you want to do. As an example though - ACSIL Interface Members - Functions: sc.StartChartReplayNew() ACSIL Interface Members - Functions: sc.SetChartStudyInputInt() |
To post a message in this thread, you need to log in with your Sierra Chart account: