performance_analytics.sharpe_ratio
**********************************

spice.performance_analytics.sharpe_ratio(returns_timeseries: Series, risk_free_annual: float, periods: int = 12, start_date: datetime = datetime.datetime(2023, 3, 18, 18, 32, 15, 907628), end_date: datetime = datetime.datetime(2026, 3, 18, 18, 32, 15, 907632)) -> float | None

   Computes the annualized Sharpe ratio from daily returns. This
   fuction resamples the returns to the specified frequency (daily,
   monthly or yearly) based on the 'periods' parameter, and the
   calculation is performed within the window defined by start_date
   and end_date. If the available data covers less than 12 months, the
   function returns None.

   Parameters:
      * **returns_timeseries** -- Daily returns series indexed by
        date(datetime format)

      * **risk_free_annual** -- Annual risk-free rate as decimal

      * **periods** -- Number of periods to use for annualization - 1
        for yearly - 12 for monthly - 252 for daily

      * **start_date** -- Start date (datetime format)

      * **end_date** -- End date (datetime format)

   Returns:
      Sharpe ratio, or None if insufficient data.

   Return type:
      float
