--- title: spread description: This page provides a detailed guide on the use of the 'spread' function in Python, which shows rolling spread measurement. Furthermore, it also presents the parameters involved, their descriptions, and potential default values. keywords: - spread - rolling spread measurement - parameters - usage - window length - n_window - optional --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Shows rolling spread measurement ### Usage ```python spread [-w N_WINDOW] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | n_window | Window length | 14 | True | None | ![spread](https://user-images.githubusercontent.com/46355364/154308406-f20812a4-fa04-4937-b8de-dc27042f7462.png) ---