Skip to content

Releases: stefan-jansen/zipline-reloaded

3.1

26 Sep 14:25
Compare
Choose a tag to compare

3.0.4

15 May 03:25
dd9cebc
Compare
Choose a tag to compare
  • update to Python 3.12

Version 3.0.3

25 Jul 21:15
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0...3.0.3

Version 3.0

14 Jul 16:03
0db8221
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.2.1...3.0

2.4

29 Jan 21:07
Compare
Choose a tag to compare
2.4
  • finalizing conda-forge package
  • moving out of beta after a couple weeks without issues

What's Changed

Full Changelog: 2.2.1...2.4

2.4-beta.1

10 Jan 22:03
5709281
Compare
Choose a tag to compare

What's Changed

The most important change is compatibility with exchange_calendars >= 4.0, which in turn changes the datatype of time zones for trading sessions from timezone-naive to UTC:

Sessions are now timezone-naive (previously UTC). Schedule columns now have the timezone set as UTC. The times have always been defined in terms of UTC, but the dtype used to be timezone-naive.

Full Changelog: 2.3.0...2.4.0-beta.1

2.3

10 Jan 15:26
Compare
Choose a tag to compare
2.3

What's Changed

Full Changelog: 2.2.1...2.3.0

2.2

29 Oct 17:01
618ba44
Compare
Choose a tag to compare
2.2

With this release, we're moving to the actively maintained ecxhange_calendars from the no longer maintained trading_calendars - thanks to @MBounouar for making this happen! As a result, Zipline is now again compatible with the latest pandas versions.

2.1.1

08 Sep 06:45
Compare
Choose a tag to compare

The release simplifies the code by removing elements that are no longer necessary, addresses a few issues and improves the automatic build and test GHA workflows.

Pandas 1.3+ causes issues with trading-calendars; while we work out migration to the more actively maintained exchange_calendars, pandas is temporarily limited to version <=1.2.5.

Big shout-out to @MBounouar who made quite a few very useful contributions, namely:

  • Migrate from nosetest to pytest (#9, #15 )
  • Apply patch for futures backtesting (#3)
  • Various revisions of the Cython extensions to facilitate maintenance and enhancements going forward (#46, #49)
  • Address warnings and other maintenance issues.

In addition, there are several improvements to the automatic test and build process (#47, #48, #50, #51, #52).

Release 2.0.0rc4

29 Mar 23:02
Compare
Choose a tag to compare

Highlights

This release updates Zipline to be compatible with Python >= 3.7 as well as the current versions of relevant NumFOCUS libraries like Pandas, scikit-learn, and others.

  • Conda packages for Zipline and key dependencies Bcolz and TA-Lib are now available for Python 3.7-3.9 on the ml4t Anaconda channel.
  • Binary wheels are available on PyPI for Linux ( Python 3.7-3.9) and MacOSx (3.7 and 3.8).

As part of the update, the BlazeLoader functionality was removed. It was built on the Blaze Ecosystem. Unfortunately, the three relevant projects (Blaze, Odo, and datashape have received limited support over the last several years.

Other updates include:

  • A new release for Bcolz which has been marked unmaintained since September 2020 by the author. The new release updates the underlying
    c-blosc library from version 1.14 to the latest 1.21.0. There are also conda packages for Bcolz (see links above).
  • Networkx - used by Zipline to process the Pipeline Graph - now uses the better performing version 2.0.
  • Conda packages for TA-Lib version 0.4.19.

This new release also makes it easier to load custom data sources into a Pipeline (such as the predictions of an ML model) when backtesting.
See the relevant examples in the Github repo of the book Machine Learning for Trading,, such as these ones.

Enhancements

  • custom_loader() for custom Pipeline data
  • compatibility with the latest versions of Pandas, scikit-learn, and other relevant libraries.

Bug Fixes

  • Numerous tests updates to accommodate recent Python and dependency versions.

Performance

  • The latest blosc library may improve compression and I/O performance.

Maintenance and Refactorings

  • Removed Python 2 support

Build

  • All builds consolidated on GitHub Actions CI

Documentation

  • Expanded with additional information on Pipeline and related DataLoaders