Back

Using oanda market data

how would i go about using oanda market data in my algorythm instead of tradebar?

Update Backtest








https://www.quantconnect.com/docs#Forex

You can see the forex section here.

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.


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.

1

I noticed two options for "Take Profit:" and "Stop Loss", both are described in this link 

https://www.quantconnect.com/forum/discussion/1072/setting-a-stop-loss-and-take-profit/p1/comment-3313
0

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

https://www.quantconnect.com/forum/discussion/1835/fx-macro-economic-sentiment-algorithm/p1

h

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