Backtesting is the most important stage of testing and verifying the result of your trading strategy. You can either build your own backtesting script or use a python package such as backtrader
to simulate your portfolio return with downloaded stock prices CSV files. Either way would require you to download the stock price in minute or day bar beforehand. Also, you need to deal with the stock market events such as stock splitting, ticker name changing, or delisting. So effectively using an existing online tool like QuantConnect could save you a lot of time dealing with edge cases yourself.
I’ve been spending my time learning how to work with QuantConnect platform and its features in the past month. So in this post, I’m going to introduce the web-based backtest platform by finding out the common things between Quantopian and QuantConnect. Then I’ll talk about the good and bad I found in trying out these two platforms. Hopefully, the experience that I shared in this post can better help people who are looking for a solution of validating their trading ideas.