how would i go about using oanda market data in my algorythm instead of tradebar?
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.
You can see the forex section here.
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.
Jared, are there any basic code samples relating specifically to Oanda trading, either from QuantConnect or a friendly Oanda trader? I'm asking because the standard order model isn't exactly what I'm used to with Oanda, (i.e.market order with take profit, stop loss built in) but I noticed somewhere in the docs that there is a namespace for Oanda V20 api with a different order type with parameters that closely match Oanda. I'm wondering if/how I can access that and while I could play around and hope to figure it out, a sample would go a long way.
Hi,
any fx algo should work for oanda. QC does not support SL and TP Oanda orders . You need to manage it yourself. below you will find a nice sample for stop loses. I'm willing also to share my algo for collaboration, but for the moment it's buggy, crashes with out of memory, is not managing failures to place orders, and once it crashes it cannot resume the management of order brackets.
The below sample is nice but it also hangs
h
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!