So the QC data for Oanda is in NYC time, and I have also downloaded my own data via Oanda Api, I have noticed something that might be relevant to other people.
When you download historical data from Oanda Api directly (not Quantconnect) The data will always be in the timezone of the Oanda server you are linked to (by account), for me the Data always comes in Sydney time even when I download to a linode that is set to UTC in Japan, and even when I request alignmentTimezone:{any_Other_TimeZone} or any other adjustments to the data to come from Oandas endpoint.
I haven't really tested timezones etc live but I just thought I would mention to be careful when using Oanda as the bars will vary wildly depending what country you are in if using their data and possibly if you are using QC data for backtesting, if you haven't set the backtest algo time to the same time as the Oanda server you will be linked to when trading live. Some countries wouldn't even have their own servers. I think live will probably be the same as historical in that it will likely be locked to my registered server in Australia which means if I were to backtest on QC data set to any timezone other than my own the data feed on live deployment would have different times, a pain in the ass if you use UTC time. I am not 100% yet on the live trading side maybe the fix api employed by QC works differently than the rest api in regards to timezone but probably not since the server seems linked to api key / the branch of Oanda where your account is registered.
AgedVagabond
OK so it turns out QC Oanda Api will stream bar.Time as EST, so not as big of a deal as i first thought as the live QC data will always align with the strategy backtest. my backtest data downloaded from Australian server on the other hand will need to be parsed to EST before saving.
AgedVagabond
Fx seems locked to time zone and cfd are coming from a totally different server, probably Chicago -6 utc. In the event anyone else ever has to figure it out.Â
AgedVagabond
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!