Hi
I'm getting unexpected results in the Research environment when I retrieve intra-day Forex data. Am I doing something wrong?
In the attached notebook, the data rows after 2019-08-12 02:00:00 cannot be correct.
Cheers, Tony
Don't have an account? Join QuantConnect Today
QuantConnect Community Discussions
QUANTCONNECT COMMUNITY
LEAN is the open-source algorithmic trading engine powering QuantConnect. Founded in 2012 LEAN has been built by a global community of 180+ engineers and powers more than 300+ hedge funds today.
Join QuantConnect's Discord server for real-time support, where a vibrant community of traders and developers awaits to help you with any of your QuantConnect needs.
The Open-Quant League is a quarterly competition between universities and investment clubs for the best-performing strategy. The previous quarter's code is open-sourced, and competitors must adapt to survive.
User reports unexpected results in Forex data retrieved in QuantConnect Research environment.
Continue ReadingRefer to our Research Guidelines for high quality research posts.
Create an account on QuantConnect for the latest community delivered to your inbox.
Sign Up Today
|
|
|||||||
|
|
||||||||
|
Research Environment Forex Data
Tony Shacklock | August 2019
Hi
I'm getting unexpected results in the Research environment when I retrieve intra-day Forex data. Am I doing something wrong?
In the attached notebook, the data rows after 2019-08-12 02:00:00 cannot be correct.
Cheers, Tony
QuantConnectâ„¢ 2025. All Rights Reserved
Sherry Yang
Hi Tony,
Thanks for sharing your notebook. It looks like data is missing from 8/12 in UTC time so a fill forward was done. This appears to be a FXCM data issue and we are working on patching it in the research environment. If you give the same code a try with Oanda data (Market.Oanda), you should see data for 8/12. Additionally, you should see that backtesting data is not affected by this same issue.
Thanks for letting us know!
Sherry
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.
Tony Shacklock
Hi Sherry
Thanks for clarifying that. I had just worked that out myself by comparing it with data in Algo Lab. Some intra-day data is missing from the FXCM data (in the Algo Lab as well). I found another period with the same problem: 2019-06-03 02:00:00 onwards.
You can see in my notebook that I am specifying Oanda data. I tried both Oanda and FXCM, but I get identical data. Perhaps I have something wrong in the qb.AddForex() method call. How can I be sure to retrieve Oanda data. Any suggestions?
Cheers
Tony
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.
Daniel Chen
Hi Tony,
Please report this data issue here. Thank you so much!
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!