<?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[How to turn off &quot;WARNING: some dates are missed in the portfolio_history&quot;]]></title><description><![CDATA[<p dir="auto">I'm using partial data for testing the performance for machine learning models.<br />
qnt module outputs such warning:<br />
WARNING: some dates are missed in the portfolio_history<br />
I'd like to turn off this warning<br />
But I don't know how to do<br />
Can <a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/12">@support</a> give an example for how to turn off this specific warning?<br />
<img src="/community/assets/uploads/files/1725807439765-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-09-08-225205.png" alt="螢幕擷取畫面 2024-09-08 225205.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://quantiacs.com/community/topic/609/how-to-turn-off-warning-some-dates-are-missed-in-the-portfolio_history</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 08:48:39 GMT</lastBuildDate><atom:link href="http://quantiacs.com/community/topic/609.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Sep 2024 14:57:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to turn off &quot;WARNING: some dates are missed in the portfolio_history&quot; on Sun, 15 Sep 2024 19:41:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/878">@omohyoid</a> Hi, we do not have such calls, sorry</p>
]]></description><link>http://quantiacs.com/community/post/1786</link><guid isPermaLink="true">http://quantiacs.com/community/post/1786</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Sun, 15 Sep 2024 19:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to turn off &quot;WARNING: some dates are missed in the portfolio_history&quot; on Sat, 14 Sep 2024 03:24:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/12">@support</a> Thanks for ur help<br />
Is there a way to turn off the warning from the outside of the qnt module? I hope that I can just add a line in my strategy code to call something in the qnt module to remove the warning.</p>
]]></description><link>http://quantiacs.com/community/post/1785</link><guid isPermaLink="true">http://quantiacs.com/community/post/1785</guid><dc:creator><![CDATA[omohyoid]]></dc:creator><pubDate>Sat, 14 Sep 2024 03:24:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to turn off &quot;WARNING: some dates are missed in the portfolio_history&quot; on Mon, 09 Sep 2024 07:43:35 GMT]]></title><description><![CDATA[<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/878">@omohyoid</a>,<br />
You can remove that warning by altering the code of the qnt library which is generally not advised since it can affect many things in your local or online development environment and could lead to different results than expected after submission. For your specific case, you can just remove the line for logging that warning in the qnt/stats.py file in the calc_stat function.</p>
<p dir="auto">Regards</p>
]]></description><link>http://quantiacs.com/community/post/1783</link><guid isPermaLink="true">http://quantiacs.com/community/post/1783</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Mon, 09 Sep 2024 07:43:35 GMT</pubDate></item></channel></rss>