Skip to content

Commit

Permalink
Update finquant/portfolio.py
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Milthaler <fmilthaler@users.noreply.github.com>
  • Loading branch information
PietropaoloFrisoni and fmilthaler committed Sep 3, 2023
1 parent 5d22a72 commit b5d28cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finquant/portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def comp_sortino(self) -> FLOAT:
def comp_treynor(self) -> Optional[FLOAT]:
"""Compute and return the Treynor Ratio of the portfolio.
:type freq: :py:data:`~.finquant.data_types.FLOAT`
:rtype: :py:data:`~.finquant.data_types.FLOAT`
:return: The Treynor Ratio of the portfolio.
"""
# compute the Treynor Ratio of the portfolio
Expand Down

0 comments on commit b5d28cd

Please sign in to comment.