Skip to content

Commit 940253a

Browse files
committed
DOC: Update Backtest.run docstring since 028f02d (#156)
1 parent c1f8a54 commit 940253a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

backtesting/backtesting.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,11 @@ def run(self, **kwargs) -> pd.Series:
10961096
Equity Peak [$] 75787.4
10971097
Return [%] 419.599
10981098
Buy & Hold Return [%] 703.458
1099+
Return (Ann.) [%] 21.328
1100+
Volatility (Ann.) [%] 36.5383
1101+
Sharpe Ratio 0.583718
1102+
Sortino Ratio 1.09239
1103+
Calmar Ratio 0.444518
10991104
Max. Drawdown [%] -47.9801
11001105
Avg. Drawdown [%] -5.92585
11011106
Max. Drawdown Duration 584 days 00:00:00
@@ -1110,9 +1115,6 @@ def run(self, **kwargs) -> pd.Series:
11101115
Profit Factor 2.08802
11111116
Expectancy [%] 8.79171
11121117
SQN 0.916893
1113-
Sharpe Ratio 0.179141
1114-
Sortino Ratio 0.55887
1115-
Calmar Ratio 0.049056
11161118
_strategy SmaCross
11171119
_equity_curve Eq...
11181120
_trades Size EntryB...

0 commit comments

Comments
 (0)