Functions#

Every function, grouped by what it does. Pick a group to browse; the search box finds a function by name.

Statistics

Measures of a window: central tendency, dispersion, quantiles, moments, z-scores, running totals, and cross-series relationships.

Statistics
Smoothing & filters

Track and denoise the level of a series: moving averages and designed filters.

Smoothing & filters
Technical indicators

Market indicators: trend, momentum, bands, volume, and returns.

Technical indicators
Market microstructure

Order flow and liquidity from trades and quotes: trade signing, imbalance, price impact, and arrival intensity.

Market microstructure
Backtesting & risk

Turn signals into positions and costed equity curves, measure drawdown and performance, and test whether a result is more than luck.

Backtesting & risk
Portfolio & pairs

Rank assets against each other, turn scores into weights, backtest a book of many assets from one account, and trade pairs.

Portfolio & pairs
Math & logic

Elementwise numeric, trigonometric, activation, and boolean operations.

Math & logic
Data preparation

Prepare a series before analysis: bars from ticks, fill or drop missing values, and despike outliers.

Data preparation
Streaming & pipelines

Align and reshape event streams, wire operators into a runnable pipeline, and save and resume them.

Streaming & pipelines
Forecasting & ML

Training sets and labels from time-series data, online regression and filtering that forecast as they update, and regime and change-point models.

Forecasting & ML