Skip to content

Releases: edtechre/pybroker

v1.2.12

05 Mar 04:45

Choose a tag to compare

  • Now supports Pandas 3

v1.2.11

05 Dec 17:16

Choose a tag to compare

  • Fixes bug caused by readonly Numpy arrays returned by Pandas 2.3.
  • Adds pybroker.clear_params function to clear out global parameters.
  • Forwards *args and **kwargs from Strategy#add_execution to the execution function.
  • Adds seed argument to Strategy#backtest and Strategy#walkforward for reproducible bootstrap results.
  • Removed redundant subtract_fees config option.

v1.2.10

02 Jul 23:44

Choose a tag to compare

  • Updates Sharpe, Sortino, and Calmar ratios to use per-bar returns instead of absolute per-bar deltas.

v1.2.9

13 Apr 05:31

Choose a tag to compare

  • Upgrades to NumPy v2 while still supporting NumPy v1.
  • Adds LONG_ONLY and SHORT_ONLY config options for running long-only and short-only strategies.
  • Add max_drawdown_date to eval metrics returned in TestResult.
  • Fixes yfinance dependency version.

v1.2.7

12 Mar 01:43

Choose a tag to compare

  • Fixes the issue where df.loc[index] returns Dataframe type when df.index.is_unique is False for Dataframe object

v1.2.6

08 Jan 01:37

Choose a tag to compare

  • Fixes missing Adj Close column from yfinance. Adds auto_adjust argument to YFinance data source and sets to False by default, which will return the Adj Close column.
  • Raises error if sell_all_shares or cover_all_shares is called without an open position.

v1.2.5

15 Nov 07:45

Choose a tag to compare

v1.2.4

22 Sep 21:59

Choose a tag to compare

Guarantees that largest_loss_pct is always negative and that largest_win_pct is always positive.

v1.2.3

16 Sep 05:30

Choose a tag to compare

v1.2.2

09 Sep 05:29

Choose a tag to compare