Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Popular
    Log in to post
    • All categories
    • Support
    •      Request New Features
    • Strategy help
    • General Discussion
    • News and Feature Releases
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • A

      toolbox not working in colab
      Support • • alexeigor

      6
      0
      Votes
      6
      Posts
      223
      Views

      V

      @alexeigor Hello. Version 0.0.501 of the qnt library works correctly in Colab. Python version support has been extended from 3.10 to 3.13. The basic functionality of the library should work without issues.

      To install, use the following command:

      !pip install git+https://github.com/quantiacs/toolbox.git 2>/dev/null

      Note: Installing ta-lib in Colab is not working for me at the moment.

    • nosaai

      AttributeError: module 'qnt.data' has no attribute 'stocks_load_spx_data'
      Support • • nosaai

      4
      0
      Votes
      4
      Posts
      108
      Views

      nosaai

      @vyacheslav_b Apologies for the late response. Thanks for the assistance, all is now well. Cheers

    • G

      Some top S&P 500 companies are not available?
      Support • • gjhernandezp

      3
      0
      Votes
      3
      Posts
      79
      Views

      G

      Thanks 🙏

    • illustrious.felice

      Strategy trades illiquid instruments
      Support • • illustrious.felice

      3
      0
      Votes
      3
      Posts
      89
      Views

      support

      @illustrious-felice Hi,

      sorry for late answer, please check the correctness of dataset used for defining weights in strategy. Be sure that 'stocks_s&p500' dataset is used and not 'stocks_nasdaq100' for current competition. To ensure strategy trades only liquid assets in certain time period, multiply the output from your strategy function with 'is_liquid' field from correct dataset, or simply use clean() function from qnt.output:

      import qnt.data as qndata import qnt.output as qnout def strategy(data): ..... # liquid = data.sel(field='is_liquid') # weights = weights * liquid return weights data = qndata.stocks_load_spx_data(min_date='2005-01-01') weights = strategy(data) weights = qnout.clean(weights, data, kind='stocks_s&p500') qnout.write(weights)

      Also, keep in mind that submission will not be eligible for contest if stocks universe (in this case "top 7 magnificent") is hand picked (manually defined).

      Best regards,

    • magenta.grimer

      Example strategy for Q23
      Support • • magenta.grimer

      2
      0
      Votes
      2
      Posts
      61
      Views

      support

      @magenta-grimer Hi, the Q22 basic template is a good starting point.

    • A

      got error in example
      Support • • alexeigor

      2
      0
      Votes
      2
      Posts
      100
      Views

      support

      @alexeigor Hi,

      sorry, it should work now.

      Best regards

    • S

      "Show only my results" not working
      Support • • Sun-73

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • Documentation
    • About
    • Career
    • My account
    • Privacy policy
    • Terms and Conditions
    • Cookies policy
    Home
    Copyright © 2014 - 2021 Quantiacs LLC.
    Powered by NodeBB | Contributors