Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. TheFlyingDutchman
    3. Best
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 16
    • Best 6
    • Groups 0
    • Blog

    Best posts made by TheFlyingDutchman

    • Error Q20 output missing when submitting

      Hello,

      I do keep getting an error when submitting a strategy in the Q20 competition. The output is missing. The write output line is include in my strategy. But it seems unable to write the weights.
      See also the value error below.
      What should i do to fix this? Thanks for the help!

      Best regards


      ValueError Traceback (most recent call last)
      <ipython-input-1-3ef89a333fa7> in <module>
      119 weights = qnout.clean(weights, data, "stocks_nasdaq100")
      120
      --> 121 stats = qnstats.calc_stat(data, weights.sel(time=slice("2006-01-01", None)))
      122 display(stats.to_pandas().tail())
      123 plot_performance(stats)

      /usr/local/lib/python3.7/site-packages/qnt/stats.py in calc_stat(data, portfolio_history, slippage_factor, roll_slippage_factor, min_periods, max_periods, per_asset, points_per_year)
      686 roll_slippage_factor = get_default_slippage(data)
      687
      --> 688 missed_dates = find_missed_dates(portfolio_history, data)
      689 if len(missed_dates) > 0:
      690 log_err("WARNING: some dates are missed in the portfolio_history")

      /usr/local/lib/python3.7/site-packages/qnt/stats.py in find_missed_dates(output, data)
      550 out_ts = np.sort(output.coords[ds.TIME].values)
      551
      --> 552 min_out_ts = min(out_ts)
      553
      554 data_ts = data.where(data.time >= min_out_ts)

      ValueError: min() arg is an empty sequence

      posted in Strategy help
      T
      TheFlyingDutchman
    • RE: Suggestions for the Q17 contest.

      @support Hi, is there any news on the Q17 contest? Best Regards, TheFlyingDutchman

      posted in News and Feature Releases
      T
      TheFlyingDutchman
    • RE: Suggestions for the Q17 contest.

      @support
      Hi , I do have a question on the development and testing for the Q17 competition:
      Sometimes I do get a warning in testing: "The strategy correlates with other strategies and will be rejected. Modify the strategy to produce the different output."
      What does the correlation refer to, to what strategies exactly? To me it is unclear what to modify. Best Regards, TheFlyingDutchman

      posted in News and Feature Releases
      T
      TheFlyingDutchman
    • RE: Q20 contest results

      @support: Wasn't this an issue that should have been reported at the start of the competition? I understand the business principle. But given the large differences in market value and growth of the Nasdaq 100 shares, was this somewhat to be expected? I tried, perhaps not very clearly, to indicate this problem in my post of Nov 10, 2022 about the zipline pipeline functionality. Better risk and diversification requirements may be needed for strategies in future competitions.

      posted in News and Feature Releases
      T
      TheFlyingDutchman
    • RE: Q20 contest results

      @dark-pidgeot I would think it would be fair if the criteria were that the strategy added value somewhere. In the period from January 2005 to now, additional value should have been created compared to a long-only investment in those four shares.

      posted in News and Feature Releases
      T
      TheFlyingDutchman
    • Calculation time exceeded on submission

      @support : My Q21 submission gives a “Calculation time exceeded” error. This revers to: “Timeout, An error message stating that the strategy calculation exceeds a given time implies that you need to optimize the code and reduce the execution time. Futures systems should be evaluated in 10 minutes and Bitcoin futures/Crypto long systems in 5 minutes of time.”

      Could you please help? Submission number is # 16381634.

      Best Regards.

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