This algorithmic trading strategy, named "Ratio-Weave Credit Spread Expiry," aims to identify and capitalize on short-term directional biases in the NIFTY 50 index by analyzing a combination of option chain data and technical indicators. The core of the strategy involves calculating a proprietary "alpha" signal derived from factors like implied volatility (IV) skew divergence between call and put options, entropy compression in at-the-money (ATM) options, and the momentum and correlation of ATM options. This alpha signal is then normalized using a time-series rank, providing a relative measure of the signal's strength. The algorithm triggers potential trades when the alpha signal exceeds a predefined threshold and when a significant IV skew is observed, suggesting a potential directional bias.
This algorithm specifically focuses on trading credit spreads on NIFTY options, typically closer to the expiry date. Credit spreads involve simultaneously selling a near-the-money (NTM) option (either a call or a put) and buying a further out-of-the-money (OTM) option of the same type. The algorithm aims to profit from the time decay of the sold option, while the bought option acts as a hedge against adverse price movements. Specifically, it looks to establish credit call spreads when it anticipates market downside movement and credit put spreads when the expectation is upside movement. Credit spread strategies typically perform best when the market exhibits limited movement or moves in the anticipated direction, allowing the options to expire worthless and the trader to retain the initial premium received. The algorithm incorporates stop-loss and target levels to manage risk and potentially lock in profits.