Hey there!
I was told to reach out through the forum in regards to receiving assistance with a current issue I am experiencing.
I will list the two issues down below :
1. The Moving Average is different when calculated from Quantconnect than in Oanda. Why might this be?
2. How do we immediately cancel an order once another order has filled such as in a take profit / stop loss strategy? As in, is there a method that does this?
Thank you for the help!
Justin Silver
Jack Simonson
Hi Justin,
There are certain types of orders that we don't support right now, such as OCO and Take Profit, but there are some posts in the forums where community members share their own methods of replicating these order types, such as here. As far as the moving average calculation goes, do you know what type of MA they specify and the timezone it is being calculated in? We offer both Simple and Exponential MA, and there could be a difference in which Oanda is displaying or in the time-period arguments being passed.
Justin Silver
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!