Skip to main content

How to back test Option Trading Strategy for free


   10 years before when I wanted to backtest a simple trading system, I need to write tons of code with charting tools like Amibroker. Another problem is getting the historical data, cleaning the data and back testing the logic with multiple parameters, all these would consume more time and effort. Now thanks to the rise in no code platforms where back testing has been made very easy with a click of a button.

In this article, we will see how to back test a option trading strategy without any cost using a platform called https://algotest.in The design is almost exactly same as well know platform called www.stockmock.in where you can back test index option with nominal fee. 

You can even back test strategy using stop loss based on underlying index movement. The 1% Short straddle bot which is designed to make profits on range bound markets without using any fixed stop loss into the system, if Bank Nifty moves +1% or -1% from 9:30 AM, then we simply exit our short straddle position. By not keeping a fixed stop loss into the markets, any sudden whipsaws will not hit our stop loss that will save us most of the time in the volatile markets. You can refer this link to learn more about this strategy https://squareoff.in/1-short-straddle-option-selling-strategy/

We are running this strategy as a free trading bot at https://squareoffbots.com/ that has made 30 lacs overall profits for bot users in last 5 months. With 1 lot, trading with 3 lacs per lot as capital, it has made around Rs.50,000 net profit after all charges in last 6 months.

If you are new to mechanical trading systems and wanted to explore more about trading system by back testing different option trading logic, then we would recommend you try out www.algotest.in  

Please note that am not anyway associated with this platform, I don’t even know who are the people behind this wonderful tool, so before publishing this article I called the phone number listed in their site and wanted to check with them all details like, who is the founder, what he does, why Algotest is available for free. I end up talking to the founder for half an hour.

The name of the founder is Raghav, a prop trader who manages Crores of funds. Developing such tools is not new to him. In fact, he developed a robust back test engine for options back in 2007 using MATLAB. Raghav and his team developed their own internal tool to back test time based option trading strategies and other complex strategies that they use with their prop fund. I asked Raghav how they are able to provide the backtest platform for free when other platforms are charging for the same.

Raghav mentioned that it doesn’t cost them much currently, it costs them less than $500 per month which they can spend from their own pocket. And just because it is free, they haven’t compromised on the data quality. Algotest do not have any plans to bring any pricing plans, they wanted to keep it free and planning to add indicator based backtest as well in the near future. Even if no of users increases in the future, they wanted to add donation option like Wikipedia just to cover the cost, which I really appreciate it. But I guess Algotest shouldn’t have replicated the same UI from Stockmock, as there’s usually a lot of time and effort goes behind such UI design, making it simple is not an easy task at all, but its Stockmock who made the backtest more simpler with their fantastic UI.

The team behind Algotest.in seems to have superior tech background, hopefully they will work on all the feedback given to them by the trading community and come up with multiple parameters to backtest. When Stockmock was launched, i wrote a detailed article on how to back test and even did a youtube video explaining how easy it is to backtest, back then I din’t even know who was founder of stockmock. But I went ahead and shared it with many traders, I believe Algotest should also need similar reach as they aren’t charging their users, so I thought by writing this article and sharing it with larger audience, would really help lot of traders.

Twelve years before when Zerodha launched with Rs.20 flat pricing model, it disrupted the entire broking industry and now every large broker was forced to move to flat pricing model. Zerodha never compromised on their quality even though pricing was drastically lower. Now pricing disruption is bound to happen on back testing platforms and algo trading space. I will not be surprised, if backtest and Algo execution platforms are available at free of cost five years from now.






Comments

Popular posts from this blog

Bullish Flag chart patterns.

  Implication A Flag (Bullish) is considered a bullish signal, indicating that the current uptrend may continue. Description A Flag (Bullish) follows a steep or nearly vertical rise in price, and consists of two parallel trendlines that form a rectangular flag shape. The Flag can be horizontal (as though the wind is blowing it), although it often has a slight downtrend. The vertical uptrend, that precedes a Flag, may occur because of buyers' reactions to a favorable company earnings announcement, or a new product launch. The sharp price increase is sometimes referred to as the "flagpole" or "mast". Figure 7: Flag (Bullish) The rectangular flag shape is the product of what technical analysts refer to as consolidation. Consolidation occurs when the price seems to bounce between an upper and lower price limit. This might occur, for example, in the days following a positive product announcement, when the excitement is starting to subside, and fewer buyers are willin...

AlgoTest Vs StockMock

  Feature Algotest StockMock Backtesting Yes Yes Forward Testing (Paper Trading) Yes No Live Trade Yes No Strategy Builder Yes (FREE) Yes (Paid) Option Simulator Yes (FREE) Yes (Paid) Backtesting speed Ultra-fast Fast Number of indices supported 6(Nifty, BankNifty, Finnifty, Nifty Midcap, Sensex, Bankex) 5(Nifty, BankNifty, Finnifty, Midcap, Sensex) Number of brokers integrated 20+ None Realtime Customer Support Yes No Stock Backtest Yes No Positional(Backtesting) Yes Yes BTST(Backtesting) Yes No Leg wise SL & lock profit feature No No Indicator-Based Strategies(Stocks) Yes No Straddle and Strangle Charts Yes(FREE) Yes(Paid) Margin calculator Yes No M2M Graph Yes No Individual leg target, stop-loss, and trailing stop-loss Yes Yes MTM target, stoploss and trailing stoploss Yes Yes Lock profit, trail profit, and lock + trail profit Yes yes Entry by premium Yes Yes Move stoploss to cost/ Trail SL to breakeven Yes Yes Simple Momentum/ Wait and Trade Yes Yes Re-entry  Yes Yes U...

What is scaling?

  Scalping is a trading strategy commonly used in financial markets where traders aim to profit from small price movements. A scalper typically makes numerous trades throughout the day, holding positions for a very short period of time, sometimes just seconds or minutes. Scalping relies on the idea that even small movements in price can create opportunities for quick profits when executed with large trade sizes. Scalpers aim to take advantage of these small price changes by entering and exiting positions rapidly. Scalping requires a high degree of precision, quick decision-making, and discipline. It also typically involves using leverage to amplify potential gains from small price movements. However, it is important to note that scalping can be very risky due to the high frequency of trades and the potential for significant losses if the market moves against the trader. Scalping is more suitable for experienced traders who can react quickly to market changes and have a good underst...