I can share an example of how I used the vertical spread strategy in options trading to generate profits. Let's say, at a certain point, I had a bullish view on a particular stock, but I also wanted to trade with controlled risk.
I chose the vertical spread strategy, specifically the Credit Vertical Spread. I simultaneously sold a higher strike price call option (referred to as the "far" option) and bought a lower strike price call option (referred to as the "near" option). By doing this, I collected the premium from selling the option, resulting in an initial cash inflow (credit).