mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 04:13:06 +00:00
631 B
Vendored
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)
