An alpha factor is a quantitative signal that tries to explain the part of an asset's return that does not come from market exposure (beta). It is written as a formula over prices, volumes or other data and is judged by how well it ranks assets: if high-scoring assets outperform low-scoring ones, the factor carries predictive content.

The research in this topic starts from that split between alpha and beta and turns it into Python code: alpha encodings (signals written as formulas, from moving-average crossovers to committees of several averages), random universes drawn from the S&P 500 list and from iShares ETF holdings, and a first multi-asset alpha on SPY, QQQ, IWM, TLT and GLD based on the change in the absolute skew of returns. It ends with the skeleton of an optimiser that searches the alpha's parameter space. Prices are downloaded with yfinance.