Back

Timezone

Is there any example code in python as to how to change the timezone ? I'd like to change my timezone to the london timezone.

 

Thanks in Advance. 

Update Backtest








using the search following posts came up :)  :

python:

https://www.quantconnect.com/forum/discussion/3097/triggering-trades-at-certain-times/p1

c#:

https://www.quantconnect.com/forum/discussion/1995/time-zone-of-time

but i would be careful changing it. read first the stuff people post if that is what you want:

https://www.quantconnect.com/forum/discussion/1457/different-behavior-for-custom-data-plot-using-qc-in-cloud-and-desktop/p1/comment-4459
0

Hi Jared Broad ,

Leigham is right that there is no SetTimeZone description in the documentation.

Its not clear how it affects exchanges or trading hours, if it does?

Or if its only changes the displayed time for the logs and that stuff.

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