From fd52141806a152e704ad94a834437b918726ead7 Mon Sep 17 00:00:00 2001 From: Edouard d'Archimbaud Date: Wed, 2 Dec 2026 07:46:47 +0100 Subject: [PATCH] Release 0.2.1: private VX futures in the loader (#106) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012zrKmQA3f7zJ5y5EL6MNjT --- CHANGELOG.md | 11 ++++++++++- compat/pwb-toolbox/setup.cfg | 6 +++--- pwb/__init__.py | 2 +- setup.cfg | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 679f211..ea35ae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,16 @@ Earlier releases are described in their pull requests and on PyPI; this file starts with 0.1.56. -## 0.2.0 (unreleased): `pwb-toolbox` becomes `paperswithbacktest`, import `pwb` +## 0.2.1 (2026-12-02): private VX futures in the loader and the engine + +- `load_futures`, `contract_symbols` and `add_futures` take `dataset=`; `load_dataset` takes `split=` + and accepts the `paperswithbacktest/` prefix; new `constant_maturity_weights` and + `VX_FUTURES_DATASET`; `futures_run(..., futures_options={"dataset": ...})` (#106). Keyword-only, + defaults unchanged: existing code behaves as in 0.2.0. Reading the private VX chain needs a Hub + token with access to `paperswithbacktest/Futures-Daily-VX`. +- Deprecation alias `pwb-toolbox` 0.2.1 requires `paperswithbacktest>=0.2.1`. + +## 0.2.0 (2026-12-01): `pwb-toolbox` becomes `paperswithbacktest`, import `pwb` - The package is `pwb` (`pip install paperswithbacktest`); the code is the 0.1.57 code (futures chains, `tradewind>=0.0.4`) under its new name (`git mv`, history kept). Engine, defaults and NAVs are unchanged: diff --git a/compat/pwb-toolbox/setup.cfg b/compat/pwb-toolbox/setup.cfg index c2e1475..aea3291 100644 --- a/compat/pwb-toolbox/setup.cfg +++ b/compat/pwb-toolbox/setup.cfg @@ -4,7 +4,7 @@ # pwb_toolbox), so upgrading from pwb-toolbox 0.1.x never deletes a file another # distribution installed. name = pwb-toolbox -version = 0.2.0 +version = 0.2.1 author = Papers With Backtest author_email = hello@paperswithbacktest.com description = Renamed: pip install paperswithbacktest (import pwb). This release keeps import pwb_toolbox working. @@ -33,8 +33,8 @@ classifiers = packages = pwb_toolbox python_requires = >=3.10 install_requires = - paperswithbacktest>=0.2.0 + paperswithbacktest>=0.2.1 [options.extras_require] tradewind = - paperswithbacktest[tradewind]>=0.2.0 + paperswithbacktest[tradewind]>=0.2.1 diff --git a/pwb/__init__.py b/pwb/__init__.py index d72ca26..2a0d675 100644 --- a/pwb/__init__.py +++ b/pwb/__init__.py @@ -8,4 +8,4 @@ # The release this code is: what the harness checks report as ``toolboxVersion``. # Kept equal to ``version`` in setup.cfg (tests/test_harness_checks.py checks it): # the installed metadata can belong to another copy than the one imported. -__version__ = "0.2.0" +__version__ = "0.2.1" diff --git a/setup.cfg b/setup.cfg index 061cd43..ad6ec6e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = paperswithbacktest -version = 0.2.0 +version = 0.2.1 author = Papers With Backtest author_email = hello@paperswithbacktest.com description = Papers With Backtest: datasets, backtesting harness and execution for quant traders (import pwb; formerly pwb-toolbox)