Back

Self.Log - where is output being sent

I have issued a simple test message i.e. self.Log("testmessage") and cannot find where the message is being sent. It does not appear in the downloadable log.

Is logging available for free non live accounts ?

 

Update Backtest







0

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.


Hello Rob,

Downloadable logs are available for both backtest and live accounts. We could not reproduce the issue you stated. Could you please share a backtest for us to better understand it?

Best,

Yuxin Guan

0

Thank you for responding.

Until yesterday, it was consistently failing. Now it has suddenly started working on a backtest script that was unchanged since it failed.

My suspicion is that there is an intermittent problem.

Thank you also for assuring me that the logging facility is available and if logging fails again I will provide you with the script.

Kind Regards

Rob

 

 

 

 

 

 

0

Here is a script that failed. The log file was 204 bytes long and contained only the message stating the limits on space usage.

0


Here is a script that succeeded. It is an earlier backtest of the same script and the script was not changed between the 2 runs.

The log file is 1182 bytes long and an extract is here :

2000-12-11 00:00:00 Launching analysis for 3277851f4b372b80726ced41753e00f3 with LEAN Engine v2.4.0.0.8709^M
2000-12-11 00:00:00 inittestlog^M
2000-12-12 00:00:00 2000-12-12 00:00:00 SPY: O: 94.54074 H: 102.4547 L: 94.08655 C: 95.40095 V: 5943200^M
2000-12-13 00:00:00 2000-12-13 00:00:00 SPY: O: 95.09816 H: 95.82762 L: 94.54074 C: 94.79536 V: 4619700^M
2000-12-14 00:00:00 2000-12-14 00:00:00 SPY: O: 95.82762 H: 95.93772 L: 93.76311 C: 93.9558 V: 5580800^M
2000-12-15 00:00:00 2000-12-15 00:00:00 SPY: O: 93.50849 H: 93.93515 L: 92.34548 C: 92.34548 V: 7348300^M
2000-12-16 00:00:00 2000-12-16 00:00:00 SPY: O: 91.89723 H: 91.98006 L: 90.1232 C: 90.73756 V: 8490700^M
2000-12-19 00:00:00 2000-12-19 00:00:00 SPY: O: 76.62129 H: 92.13193 L: 76.62129 C: 91.37952 V: 6906100^M
2000-12-20 00:00:00 2000-12-20 00:00:00 SPY: O: 91.44164 H: 93.16735 L: 90.08179 C: 90.1232 V: 9054500^M
2000-12-21 00:00:00 2000-12-21 00:00:00 SPY: O: 88.79096 H: 89.00495 L: 85.55354 C: 87.45181 V: 9490400^M
You currently have a maximum of 10kb of log data per backtest, and 3072kb total max per day.Please upgrade your account and contact us to request more allocation here: https://www.quantconnect.com/contact
 

 

 

0


Hello Rob,

From the last backtest there’s a message
“You currently have a maximum of 10kb of log data per backtest, and 3072kb total max per day. Please upgrade your account and contact us to request more allocation here: https://www.quantconnect.com/contact”.
There are daily logging limits, so it’s recommended to log change events. Please don't log price data.

Best,
Yuxin Guan

0

Update Backtest





0

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.


Loading...

This discussion is closed