Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. multi_byte.wildebeest
    3. Topics
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 19
    • Best 4
    • Groups 0
    • Blog

    Topics created by multi_byte.wildebeest

    • M

      Why we need to limit the time to process the strategy ?
      Support • • multi_byte.wildebeest

      4
      0
      Votes
      4
      Posts
      215
      Views

      support

      @multi_byte-wildebeest Hi, these limitations refer to the processing time per point in time, not for the full strategy.

      If it takes 10 minutes per historical day, and the simulation has to take into account 250 days for let us say 10 years, the multi-pass simulation would process 6 days per hour, 144 days per real day, that means 2 weeks of processing time for the full submission, it is a lot of time.

    • M

      Why we need to limit the time to process the strategy ?
      Support • • multi_byte.wildebeest

      2
      0
      Votes
      2
      Posts
      142
      Views

      support

      @multi_byte-wildebeest Hi, there are always limitations in a real-world scenario. Here we are running a contest on US stocks only, however imagine to trade assets worldwide. Then you have to take care of different timezones, and once US markets close, you have some hours to generate trading positions for (let us say) Australian markets.

      If a ML model takes days to take a decision, that is unusable.

      The limitations in place are per point-in-time, it means that for each "pass" the system should take no more than 5 or 10 minutes.

      In practice we have also other limitations, because when many systems are in our queue, it can take very long to process all of them.

    • M

      WARNING: some dates are missed in the portfolio_history
      Support • • multi_byte.wildebeest

      7
      0
      Votes
      7
      Posts
      386
      Views

      V

      @multi_byte-wildebeest Hi. Without an example, it's unclear what the problem might be.

      If you use a state and a function that returns the prediction for one day, you will not get correct results with precheck.

      This was discussed here: https://quantiacs.com/community/topic/555/access-previous-weights/18

    • M

      Differences between Sharpe in Precheck and Sharpe in strategy.ipynb
      Support • • multi_byte.wildebeest

      5
      0
      Votes
      5
      Posts
      280
      Views

      M

      @support Thank you !

    • M

      How can we have the estimation of Sharpe submitted ?
      Support • • multi_byte.wildebeest

      3
      2
      Votes
      3
      Posts
      197
      Views

      V

      @multi_byte-wildebeest Hello.

      How to get the Sharpe Ratio is in the Quick Start template.
      https://github.com/quantiacs/strategy-q20-nasdaq100-quick-start/blob/master/strategy.ipynb

      import qnt.stats as qnstats def get_sharpe(market_data, weights): rr = qnstats.calc_relative_return(market_data, weights) sharpe = qnstats.calc_sharpe_ratio_annualized(rr).values[-1] return sharpe sharpe = get_sharpe(data, weights) # weights.sel(time=slice("2006-01-01",None))

      or

      import qnt.output as qnout qnout.check(weights, data, "stocks_nasdaq100")

      or

      stat = qnstats.calc_stat(data, weights) display(stat.to_pandas().tail())

      or

      import qnt.graph as qngraph statistics = qnstats.calc_stat(data, weights) display(statistics.to_pandas().tail()) performance = statistics.to_pandas()["equity"] qngraph.make_plot_filled(performance.index, performance, name="PnL (Equity)", type="log") display(statistics[-1:].sel(field=["sharpe_ratio"]).transpose().to_pandas()) qnstats.print_correlation(weights, data)

      Please look at this post
      https://quantiacs.com/community/topic/515/what-is-forward-looking-and-why-it-s-effective-badly-to-strategy/6?_=1711712434795

    • M

      Missed call to write_output although had included it
      Support • • multi_byte.wildebeest

      5
      0
      Votes
      5
      Posts
      271
      Views

      V

      @illustrious-felice Hello. please look at this post
      https://quantiacs.com/community/topic/515/what-is-forward-looking-and-why-it-s-effective-badly-to-strategy/6?_=1711712434795

    • M

      Non Deep learning strategy filtered by Calculation time exceed
      Support • • multi_byte.wildebeest

      2
      0
      Votes
      2
      Posts
      112
      Views

      support

      @multi_byte-wildebeest Dear multi_byte-wildebeest,
      You can check logs for your submission in the Filtered panel, so you can get more information why it might have failed. Please note that installing libraries takes time and should be placed in init.ipynb file and not in strategy.ipynb. Also check for potential bugs, errors and tricky loops.

      Regards

    • M

      Submitting Deep Learning model-Filtered by Calculation time exceeded
      Support • • multi_byte.wildebeest

      2
      1
      Votes
      2
      Posts
      166
      Views

      support

      @multi_byte-wildebeest is it taking 2-3 minutes for each point in time?

    • M

      Printing training performance of neural network models
      Support • • multi_byte.wildebeest

      4
      1
      Votes
      4
      Posts
      353
      Views

      V

      @multi_byte-wildebeest Hello. I don't use machine learning models in trading.

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