Navigation

    Quantiacs Community

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

    Q17 ML Example not running on Local Development

    Support
    2
    3
    221
    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.
    • cespadilla
      cespadilla last edited by

      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.

      All good from Jupyter.png Wrong Data Type Error in Local.png Works on Long Only.png

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

        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.

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

          @support thanks, I deleted the old environment, installed it again according to the documentation, and now it is working 👌

          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