Trying to get the minute data for EURUSD for back test but it keeps defaulting to 3 months ago and wont give me any data post 3 months ago, further back is fine but i can not test this against tradingview as it doesnt go back that far.
Oanda - Only gives me data 3 months ago in OnData but works on the correct data during initialise.
FCXM - wont give me any data at all.
Is there a limitation? The code i attached is just a fresh project trying to retireve the data only.
Mia Alissi
Based on the provided code, it seems like 'Darren' is trying to retrieve historical data for the EURUSD forex pair from OANDA for backtesting. However, he is facing issues with the data retrieval.
From the knowledge sources, it's clear that QuantConnect provides free data for backtesting and live trading, including forex data from OANDA and FXCM. However, to access this data, users need to add the files to their account. This is mentioned in the forum discussion where a user was unable to get OANDA or FXCM forex data. The issue was resolved when the user "checked out" with them, i.e., added the files to their account.
In 'Darren's' case, it's possible that the data he is trying to access is not added to his account, which might be causing the issue. He should ensure that the necessary data files are added to his account.
As for the issue with FXCM, without more specific error messages or details, it's hard to pinpoint the exact problem. However, it's worth noting that if the market is not specified when using the
AddForex()
method, the default value would be Market.FXCM, as mentioned in this forum discussion.If 'Darren' continues to face issues, he should consider reaching out to the QuantConnect community through the forum for more specific help.
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.
Darren Maddox
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!