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

      progress check froze
      Strategy help • • dark.pidgeot

      3
      0
      Votes
      3
      Posts
      3074
      Views

      D

      @support Hello,

      got it, thanks for the reply,

    • M

      Error while loading Data
      Support • • magenta.kabuto

      3
      0
      Votes
      3
      Posts
      718
      Views

      support

      @magenta-kabuto Hi, yes, sorry for late answer. For the moment we can support only the default panda version you mention, sorry

    • illustrious.felice

      Strategies deleted
      Support • • illustrious.felice

      3
      0
      Votes
      3
      Posts
      622
      Views

      illustrious.felice

      @support Thank you very much. Please delete all my strategies in the deleted section.

    • D

      Errors when I save the isssus parameters of my optimization in the json file
      Strategy help • • dark.pidgeot

      3
      1
      Votes
      3
      Posts
      2720
      Views

      D

      @support Thank you for your advise, it's ok

    • C

      Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager
      Support • • cyan.gloom

      3
      0
      Votes
      3
      Posts
      3443
      Views

      C

      @support
      Thanks a lot !

    • illustrious.felice

      Please create the program "Quantiacs Tips"
      Strategy help • • illustrious.felice

      3
      0
      Votes
      3
      Posts
      2012
      Views

      illustrious.felice

      @support Thank you for your feedback. I also hope Quantiacs updates new strategy examples on how to use technical analysis (besides sma, trix_ema, atr_lwma,...), and strategies on using ML/DL models effectively (not an example that strategy forward-looking),...

      Hopefully in the future Quantiacs will release new data sets such as news, sentiment, macro, options,... Create new contests that allow merging strategies to build portfolios,...

      Hopefully, Quantiacs will continue to grow. Sincere thanks to Quantiacs for creating extremely high-quality contests.

    • illustrious.felice

      How to select and combine strategies to optimize your portfolio
      Strategy help • • illustrious.felice

      3
      0
      Votes
      3
      Posts
      1797
      Views

      illustrious.felice

      @support. Thank you. So as I understand it, I will give higher weight to strategies with lower correlation and vice versa, right? According to your answer, I understand that I can also give high weight to low-volatility strategies and vice versa. So what about equal risk portfolio? In your opinion, is this an effective way to optimize your portfolio?

    • illustrious.felice

      Technique to reduce max_drawdown
      Strategy help • • illustrious.felice

      3
      0
      Votes
      3
      Posts
      1762
      Views

      illustrious.felice

      @magenta-kabuto Thank you very much for your advice. I will research to apply your suggestions to the algorithm

    • M

      Cant load data locally
      Support • • magenta.kabuto

      3
      0
      Votes
      3
      Posts
      1168
      Views

      M

      @magenta-kabuto thx a lot bro for your support and pointing out the mistakes๐Ÿ‘ ๐Ÿ™‚
      I will try the revised code now.
      Good luck for the competition ๐Ÿ‘

    • magenta.grimer

      Trend following strategy BUG
      Strategy help • • magenta.grimer

      3
      0
      Votes
      3
      Posts
      900
      Views

      support

      @magenta-grimer

      Hello.

      I confirm this bug.
      It is fixed now.
      If you clone this template again, it will work ok.

      Thank you very much for your report.

    • R

      Limit to submission number
      General Discussion • • rezhak21

      3
      0
      Votes
      3
      Posts
      726
      Views

      R

      @support thanks, yes....

    • B

      Can I reuse strategy
      Support • • buyers_are_back

      3
      0
      Votes
      3
      Posts
      1311
      Views

      B

      @support

      Thank you, I noticed some changes on the rules so I have to reimplement the strategy anyway.

    • damnedlies

      What are Sharpe returns relative to?
      Support • • damnedlies

      3
      1
      Votes
      3
      Posts
      765
      Views

      support

      @damnedlies Hello:

      we are taking relative daily returns, in other words the ratio: [price(t)-price(t-1)]/price(t-1)

      we are using no benchmark.

      Note also that we apply reinvesting when computing the numerator of the Sharpe ratio (geometric mean)

    • C

      combinations of strategy
      Strategy help • • cyan.gloom

      3
      0
      Votes
      3
      Posts
      1595
      Views

      C

      @support
      Thanks
      I got it !

    • cespadilla

      Q17 ML Example not running on Local Development
      Support • • cespadilla

      3
      1
      Votes
      3
      Posts
      693
      Views

      cespadilla

      @support thanks, I deleted the old environment, installed it again according to the documentation, and now it is working ๐Ÿ‘Œ

    • A

      Issues with the Legacy Website
      Support • • antinomy

      3
      1
      Votes
      3
      Posts
      1487
      Views

      A

      @jeppe_and Ok, thanks for the quick reply!

    • A

      Output the results in an excel or other format file
      Support • • anshul96go

      3
      1
      Votes
      3
      Posts
      1143
      Views

      A

      @anshul96go
      To get the actual statistics you currently have to calculate them like so:

      import qnt.stats as qns data = qndata.cryptodaily_load_data(min_date="2014-01-01") # or whenever your backtest started stats = qns.calc_stat(data, weights)

      And if you really need them as xls file you can do:

      stats.to_pandas().to_excel('stats.xls') # I got a ModuleNotFoundError the first time - pip install did the trick.

      Allthough I can't recommend xls because at least LibreOffice becomes very slow / unresponsive when handling such a file.

      Getting the statistics after a backtest could be a little simpler, which brings me to a feature request:
      @support
      Do you think you could add a parameter to the backtester which makes it return the statistics? They get calculated anyway by default, but we only see a truncated printout or the plots and can't use them for further analysis.
      .
      In my local environment I did it like this in qnt.backtester.py:

      Add the parameter return_stats: bool = False to the parameters of the backtest function From line 353 onward my backtester now looks like this: qnout.write(result) qnstate.write(state) if return_stats: analyze = True out = [result] if analyze: log_info("---") stats = analyze_results(result, data, competition_type, build_plots, start_date) if return_stats: out.append(stats) if args_count > 1: out.append(state) if len(out) == 1: out = out[0] return out finally: qndc.set_max_datetime(None) And of course I made analyze_results return the statistics like so (line 458 in the original): if not build_plots: log_info(stat_global.to_pandas().tail()) return stat_global # here log_info("---") log_info("Calc stats per asset...") stat_per_asset = qnstat.calc_stat(data, output, per_asset=True) stat_per_asset = stat_per_asset.loc[output.time.values[0]:] if is_notebook(): build_plots_jupyter(output, stat_global, stat_per_asset) else: build_plots_dash(output, stat_global, stat_per_asset) return stat_global # and there

      This might not be the most elegant solution but you get the idea.
      Now I can get the statistics immediately after the backtest with

      weights, stats = backtest(...return_stats=True)

      and can do further analysis.
      For instance, I started to calculate the correlations between my strategies to avoid uploading more of the same to the contest.

      It would be nice to have this feature in a future version, so I don't have to mess with the backtester after each update ๐Ÿ˜‰

      Best regards

    • C

      How to change 'iopub_data_rate_limit'
      Support • • cyan.gloom

      3
      0
      Votes
      3
      Posts
      1241
      Views

      C

      @support
      Thanks !

    • S

      Local development import error
      Support • • spiovesan

      3
      0
      Votes
      3
      Posts
      738
      Views

      S

      @support said in Local development import error:

      conda install -y "quantiacs-source::qnt >= 0.0.225"

      Now it works. Thanks!

    • A

      Using Volume/OI data
      Strategy help • • anshul96go

      3
      0
      Votes
      3
      Posts
      738
      Views

      support

      @anshul96go Hi Anshul, the IS period starts on January 1st 2014. You can use a strategy with the following logic:

      if Volume/OI is zero, then take this decision:

      Otherwise, take this decision:

      But yous algorithm should produce results also in the period when Volume/OI data were not available.

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