--- title: omega_ratio description: Learn how to calculate the Omega Ratio using a Python function. This documentation page provides information on the parameters required, including time series data, target column, and threshold. The function returns a list of Omega ratios. keywords: - Omega Ratio - calculate Omega Ratio - Python function - documentation page - time series data - target column - threshold - OmegaModel --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Calculate the Omega Ratio. Parameters ---------- data : List[Data] Time series data. target : str Target column name. threshold_start : float, optional Start threshold, by default 0.0 threshold_end : float, optional End threshold, by default 1.5 Returns ------- OBBject[List[OmegaModel]] Omega ratios. ```python wordwrap ``` --- ## Parameters This function does not take standardized parameters. --- ## Returns This function does not return a standardized model ---