Skip to content

Commit 8c20cd0

Browse files
authored
v4.4.46
Release v4.4.46
2 parents 4dab01b + 2ec1367 commit 8c20cd0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1472
-182
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,14 @@ jobs:
102102
uses: actions/download-artifact@v4
103103
with:
104104
name: dist
105+
path: dist
105106

106-
- name: Publish to PyPI (Trusted Publisher)
107+
- name: Publish to PyPI
107108
uses: pypa/gh-action-pypi-publish@release/v1
108109
with:
109110
packages-dir: dist
111+
# Prefer API token publish. This avoids Trusted Publisher config drift.
112+
password: ${{ secrets.PYPI_API_TOKEN }}
110113

111114
- name: Create GitHub Release
112115
uses: softprops/action-gh-release@v2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ test_bot.py
3535
.env.*.local
3636
lumi_tradier
3737
lumiwealth_tradier
38-
ThetaTerminal.jar
38+
/ThetaTerminal.jar
39+
!lumibot/resources/ThetaTerminal.jar
3940
pytest.ini
4041

4142
# Pypi deployment

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,37 @@
11
# Changelog
22

3+
## 4.4.46 - 2026-02-04
4+
5+
### Fixed
6+
- Backtesting routing: when `futures`/`future` is configured, default `cont_future` to the same provider so `AssetType.CONT_FUTURE` does not fall back to `default`.
7+
- Backtesting performance: default per-asset fetch throttling (`sleep_time`) to 0 for backtesting data sources (keeps live default throttling unchanged).
8+
- Backtesting performance: bound `get_trading_days()` calendar initialization to the backtest date window to avoid building decades of unused schedules.
9+
10+
## 4.4.45 - 2026-01-30
11+
12+
### Fixed
13+
- Release: include `lumibot/resources/ThetaTerminal.jar` in the PyPI wheel/sdist (required by BotManager and ThetaData setup).
14+
- Backtesting: `BacktestingBroker.process_pending_orders()` now accepts both iterable order buckets and legacy buckets that expose `get_list()`.
15+
16+
## 4.4.44 - 2026-01-30
17+
18+
### Added
19+
- Charting: `Strategy.add_ohlc()` and `Strategy.get_ohlc_df()` for exporting OHLC (candlestick) indicator series.
20+
- Indicators: `plot_indicators()` now supports OHLC series in `*_indicators.html` and exports `type=ohlc` rows in `*_indicators.csv`.
21+
- Docs: add seconds-level backtesting guidance and expand seconds-mode notes.
22+
23+
### Changed
24+
- Charting: `Strategy.add_line()` now returns the appended dict (consistent with other chart helpers).
25+
- Docs: recommend `add_ohlc()` for plotting price bars and `add_line()` for single-value indicators.
26+
27+
### Fixed
28+
- Release: correct PyPI packaging so `lumibot==4.4.44` includes `Strategy.add_ohlc()` (the published `4.4.43` wheel was missing it).
29+
330
## 4.4.43 - 2026-01-30
431

32+
**NOTE:** The PyPI `lumibot==4.4.43` artifact was published from an older commit and does **not** include the changes
33+
listed below. Upgrade to `lumibot==4.4.44`.
34+
535
### Added
636
- Charting: `Strategy.add_ohlc()` and `Strategy.get_ohlc_df()` for exporting OHLC (candlestick) indicator series.
737
- Indicators: `plot_indicators()` now supports OHLC series in `*_indicators.html` and exports `type=ohlc` rows in `*_indicators.csv`.

0 commit comments

Comments
 (0)