Local Development Error "could not convert string to float:'NAS:...'"
-
Hello everyone,
I'm getting familiar with the Q18 contests and I'm encountering some problems when trying to reproduce systems similar to those already presented in previous editions, specifically I can't pass different parameters for each asset as I did in other contests.
I have tried it in 2 ways, directly through a dictionary:
...and from a json config:
recovering values like this:
I can call this method and then check the stats calling qnstats.calc_stat(), everything is perfect until i try to call de backtest method:
When I obtain this error:¿Any ideas?
-
Hello, thanks for the report. Just to be on the safe side, did you download the most recent version of the toolbox? We released a new one for Nasdaq stocks.
-
Yes, I did It just before write this post to be sure.I think that you could easy replicate the error adapting a lil bit the "Trading System Optimization by Asset" example template.
-
@captain-nidoran Hello, sorry for the delay. We tried to understand the problem, but so far we see that the optimizer works fine with stocks. We just took the example we provide in the templates for futures, and modified for stocks, and it works fine.
Do you have the problem with a specific strategy or is it a general issue?
-
Hello @support ,
Sorry for the delay in my answer.
Just to be sure...When you took the example provided in the templates for futures, and modified it for stocks, did you also tried the final code for the strategy with multi-pass backtester? Because is in there where i get error.
I have tried it, even in jupyter notebook, obtaining error as result... I will keep trying and let you know if anything change.
-
@captain-nidoran We are working on the optimizer, will let you know asap, sorry for missed answer
-
Thank you very much @support
Let me know if you upgrade the template please -
Hi @support !
Any updates about this?
Thanks in advance -
@captain-nidoran Not fully conclusive yet, please check the related topic: