@@ -6,13 +6,32 @@ These were the major changes contributing to each release:
6
6
### 0.x.x
7
7
8
8
### 0.6.3
9
- (2025-02-20 )
9
+ (2025-03-11 )
10
10
11
11
* Enhancements:
12
- * Plot trade duration lines in the P&L plot section.
13
12
* ` backtesting.lib.TrailingStrategy ` supports setting trailing stop-loss by percentage.
14
13
* [ ` backtesting.lib.MultiBacktest ` ] ( https://kernc.github.io/backtesting.py/doc/backtesting/lib.html#backtesting.lib.MultiBacktest )
15
14
multi-dataset backtesting wrapper.
15
+ * ` Backtest.run() ` wrapped in ` tqdm() `
16
+ * Rename parameter ` lib.FractionalBacktest(fractional_unit=) ` .
17
+ * Add market alpha & market beta stats (#1221 )
18
+ * Plot improvements:
19
+ * Plot trade duration lines in the P&L plot section.
20
+ * Simplify PL section, use circular markers.
21
+ * Only plot trades when some trades are present.
22
+ * Set ` fig.yaxis.ticker.desired_num_ticks=3 ` for indicator subplots.
23
+ * Single legend item for indicators with singular/default names.
24
+ * Make "OHLC" itself a togglable legend item.
25
+ * Add xwheel_pan tool, conditioned on activation for now
26
+ (upvote [ Bokeh issue] ( https://github.com/bokeh/bokeh/issues/14363 ) ).
27
+ * Reduce height of indicator charts, introduce an overridable private
28
+ global ` backtesting._plotting._INDICATOR_HEIGHT ` .
29
+ * Bug fixes:
30
+ * Fixed ` Position.pl ` occasionally not matching ` Position.pl_pct ` in sign.
31
+ * SL _ always_ executes before TP when hit in the same bar.
32
+ * Fix ` functools.partial ` objects do not always have a ` __module__ ` attr in Python 3.9 (#1233 )
33
+ * Fix stop-market and TP hit within the same bar.
34
+ * Documentation improvements (warnings, links, ...)
16
35
17
36
18
37
### 0.6.2
0 commit comments