Improve docstring

This commit is contained in:
Matthias
2023-07-25 07:06:42 +02:00
parent 327b055468
commit 47fca02ba0

View File

@@ -255,7 +255,7 @@ def generate_all_periodic_breakdown_stats(trade_list: List) -> Dict[str, List]:
def calc_streak(dataframe: DataFrame) -> Tuple[int, int]:
"""
Calculate consecutive wins and losses
Calculate consecutive win and loss streaks
:param dataframe: Dataframe containing the trades dataframe, with profit_ratio column
:return: Tuple containing consecutive wins and losses
"""