Back

Convert to Live Algorithm

Hi All !

My name is Vasista and this is my first time venturing into something like this. While I've been an active day trading programming hasn't really been my forte so I'm using this as a platform to learn. Can someone help me with converting the below backtest code to something that can be implemented live starting tomorrow for example ? Appreciate your help in advace. 

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.


Also when I try to paper test it, I'm getting an Authorization Violation on Alpaca. Any and all help would be appreciated. 

0

I think you need to have an approved live account with alpaca in order to trade via alpaca paper account.

0

Hi Vasista - the philosophy behind QC is that if the code runs in a backtest, it should run in a live setting without any modifications. Commands like SetStartDate, SetCash, etc. will be automatically ignored in a live environment.

1

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