Update dependency backtesting to v0.6.5 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.3.3->==0.6.5Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
kernc/backtesting.py (backtesting)
v0.6.5Compare Source
(2025-07-30)
stats._tradesDataFrame (#1277), thanks to Abhirath Mahipal.stats._tradesdata frameTrade.plandTrade.pl_pct(#1279), thanks to Abhirath Mahipal.functools.partialobjects do not always have a module attr in Python 3.9plot=False, overlay=Trueindicators, but muted.v0.6.4Compare Source
(2025-03-30)
primarily missing a
if __name__ == '__main__'guard.v0.6.3Compare Source
(2025-03-11)
backtesting.lib.TrailingStrategysupports setting trailing stop-loss by percentage.backtesting.lib.MultiBacktestmulti-dataset backtesting wrapper.
Backtest.run()wrapped intqdm()lib.FractionalBacktest(fractional_unit=).fig.yaxis.ticker.desired_num_ticks=3for indicator subplots.(upvote Bokeh issue).
global
backtesting._plotting._INDICATOR_HEIGHT.Position.ploccasionally not matchingPosition.pl_pctin sign.functools.partialobjects do not always have a__module__attr in Python 3.9 (#1233)v0.6.2Compare Source
(2025-02-19)
backtesting.lib.FractionalBacktestthat supports fractional trading
backtesting.__all__for betterfrom backtesting import *and suggestionstrade_on_close=Truefinalize_trades=Truedatetime_arr.astype(np.int64)to avoid Windos errorv0.6.1Compare Source
(2025-02-04)
Enhancement: Use
joblib.Parallelfor optimization.This should vastly improve performance on Windows while not
affecting other platforms too much.
v0.6.0Compare Source
(2025-02-04)
Backtest(spread=); changeBacktest(commission=)to apply twice per tradestats['trades'](#1039)stats['trades'](#1116)AssertionErroronfor o in self.orders: o.cancel()bt.plot(resample=True)with categorical indicatorsv0.5.0Compare Source
(2025-01-21)
Backtest.optimize(method="sambo");uses SAMBO:
to replace
method="skopt".Order.__repr__issue with non-numericOrder.tag.v0.4.0Compare Source
(2025-01-21)
Backtest.plot(plot_trades=)parameterConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.