Hi!
When making a History() call for a specific symbol, if the amount of historical data available is less than the requested data, some log messages will be automatically printed:
2005-01-01 00:00:00 [ABBC, 12/16/2004]
2005-01-01 00:00:00 Warning: when performing history requests, the start date will be adjusted if it is before the first known date for the symbol.
When running an algorithm on a large number of symbols, these messages add up fast. Since log file sizes are highly restricted, is there a way to:
- Avoid getting these log messages OR
- Is there a way to get the number of History bars available without having to make the History() call which generates the log messages. By knowing there isn't sufficient bars available for a symbol, we wouldn't make the History() call.
Thanks!
Derek Melchin
Hi BeachFront,
We've opened a GitHub Issue to have the problem resolved. Subscribe to our progress here:
NumericalPrecisionLimited Warning Overload
Best,
Derek Melchin
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
BeachFront
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!