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
    • magenta.grimer

      Can't apply optimizer to another simple strategy!
      Strategy help • • magenta.grimer

      3
      0
      Votes
      3
      Posts
      623
      Views

      support

      @magenta-grimer

      Hello.

      Remove .isel(time=-1).

      ma_slow = close.rolling(time=parameter1).mean() #.isel(time=-1) ma_fast = close.rolling(time=parameter2).mean()#.isel(time=-1)

      It selects the last day, you need an entire series.

      Regards.

    • nosaai

      Collections has no attribute Iterable
      Support • • nosaai

      3
      0
      Votes
      3
      Posts
      1614
      Views

      nosaai

      @stefanm said in Collections has no attribute Iterable:

      pip install progressbar2==3.55.0

      Thank you so much @stefanm for support. Yes, it did work. Although on installation I did get these complaints:
      qnt 0.0.306 requires tabulate>=0.9.0, but you have tabulate 0.8.10 which is incompatible.
      qnt 0.0.306 requires xarray==0.20.2, but you have xarray 0.20.1 which is incompatible.

      Also, my apologies for the late response. I had to put things aside for a day or so. Once again, thank you.

    • magenta.grimer

      Trend following strategy BUG
      Strategy help • • magenta.grimer

      3
      0
      Votes
      3
      Posts
      830
      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.

    • M

      Error in Online Enviroment
      Support • • magenta.kabuto

      3
      0
      Votes
      3
      Posts
      526
      Views

      support

      Dear magenta.kabuto,

      It appears to be a pandas version mismatch. You can try using different pandas version but it's not documented nor supported and our library could behave in an unexpected manner.

    • M

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

      3
      2
      Votes
      3
      Posts
      1179
      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

    • O

      I can't find why the submission failed
      Support • • omohyoid

      3
      0
      Votes
      3
      Posts
      486
      Views

      O

      @support
      Actually, I've write the weights to the output function.
      螢幕擷取畫面 2024-04-24 235034.png
      I think the reason might be that the data was out-of-date when the strategy received at the weekend. After the data update in the next day, it failed to pass the test.

    • V

      Getting logged out of account
      Support • • vg2001

      3
      0
      Votes
      3
      Posts
      865
      Views

      support

      @vg2001 Dear vg2001,
      There were some problems with the servers, thank you for your patience.
      Regards

    • A

      Bollinger Bands
      Strategy help • • anthony_m

      3
      0
      Votes
      3
      Posts
      1752
      Views

      A

      @antinomy wow, thank you so much, this is awesome!

    • R

      Limit to submission number
      General Discussion • • rezhak21

      3
      0
      Votes
      3
      Posts
      670
      Views

      R

      @support thanks, yes....

    • B

      Can I reuse strategy
      Support • • buyers_are_back

      3
      0
      Votes
      3
      Posts
      1213
      Views

      B

      @support

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

    • M

      Technical indicators
      Strategy help • • maxime

      3
      0
      Votes
      3
      Posts
      514
      Views

      M

      @support Thank you, yes, this is what I was looking for

    • R

      Saving weights and using them for trading
      Strategy help • • rezhak21

      3
      1
      Votes
      3
      Posts
      1134
      Views

      R

      @support great, thank you, yes, this is what I was looking for

    • M

      best parameters for indicators
      Strategy help • • maxime

      3
      0
      Votes
      3
      Posts
      493
      Views

      support

      @maxime Yes, of course, you can use our optimizer:

      https://quantiacs.com/community/topic/29/optimizing-and-monitoring-a-trading-system-with-quantiacs

      Be careful with optimization as it will lead to overfitting....

    • A

      Using Volume/OI data
      Strategy help • • anshul96go

      3
      0
      Votes
      3
      Posts
      642
      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.

    • E

      Why is the "is_liquid" dataset flawed?
      Strategy help • • EDDIEE

      3
      0
      Votes
      3
      Posts
      772
      Views

      support

      @eddiee It is fixed, sorry for the problem.

    • G

      External information
      Strategy help • • gjhernandezp

      3
      0
      Votes
      3
      Posts
      1392
      Views

      support

      @gjhernandezp Hello, you can use them for local development. Unfortunately, we do not support yet external datafeeds after submission...it is on our to-do list.

    • A

      Submitting stratgy
      Strategy help • • aybber

      3
      0
      Votes
      3
      Posts
      1594
      Views

      support

      @mwalimudan Sorry for the issue, but do not worry, we are extending the submission deadline to end of October as there were several issues. Please do not hesitate to report problems.

    • C

      combinations of strategy
      Strategy help • • cyan.gloom

      3
      0
      Votes
      3
      Posts
      1523
      Views

      C

      @support
      Thanks
      I got it !

    • illustrious.felice

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

      3
      0
      Votes
      3
      Posts
      1723
      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
      1668
      Views

      illustrious.felice

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

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