<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/12">@support</a> Hello, first of all. I<img src="/community/assets/uploads/files/1680262547569-bildschirmfoto-2023-03-31-um-13.30.01-resized.png" alt="Bildschirmfoto 2023-03-31 um 13.30.01.png" class="img-responsive img-markdown" /> As you can see in the picture I have a good sharpe Ratio but when submitted ,the strategy  got rejected because the sharpe ratio is too low. If I assume there is no bug in your multipass backtest, the issue should be the statelessness of your backtester. I tried to correct the code and to my understanding it should be fine but I dont know, and if I  only rely on getting the news after submission, I will miss the deadline. Could you therefore pls have a look at the notebook too and if it does not take too much time correct anything if possible. Thank you. Regards</p>
]]></description><link>http://quantiacs.com/community/topic/374/different-sharpe-ratios-for-multipass-backtest-and-quantiacs-mulipass-backtest</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 10:31:58 GMT</lastBuildDate><atom:link href="http://quantiacs.com/community/topic/374.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Mar 2023 11:42:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Sat, 01 Apr 2023 17:50:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/5">@vyacheslav_b</a> thank you!</p>
]]></description><link>http://quantiacs.com/community/post/1089</link><guid isPermaLink="true">http://quantiacs.com/community/post/1089</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Sat, 01 Apr 2023 17:50:50 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 20:36:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/5">@vyacheslav_b</a> Hello again, thank you very much. Yes you are right.<br />
Regards<br />
Furqan</p>
]]></description><link>http://quantiacs.com/community/post/1086</link><guid isPermaLink="true">http://quantiacs.com/community/post/1086</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 20:36:03 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 20:25:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a></p>
<p dir="auto">Compare the two versions of the code.</p>
<pre><code class="language-python">def regime_trade(series):
    return ""


def strategy(data):
    result = regime_trade(data)
    return result


backtest(strategy=strategy)
</code></pre>
<p dir="auto">in the first case, the available data for a specific date are used.</p>
<pre><code class="language-python">def regime_trade(series):
    return ""


result = regime_trade(data)

def strategy(data):
    return result


backtest(strategy=strategy)
</code></pre>
<p dir="auto">in the second case, all data is used.</p>
<p dir="auto">I see that you have a very large Sharpe ratio, I think that you are using something similar to the second option.</p>
]]></description><link>http://quantiacs.com/community/post/1085</link><guid isPermaLink="true">http://quantiacs.com/community/post/1085</guid><dc:creator><![CDATA[Vyacheslav_B]]></dc:creator><pubDate>Fri, 31 Mar 2023 20:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 19:10:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a> something like this, if this puts a bit light<img src="/community/assets/uploads/files/1680289832470-bildschirmfoto-2023-03-31-um-21.09.30-resized.png" alt="Bildschirmfoto 2023-03-31 um 21.09.30.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://quantiacs.com/community/post/1084</link><guid isPermaLink="true">http://quantiacs.com/community/post/1084</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 19:10:44 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 19:07:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/5">@vyacheslav_b</a> hey thx for your reply. Yes the strategy Sharpe ratio differs from the multipass backtest.<br />
But Quantiacs says that multiple pass Backtesting avoids looking into the future, so I am confused.<br />
The algorithm identifies certain patterns and only if those occur over a period of time, does it generate signals.<br />
So it does not calculate weights to trade everyday</p>
]]></description><link>http://quantiacs.com/community/post/1083</link><guid isPermaLink="true">http://quantiacs.com/community/post/1083</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 19:07:05 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 18:46:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a></p>
<p dir="auto">Hello</p>
<p dir="auto">I see that you are using precheck, this is the fastest way to check the strategy<br />
<a href="https://github.com/quantiacs/toolbox/blob/main/qnt/precheck.ipynb" rel="nofollow ugc">https://github.com/quantiacs/toolbox/blob/main/qnt/precheck.ipynb</a></p>
<p dir="auto">if the strategy statistics are different, your algorithm looks into the future.</p>
<p dir="auto">does your algorithm calculate the weights to trade every day?</p>
<p dir="auto">or do you calculate all the weights using all the data in one pass and then use them for a specific date? like cache</p>
]]></description><link>http://quantiacs.com/community/post/1082</link><guid isPermaLink="true">http://quantiacs.com/community/post/1082</guid><dc:creator><![CDATA[Vyacheslav_B]]></dc:creator><pubDate>Fri, 31 Mar 2023 18:46:35 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 17:06:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a> 50 passes..... <img src="/community/assets/uploads/files/1680282303845-bildschirmfoto-2023-03-31-um-19.04.43-resized.png" alt="Bildschirmfoto 2023-03-31 um 19.04.43.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://quantiacs.com/community/post/1081</link><guid isPermaLink="true">http://quantiacs.com/community/post/1081</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 17:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 15:54:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a> Sry to post again. Now I changed to 20 passes and suddenly the sharpe ratio went up and this is the strategy that got rejected. I am totally confused!<img src="/community/assets/uploads/files/1680277913688-bildschirmfoto-2023-03-31-um-17.50.37-resized.png" alt="Bildschirmfoto 2023-03-31 um 17.50.37.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://quantiacs.com/community/post/1080</link><guid isPermaLink="true">http://quantiacs.com/community/post/1080</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 15:54:58 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 15:26:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a> Unfortunately, even the strategy that got rejected due to a negative sharpe ratio, has the same ones as in the screenshot for 3 passes <img src="http://quantiacs.com/community/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=933r2hptiik" class="not-responsive emoji emoji-android emoji--confused" title=":/" alt="😕" /></p>
]]></description><link>http://quantiacs.com/community/post/1079</link><guid isPermaLink="true">http://quantiacs.com/community/post/1079</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 15:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 13:52:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/1799">@magenta-kabuto</a> <img src="http://quantiacs.com/community/plugins/nodebb-plugin-emoji/emoji/android/1f611.png?v=933r2hptiik" class="not-responsive emoji emoji-android emoji--expressionless" title=":expressionless:" alt="😑" />   <img src="/community/assets/uploads/files/1680270743438-bildschirmfoto-2023-03-31-um-15.50.56-resized.png" alt="Bildschirmfoto 2023-03-31 um 15.50.56.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://quantiacs.com/community/post/1078</link><guid isPermaLink="true">http://quantiacs.com/community/post/1078</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 13:52:35 GMT</pubDate></item><item><title><![CDATA[Reply to Different Sharpe Ratios for Multipass-Backtest and Quantiacs Mulipass Backtest on Fri, 31 Mar 2023 13:39:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/39">@kvanvanvant_test_python</a> hey, thx a lot, will precheck it now. Doesnt multi-pass Backtest avoid looking into the future? Anyways, should be clear after precheck.<br />
Regards</p>
]]></description><link>http://quantiacs.com/community/post/1077</link><guid isPermaLink="true">http://quantiacs.com/community/post/1077</guid><dc:creator><![CDATA[magenta.kabuto]]></dc:creator><pubDate>Fri, 31 Mar 2023 13:39:41 GMT</pubDate></item></channel></rss>