Q17 ML Example not running on Local Development
-
Hi, I'm not sure if you guys can help me out, but it's worth a shot since I really enjoy working on my strategies using the Local Development option.
I tried copying-pasting the "Q17 Supervised Learning" strategy that was uploaded to the website. I have no trouble running this strategy when just cloning it and running it from the Quantiacs Jupyter Notebooks.
However, when using the Qntdev environment I created in my computer, when I try to run the code, I get a "Wrong Data Type" Exception.
However, if I then change the competition type from competition_type='crypto_daily_long_short' to competition_type='crypto_daily_long' , it works.
What do you guys suggest I do? Maybe I should update something? I used the Conda tool to install Qntdev initially, if that helps in any way. The weird thing is that I have been able to test some long/short strategies in other personal notebooks.
-
Hello, we updated some functions in the toolbox used for simulating trading systems on our servers, and pushed the updated version to github and anaconda.
The main change is the definition of a new competition type (long-short on cryptos).
Most likely the problem here is that you used conda for installing the toolbox before the last update, and the new contest is not recognized yet by your local environment.
Can you update the toolbox locally?
You can also create a second local environment with the updated library and test there.
-
@support thanks, I deleted the old environment, installed it again according to the documentation, and now it is working