python.financial
Connecting...

Volatility squeeze

Loading...

Built with VectorBT PRO

Historical market data / choose a provider and download prices

Prices are downloaded once. Strategy controls reuse the loaded data. Keys are used for this download and cleared from the form.

Costs and capital 5 bps fee

Costs and capital

1 bp = 0.01%. Allocation is the share of available cash used on entry. Each test starts flat with 10,000 account units.

Price / squeeze

Bollinger BandsKeltner ChannelCompressionBuySell
Drag to pan / scroll to zoom / markers show fills.
Momentum / fitted detrended priceZero-line dots: dark = compressed / ochre = release / gray = outside squeeze

Buy a squeeze release with positive momentum. Exit when momentum crosses zero downward. Decisions at completed closes, fills at the next open.

Net return--After trading costs
Max drawdown--From starting cash or later peak
Closed trades--Long / flat
Win rate--Closed trades, after fees
Profit factor--Closed gross wins / gross losses

Account value

StrategyBuy & hold

Drawdown

% below prior peak

Loading closed trades...

ENTRY (UTC)EXIT (UTC)ENTRY PRICEEXIT PRICENET P&LRETURNCHART
Loading dataset...