Know performance, backtest now
that day.
Backtested Gross Gains
This graph compares the Algo's best and worst performance over time, showing how returns can vary depending on when you start using the Algo.
Know performance, backtest now
Performance Summary
Hover to see parameter details.
Tap to see parameter details.
Avg Drawdown
--
Indicates the average decline the strategy experiences in downturns, revealing how deep its typical losses go.
Risk : Reward
--
Indicates how much the Algo typically earns for every rupee it risks. E.g., 1:3 means it targets ₹3 in reward for every ₹1 of risk.
Frequency of trade
--
Indicates how often the Algo trades on average.
Risk
--
Indicates the expected volatility of the Algo and is classified into levels like Low, Medium, and High.
Max Drawdown
--
Indicates the largest decline the Algo has faced so far, reflecting its most severe historical downturn.
Success Ratio
--
Indicates the percentage of trades that end in profit. E.g., 70% means 7 out of 10 trades are winners.
Avg Profit in Trade
--
Indicates the average gain the Algo earns on its winning trades.
Avg Loss in Trade
--
Indicates the average loss the Algo incurs on its losing trades.
Avg Time to Recovery
--
Indicates the average number of days the Algo took to bounce back after experiencing its average drawdown.
Max Time to Recovery
--
Indicates the number of days the Algo took in the past to recover from its worst drawdown to date.
Sharpe Ratio
--
Indicates how well an Algo balances risk and return, showing how effectively it manages volatility.
*Metrics/Analytics basis past data. Historical data does not guarantee future results.
Know performance, backtest now

Strategy Overview
This algorithm implements a credit spread strategy on Nifty options, aiming to profit from the decay of option premiums. It analyzes historical and real-time data to identify potential trading opportunities based on calculated alpha values. The core idea is to sell a higher premium option (either call or put, depending on the signal) and simultaneously buy a lower premium option of the same type but further out-of-the-money, thus creating a credit spread. The algorithm caches data to improve efficiency and speed of execution. Technical indicators, volatility analysis, and option chain data are used to formulate trading decisions. The algorithm is scheduled to run between 10:15 AM and 2:15 PM, avoiding the initial market opening and final closing hours. The algorithm generates buy/sell signals based on two alpha values, `alpha` and `alpha2`, which are derived from a combination of volatility metrics, option chain analysis, and spot price movements. A credit put spread is initiated if both alpha values exceed predefined thresholds (0.75 and 0.70 respectively), and a credit call spread is initiated if both alpha values fall below predefined thresholds (0.25 and 0.30 respectively). The algorithm defines risk management parameters, incorporating a stop-loss percentage of 5% and a target profit percentage of 10%. Additionally, it attempts to set a target exit time, potentially exiting trades early if the profit target is reached before expiry. The algorithm calculates and considers margin requirements before executing trades, ensuring sufficient capital is available. It also includes checks to avoid trading on expiry days and when the market is closed. If all conditions are met and a trade is generated, the algorithm sends the trade signals to an execution system and pushes slack messages.
This Algo is managed by
Stratzy
Stratzy is a place where you can get tailored guidance for your portfolio to help you make the right investments. Gain access to battle tested algos, automation of your investments and insights about the market, right in the palm of your hand. Your wealth generation begins here.
More algos by Stratzy









































































