Support Board
Date/Time: Thu, 28 Nov 2024 01:49:50 +0000
Post From: Skip/Cancel Downloading Data During Backtests
[2024-06-19 13:02:34] |
gtaranti - Posts: 69 |
Thanks Sierra_Chart Engineering for trying to look into this. For the time being I have sucessfully tackled the issue (see post #14 in this thread) To understand this better, let me say that I've created an automatic backtest runner custom study, in where some inputs of the actual trading custom study are changed (ie. Smooth Moving Average length range from 10 to 20). The time period is 2020-now, symbol NQ 100, tick data. The file size of the files is significant (~1.2Gb each) and I needed as accurate backtests as possible, that's why I opted for the settings in post #5. Each backtest with these settings, takes a couple of hours, so automating them to run back-to-back was something that I wanted. My chartbook has one chart (on which the custom auto trading study and the backtests runner study are on) and 4 other charts which have different timeframes of the the same symbol and I use them in the main auto trading study. The issue which I had was that after the first backtest, all charts in the chartbook showed the message "Downloading Continuous Contract Data" and stuck there forever (I mean hours). I had to go to each chart and select Chart >> Reload and Recalculate for the backtests runner study to go on and perform the next run (which it did) After adding the relevant code of post #14 which is executed when the sc.GetReplayHasFinishedStatus() condition is true, my issue is resolved. If I ever have this problem agian, I will follow your suggestion of posting Message Log contents. Thanks again. |