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
    • S

      How to install Python Talib
      Support • • spancham

      5
      0
      Votes
      5
      Posts
      2432
      Views

      support

      @sheikh It is fine, please just submit, check the result and let us know if you see any issue. It should work fine.

    • L

      Fundamental data loading does not work
      Support • • lookman

      5
      0
      Votes
      5
      Posts
      1807
      Views

      V

      @lookman Hello. Try cloning your strategy and running it again. It should work correctly with the new version of the qnt library.

      import qnt.data as qndata import qnt.data.secgov_fundamental as fundamental market_data = qndata.stocks.load_spx_data(min_date="2005-01-01") indicators_data = fundamental.load_indicators_for(market_data, indicator_names=['roe']) display(indicators_data.sel(field="roe").to_pandas().tail(2)) display(indicators_data.sel(asset='NAS:AAPL').to_pandas().tail(2)) display(indicators_data.sel(asset=['NAS:AAPL']).sel(field="roe").to_pandas().tail(2))

      https://quantiacs.com/documentation/en/data/fundamental.html

    • C

      How to fix this error
      Support • • cyan.gloom

      5
      0
      Votes
      5
      Posts
      2064
      Views

      C

      @antinomy
      Thanks for your advice !

    • A

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

      5
      0
      Votes
      5
      Posts
      1247
      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?

    • O

      No error messages show why the strategies failed
      Support • • omohyoid

      5
      0
      Votes
      5
      Posts
      850
      Views

      support

      @omohyoid Dear omohyoid,

      Yes, that's right. After submitting your strategy shouldn't override environment variables.

      Regards

    • E

      Q17 Contest
      General Discussion • • EDDIEE

      5
      0
      Votes
      5
      Posts
      1119
      Views

      support

      @theflyingdutchman Yes, we are integrating new data sources for a new asset class, once we are done (next week) the data and leaderboard updates will start again.

    • S

      Calculation time exceeded
      Request New Features • • Sun-73

      5
      0
      Votes
      5
      Posts
      2714
      Views

      support

      @eddiee Dear eddiee, no, please, for the moment do not resubmit. The timed out submissions are stored as timed out submissions and we can reprocess them. In case you need resubmission, we will let you know.

    • M

      Trying to understand trading
      Support • • mobile.mr_mime

      5
      2
      Votes
      5
      Posts
      769
      Views

      M

      @support Thanks for the detailed answer, that seems to be it, here is the final code:

      import xarray as xr import qnt.stats as qns import qnt.output as qnout import qnt.data as qndata # single-stock trading data = qndata.futures.load_data(min_date="2005-01-01", assets=["F_ES"]) # attempting an optimal (unrealistic) long-only strategy # by looking at future prices, and investing only if there will be profit next_price_open = data.sel(field="open").shift(time=-1) next2_price_open = data.sel(field="open").shift(time=-2) weights = xr.where(next_price_open < next2_price_open, 1.0, 0.0) # sell short when optimal: # weights = xr.where(next_price_open > next2_price_open, -1.0, weights) weights = qnout.clean(weights, data) qnout.check(weights, data) qnout.write(weights) stats = qns.calc_stat( data, weights, # ignoring slippage for simplicity slippage_factor=0, roll_slippage_factor=0) stats.loc[:, "equity"].plot.step();
    • C

      What's is the next contest ?
      News and Feature Releases • • cyan.gloom

      5
      0
      Votes
      5
      Posts
      2440
      Views

      support

      @yonasbo Hi, sorry for delay, we will start soon a new contest, in the next 2 weeks

    • cespadilla

      Leaderboard not updating?
      Support • competition leaderboard q16 • • cespadilla

      5
      1
      Votes
      5
      Posts
      2216
      Views

      cespadilla

      @support Hi again guys, I think the leaderboard is not updating again 😳

    • illustrious.felice

      IndentationError: unindent does not match any outer indentation level
      Support • • illustrious.felice

      5
      0
      Votes
      5
      Posts
      548
      Views

      support

      @illustrious-felice Hi, just insist and test other ideas, it is not easy but you will manage!

    • B

      Submission failed: what's wrong??
      Support • • buyers_are_back

      5
      0
      Votes
      5
      Posts
      752
      Views

      support

      @buyers_are_back We reprocessed the submission, it is formally correct and passes all the filters. Sorry for the issue, evidently on our side.

    • news-quantiacs

      The Winners of the Q15 Futures and BTC Contests
      News and Feature Releases • • news-quantiacs

      5
      1
      Votes
      5
      Posts
      3394
      Views

      support

      @algotime Hello, on 1st November allocations will start, you will receive a mail soon today!

    • O

      How to turn off "WARNING: some dates are missed in the portfolio_history"
      Support • • omohyoid

      5
      0
      Votes
      5
      Posts
      1517
      Views

      support

      @omohyoid Hi, we do not have such calls, sorry

    • illustrious.felice

      Accessing Quantiacs takes too long
      Support • • illustrious.felice

      5
      1
      Votes
      5
      Posts
      1300
      Views

      illustrious.felice

      @support Hello. My strategy has the id #16934018 and was submitted in early May, but pnl OS has not been updated yet. Please check this issue. Thank you.

    • J

      Alpha Default Value of EMA function
      Strategy help • • juzambranol

      5
      0
      Votes
      5
      Posts
      1371
      Views

      support

      @gjhernandezp yes, correct, 2/(n+1), sorry for the typo, thanks for correcting

    • R

      I cant not find my strategy in Q23 leaderboard
      Support • • RoyPalo

      5
      0
      Votes
      5
      Posts
      2347
      Views

      support

      @sun-73 @RoyPalo, Hi,

      Q23 Leaderboard was updated several days ago, all eligible submissions are there now, sorry for late notice. Please let us know if you find any submission that is missing.

    • C

      Multi-pass Backtesting
      Strategy help • • cyan.gloom

      5
      0
      Votes
      5
      Posts
      2306
      Views

      V

      @eddiee

      Hello.

      This code looks to the future.
      It is needed to train the model.
      Pay attention to the name of the variable.

    • A

      Q23 should be running now, but not able to join, right?
      Support • • angusslq

      5
      0
      Votes
      5
      Posts
      2924
      Views

      support

      @green-flareon Thanks. The live phase of the Q23 is running. Quants can join any contest during the submission phase. Q24 is on.

    • illustrious.felice

      Not enough bid information when submit
      Support • • illustrious.felice

      5
      0
      Votes
      5
      Posts
      588
      Views

      illustrious.felice

      @support Thanks for your respond. Now I understand the cause and fixed it

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