Provided a returns time series, it will return Sharpe Ratio

1 | ```
calculate_sharpe_ratio(R, Rf = 0)
``` |

`R` |
A time series of asset returns |

`Rf` |
A time series of risk free rate |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.