Skip to content

Commit ebfc92a

Browse files
committed
DOC: Update README example stats since 028f02d (#156)
1 parent 940253a commit ebfc92a

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

README.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58,31 +58,34 @@ Results in:
5858
Start 2004-08-19 00:00:00
5959
End 2013-03-01 00:00:00
6060
Duration 3116 days 00:00:00
61-
Exposure Time [%] 94.27
62-
Equity Final [$] 68935.12
63-
Equity Peak [$] 68991.22
64-
Return [%] 589.35
65-
Buy & Hold Return [%] 703.46
66-
Max. Drawdown [%] -33.08
67-
Avg. Drawdown [%] -5.58
61+
Exposure Time [%] 94.2737
62+
Equity Final [$] 68935.1
63+
Equity Peak [$] 68991.2
64+
Return [%] 589.351
65+
Buy & Hold Return [%] 703.458
66+
Return (Ann.) [%] 25.4193
67+
Volatility (Ann.) [%] 38.4296
68+
Sharpe Ratio 0.661452
69+
Sortino Ratio 1.29661
70+
Calmar Ratio 0.76837
71+
Max. Drawdown [%] -33.0822
72+
Avg. Drawdown [%] -5.58151
6873
Max. Drawdown Duration 688 days 00:00:00
6974
Avg. Drawdown Duration 41 days 00:00:00
7075
# Trades 93
71-
Win Rate [%] 53.76
72-
Best Trade [%] 57.12
73-
Worst Trade [%] -16.63
74-
Avg. Trade [%] 1.96
76+
Win Rate [%] 53.7634
77+
Best Trade [%] 57.1193
78+
Worst Trade [%] -16.6299
79+
Avg. Trade [%] 1.95909
7580
Max. Trade Duration 121 days 00:00:00
7681
Avg. Trade Duration 32 days 00:00:00
77-
Profit Factor 2.13
78-
Expectancy [%] 6.91
79-
SQN 1.78
80-
Sharpe Ratio 0.18
81-
Sortino Ratio 0.44
82-
Calmar Ratio 0.06
82+
Profit Factor 2.12576
83+
Expectancy [%] 6.91487
84+
SQN 1.77528
8385
_strategy SmaCross(n1=10, n2=20)
84-
_equity_curve Equ...
86+
_equity_curve ...
8587
_trades Size EntryB...
88+
dtype: object
8689
```
8790
[![plot of trading simulation](https://i.imgur.com/xRFNHfg.png)](https://kernc.github.io/backtesting.py/#example)
8891

0 commit comments

Comments
 (0)