Files
OpenBB/website/content/terminal/common/quantitative_analysis/sh/_index.md
Jeroen Bouma b992d17c87 Update Hugo documentation by refractoring (#1860)
* Update documentation

* Update _index.md
2022-05-24 10:43:56 +02:00

631 B
Vendored

usage: sh [-r RFR] [-w WINDOW] [-h]

Provides the sharpe ratio of the selected stock.

The sharpe ratio is calculated by subtracting the risk-free rates from the return and then divide it by the risk, measured by the volatility. This gives the return per volatility point.

optional arguments:
  -r RFR, --rfr RFR     Risk free return (default: 0)
  -w WINDOW, --window WINDOW
                        Rolling window length (default: 252)
  -h, --help            show this help message (default: False)

image