> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/modules/amibroker/amibroker-rest-api/credit-spread-module.md).

# Credit Spread Module

A credit spread in options trading is a strategy where you buy an option while simultaneously selling another option of the same class but with a different strike price. The idea is to generate a net "credit" (income) from the premiums, with the aim that both options will expire worthless, allowing you to keep the initial credit.

{% file src="/files/8gM1yP6dAfUw7nMNyTLI" %}
