Changelog¶
The canonical changelog lives in
CHANGELOG.md
at the repository root. Highlights below.
[0.3.4] - 2026-11-15¶
- Added SMC breaker, rejection, propulsion, and vacuum block indicators, plus
ManualBoxesandManualLabels. - Added optional higher-timeframe wicks with
superimpose_wicks=True. - Preserved hidden chart markers during pan and zoom, cleared unconfirmed indicator points on replay rewind, and corrected SMC mitigation timing.
[0.3.3] - 2026-11-13¶
- Fixed the live MT5 connector to pass trade request fields as keyword arguments.
[0.3.2] - 2026-11-03¶
Added¶
- SMC order blocks in
tradetropy.ta.order_blocks(find_order_blocks(),SmcOrderBlock): causal, no lookahead - everyBlockcarriesconfirmed_idx, the bar at which it first becomes knowable from closed bars. ConfirmedPivotSeries:ConfirmedPivotplus a causal query API (pivots_from()/count_upto()), so folding pivots bar by bar costs O(new pivots) instead of re-slicing the band arrays.bt.plot(legend_placement=, volume_alpha=): the legend now sits on its own horizontal strip above the price frame ("inside"/"none"to opt out), andoutput="file"writes the HTML without opening a browser tab, painting the whole page in the theme background.
Changed¶
- Breaking (default flipped):
sltp_tiebreak="worst"inKlineBroker,SeshSimulatorBaseandSeshMT5Sim. When one bar touches both the SL and the TP of a position, the stop is assumed to have fired first - no win is booked that the OHLC data cannot prove."open"restores the old guess, andbroker.sltp_ambiguouscounts the affected bars.
Fixed¶
- MT5:
SeshMT5Live.orders()/order_history()raisedModuleNotFoundError(a module that no longer exists), andSeshMT5Simprofit/account info raisedAttributeError(cfg.tick_stepdoes not exist). - Replay: kline datasets were re-bucketed as ticks, so candles plotted flat; a replay chart could also open empty, flicker and double-count volume.
- Live: warmup never completed for strategies subscribing several intervals.
read_klines()acceptedavg_spreadbut never applied it to the symbol config, so kline backtests ran with zero spread.
[0.3.0] - 2026-07-28¶
Added¶
- Pattern DSL:
{min,max}repetition quantifier for elastic pivot gaps. # Positionsmetrics (distinct closed positions, partial closes merged) alongside# Trades(row-per-close). See Metrics.bt.plot(header_text=, footer_text=)manual chart notes,superimpose=higher-timeframe overlay candles, andderender_on_pan=(plus per-indicatorhide_on_pan) to keep pan/zoom fluid on marker-heavy charts.- Stats bar: Sharpe/Sortino/Calmar/Profit Factor/SQN always show 2 decimals.
Removed¶
- The floating price tag has been removed from the chart;
show_price_tagis now a deprecated no-op.
[0.2.5]¶
Added¶
- Zoom-aware candle level-of-detail (LOD): large backtests (6000+ candles) draw a bucket-aggregated, extremes-preserving view that refines as you zoom in, so big charts stay light without losing autoscale accuracy.
CandlePatterns(statistical candlestick detector with causal efficacy tracking) andManualMarks(strategy-driven marks/levels).price_source='trade'onTickData.to_klines()/ticks_to_klines().- Configurable log-timestamp presentation zone (
get_strategy_logger(display_tz=)) and an optionalstats_warn=flag onBacktestEngine.run().
Changed¶
tradetropy.iosplit into focused internal submodules (public API unchanged).bt.plot()defaults to the WebGL backend;show_price_tagnow defaults toFalse.
[0.2.4]¶
Changed¶
- Regenerated the badge logo at higher resolution: a larger icon and more
right-side padding on the pill so the "Tradetropy" wordmark no longer crowds
the rounded edge (reproducible via
tools/gen_logo.py). - Plotting: large tick-backtest equity/drawdown curves are min/max decimated for
drawing and overlay indicators join the price-panel autoscale for smoother
pan/zoom; also fixes an ImportError in
bt.plot().
[0.2.3]¶
Added¶
- Interactive documentation demo embedded on the docs landing page and the Examples page, generated from a single canonical snippet (source, stats and chart can never drift from each other).
- README static chart preview linking to the live interactive chart.
- Backtesting.py-style P&L panel (sized circle markers, entry-to-exit segment, signed size in the hover tooltip), consistent between backtest and live.
- New badge-style logo; README badges (Python versions, downloads, license, CI status) and docs landing page download buttons.
Fixed¶
bt.plot()Y-axis autoscale on pan/zoom in backtest, live and replay.
[0.2.2]¶
Added¶
- Horizontal wordmark logo used in the README.
Fixed¶
- README logo uses an absolute URL so it renders on PyPI as well as GitHub.
[0.2.1]¶
Added¶
tradetropy.__version__, resolved viaimportlib.metadata.
[0.2.0]¶
Added¶
- Bundled sample datasets (
tradetropy.datasets) with typed loaders for candles, ticks and a paired L2 order book. - MkDocs Material documentation site with an autogenerated API reference.
- Real optional-dependency extras:
mt5,ccxt,bybit,parquet,all,docs.
Fixed¶
drawdown_episodesno longer crashes on a non-unique equity index (produced by multi-symbol backtests).
[0.1.0]¶
Initial public release: BacktestEngine (tick and kline),
PoolBacktestEngine, LiveEngine (CCXT Pro and MT5), TrainingEngine; the
Strategy framework; the core technical-analysis library; Volume Profile and
Rolling Volume Profile; Footprint; Large Trades (L1); market-structure
indicators; optimization; statistics; static Bokeh plotting; and data IO for
CSV, Parquet and HDF5.