-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$use_toml_files = 'no'; => You dont add strategy, pairs or warmups to configuration file. #29
Comments
I encounter the same problem. Extract of my configuration file : Thanks in advance for any help |
I have modified backtest.pl to try to debug it and understand what happens. The error message is triggered by "if ($remain) {" that is false. Before 1104 line, i added some debug code: Result: => %stratconfig is empty. It seems to me that this hash contents the configuration of the strategy and is only initialized in the block beginning by "if ($use_toml_files eq 'yes') {" line 871. In our case ($use_toml_files eq = 'no'), %stratconfig is not filled. |
Another information : a configuration of my strategy exists in backtest-config.pl Any help or advice from someone knowing the tool ? |
Has any progress been done on this? Does anyone have any tips for it. |
I defined my pairs, strategies and warmups in the backtest-config.pl file. Then I decided to put the strategy configs in the JSON part of backtest-config.pl, so I set $use_toml_files = 'no';
It seems that when I set $use_toml_files = 'no', it doesn't read my pairs, strategies and warmups config anymore from the file and I get the following warning:
"You dont add strategy, pairs or warmups to configuration file."
How can I get this to work?
The text was updated successfully, but these errors were encountered: