Back

Need help with Futures Trading

I am new to this platform and am trying to implement a MACD strategy for the S&P Mini Futures Contract, and take a profit for a one point move. Essentially, if the Signal crosses the MACD, set a limit order to take a one point profit and set stop loss of 2 points. I am only trading 1 contract for now since I just want to start simple. In Ninja Trader, you don't actually buy the contract, you only need $500 of initial margin in your account to make the trade. How do you implement this in QuantConnect? It seems that you have to actually buy the contract at the actual price and you can't use initial margin. Also, looking at my trades, it doesn't seem my orders are executing at the various targets properly. Can anyone help me with that?

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.


Attached backtest

0


Also is there an easier way to handle rollovers? It seems the way it is coded is pretty convoluted.

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