Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. antinomy
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 1
    • Topics 11
    • Posts 75
    • Best 32
    • Groups 0
    • Blog

    Topics created by antinomy

    • A

      Has my strategy been rejected from Q23?
      Support • • antinomy

      5
      0
      Votes
      5
      Posts
      401
      Views

      A

      And what if a strategy uses the following rules to select assets to trade:

      the primary exchange is NAS the sector is not finance has price data for at least the previous 3 months has an average daily trading volume of at least 200 k based on the previous 3 months belongs to the top 100 of the thus far selected assets in terms of market capitalization

      Would you say any of these rules violate the contest rules?

      Because these are the selection criteria for the N100 constituents. The only difference in my strategy is that I'm using qnt.data.stocks_load_ndx_data.sel(field='is_liquid') instead.
      Sure, the first of the rules above manually selects the exchange and the second one manually excludes a sector. But still none of these manually select assets and neither does the filter is_liquid from another dataset.

      Also, lets take a look why you prohibited manual asset selection in the first place. Wasn't this to avoid lookahead bias? And isn't this also the reason for the existence of the field is_liquid in any of your datasets? Are you saying that the exact field you introduced to avoid lookahead bias is now the reason you disqualify a strategy because of lookahead bias just because it's from a dataset other than the one for the contest?

    • A

      Strategy passes correlation check in backtester but fails correlation filter after submission
      Support • • antinomy

      8
      0
      Votes
      8
      Posts
      2926
      Views

      support

      Dear @antinomy,

      There has been some lag in processing, thanks for pointing it out.

      Regards

    • A

      Fundamental Data
      Support • • antinomy

      2
      0
      Votes
      2
      Posts
      884
      Views

      support

      @antinomy Hello, ok, we will do. Please note that for this contest we focus on Nasdaq-100 stock market data. The other market data set you have access to is an "experimental" set we usded for testing. Please use nasdaq-100 data.

      Support for fundamental data from secgov is experimental also.

    • A

      Erroneous Data?
      Support • • antinomy

      3
      1
      Votes
      3
      Posts
      773
      Views

      support

      @antinomy Hello, sorry for delay again. We found a problem with the data provider, sorry.

    • A

      External Libraries
      Support • • antinomy

      8
      2
      Votes
      8
      Posts
      2176
      Views

      A

      @support
      Yes, pip is way faster. Thanks!
      I might have found an even faster solution but I guess I have to wait a few hours to find out if it really works.

      Here's what I did:

      I created a folder in /root/books called "modules" to install cvxpy there to make it persistent: !mkdir modules && pip install --target=modules cvxpy Then if the import fails in the strategy, it creates symbolic links in /usr/local/lib/python3.7/site-packages/ that point to the content of /root/books/modules/ try: import cvxpy as cp except ImportError: import os source = '/root/book/modules/' target = '/usr/local/lib/python3.7/site-packages/' for dirpath, dirnames, filenames in os.walk(source): source_path = dirpath.replace(source, '') target_path = os.path.join(target, source_path) if not os.path.exists(target_path) and not os.path.islink(target_path): os.symlink(dirpath, target_path) continue for file in filenames: source_file = os.path.join(dirpath, file) target_file = os.path.join(target, source_path, file) if not os.path.exists(target_file) and not os.path.islink(target_file): os.symlink(source_file, target_file) import cvxpy as cp

      Creating the symlinks only takes 0.07 seconds, so fingers crossed 🙂

      UPDATE (a few hours later):
      It actually worked. When I just reopened the strategy, the environment was newly initialized. First I tried just importing cvxpy and got the ModuleNotFoundError. Then I ran the strategy including the code above: cvxpy was imported correctly and the strategy ran.

      I'm not sure if that solution works for every module because I don't know if pip might also write something to other directories than site-packages.

      Anyway, I'm happy with this solution.
      Regards

    • A

      Issues with the Legacy Website
      Support • • antinomy

      3
      1
      Votes
      3
      Posts
      1130
      Views

      A

      @jeppe_and Ok, thanks for the quick reply!

    • A

      Correlation Check always fails
      Support • • antinomy

      3
      1
      Votes
      3
      Posts
      1002
      Views

      support

      @antinomy Hello, sorry for the delay in the answer, the problem has been fixed in the meanwhile. If correlations are too high, you will get a warning. Note that correlations will be checked against template code and submissions to past contests of the same kind (which are not present currently as this is the 1st crypto long-only contest we run).

    • A

      Submission Issue
      Support • • antinomy

      12
      0
      Votes
      12
      Posts
      2419
      Views

      A

      Just out of curiousity I did some testing and it looks like the class actually was the culprit.
      I submitted a simple strategy in 2 versions, one with a class and the other with a dictionary as state. The class version was rejected (exaclty like the one from my 1st post) and the dictionary version got accepted.

    • A

      Additional Data for Bitcoin
      Request New Features • • antinomy

      7
      1
      Votes
      7
      Posts
      2286
      Views

      A

      @support It's working now, thanks!

    • A

      How are models ranked on the leaderboard before the live period?
      General Discussion • • antinomy

      6
      1
      Votes
      6
      Posts
      1276
      Views

      S

      @support
      oh I see now what you mean.
      15 strategies PER USER are selected.
      At first, I thought you were only going to select 15 strategies total for all users.
      Thanks.

    • A

      Different Sharpe ratios in backtest and competition filter
      Support • • antinomy

      12
      2
      Votes
      12
      Posts
      2708
      Views

      C

      @support Thank you very much for the clarification, and once again congratulations for the great job you are doing 😉

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