Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Local Development Error "could not convert string to float:'NAS:...'"

    Support
    2
    9
    894
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      captain.nidoran last edited by

      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:
      fca61b24-6c9e-4037-99cd-d357bf3b7b8b-image.png
      ...and from a json config:
      7b0f8312-85ec-4cc7-b602-ea33291d8b1a-image.png
      recovering values like this:
      e3eb4c6b-c881-4a89-be1c-bb3782f14dd5-image.png
      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:
      cbcd3a92-a359-4be6-a41b-86d0b79ca4d2-image.png
      When I obtain this error:

      ae7cc1ce-5d88-4e9a-bac3-eecf381689b4-image.png

      ¿Any ideas?

      1 Reply Last reply Reply Quote 1
      • support
        support last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • C
          captain.nidoran last edited by captain.nidoran

          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.

          support 1 Reply Last reply Reply Quote 1
          • support
            support @captain.nidoran last edited by

            @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?

            C 1 Reply Last reply Reply Quote 1
            • C
              captain.nidoran @support last edited by

              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.

              support 1 Reply Last reply Reply Quote 0
              • support
                support @captain.nidoran last edited by

                @captain-nidoran We are working on the optimizer, will let you know asap, sorry for missed answer

                C 2 Replies Last reply Reply Quote 0
                • C
                  captain.nidoran @support last edited by

                  Thank you very much @support
                  Let me know if you upgrade the template please 🙂

                  1 Reply Last reply Reply Quote 0
                  • C
                    captain.nidoran @support last edited by

                    Hi @support ! 🙂
                    Any updates about this?
                    Thanks in advance

                    support 1 Reply Last reply Reply Quote 0
                    • support
                      support @captain.nidoran last edited by support

                      @captain-nidoran Not fully conclusive yet, please check the related topic:

                      https://quantiacs.com/community/topic/249/strategy-optimization-in-local-development-environment-is-not-working/5

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB | Contributors
                      • Documentation
                      • About
                      • Career
                      • My account
                      • Privacy policy
                      • Terms and Conditions
                      • Cookies policy
                      Home
                      Copyright © 2014 - 2021 Quantiacs LLC.
                      Powered by NodeBB | Contributors