The Delta-Ripple Credit Spread Overnight algorithm is designed to identify and capitalize on short-term directional movements in the NIFTY 50 index using a combination of implied volatility (IV) analysis and time series ranking. The core strategy revolves around identifying skews in the implied volatility of out-of-the-money (OTM) put and call options. The algorithm calculates an 'alpha' signal based on the relative IV of OTM puts and calls compared to at-the-money (ATM) options. This alpha is then ranked using a time-series rank to smooth the signal and identify potential trading opportunities. The algorithm leverages historical options data, calculates time to expiry, and incorporates checks for market open status and trading hours to ensure trades are executed under optimal conditions. Trades are only considered if certain time criteria with the underlying data are matched
This algorithm specifically trades overnight credit spreads on the NIFTY 50 index options, aiming to profit from the decay of option premiums and directional biases. A credit spread involves selling a near-the-money option and buying a further out-of-the-money option of the same type (either puts or calls) with the same expiration date. The algorithm analyzes the alpha signal and, based on predefined thresholds, initiates a credit put spread (selling puts and buying further OTM puts) or a credit call spread (selling calls and buying further OTM calls). A credit spread strategy benefits from sideways or moderately directional markets, where the sold option expires worthless, allowing the trader to keep the premium received, less the cost of the long option. Stop-loss and target parameters are configurable to manage risk and potential profit.