--- title: sh description: A comprehensive documentation page provides information about the Sharpe ratio of a selected stock. It includes parameters such as risk-free return and rolling window length, along with their usage presented in Python code. keywords: - Sharpe Ratio - Stock - Risk Free Return - Rolling Window Length - Finance - Investment --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Provides the sharpe ratio of the selected stock. ### Usage ```python sh [-r RFR] [-w WINDOW] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | rfr | Risk free return | 0 | True | None | | window | Rolling window length | 1 | True | None | ![image](https://user-images.githubusercontent.com/75195383/163530426-77abe5ac-9c21-43e5-a975-5a37c7eb452f.png) ---