#z-score
2 APIs with this tag
Crypto Pairs Trading & Spread API
The statistical-arbitrage signal between two coins — how stretched their price ratio is versus its own recent average, computed live from Binance daily candles (no key, nothing stored). Pairs traders do not bet on direction; they bet on the spread between two correlated coins reverting to its mean. When ETH/BTC (or any ratio) runs two standard deviations above its average, the spread is stretched — short the rich leg, long the cheap one, and profit when it snaps back. The spread endpoint takes two coins and returns the current price ratio, its rolling mean and standard deviation, the z-score (how many standard deviations stretched), the return correlation of the two coins (pairs trading works on correlated pairs) and a long/short mean-reversion signal. The screener endpoint scans every pair in a liquid basket and ranks them by absolute z-score — the most stretched, most tradeable spreads right now. The coins endpoint lists what is covered. The pairs-trading / relative-value spread cut for crypto — distinct from the correlation-&-beta API (which gives the correlation matrix, not the tradeable spread), the single-coin momentum, the funding-arbitrage and the price APIs. It answers whether a spread is stretched, not whether two coins move together.
api.oanor.com/cryptopairs-api
FX Z-Score & Mean-Reversion API
How statistically stretched each currency pair is right now versus its own recent average — the z-score mean-reversion gauge — computed live from Yahoo Finance daily rates (no key, nothing stored). A price alone tells you nothing about whether a pair is cheap or dear; the z-score does: it measures how many standard deviations the current rate sits above or below its rolling mean. A pair two standard deviations above its average is statistically overbought and prone to snap back; two below is oversold. The zscore endpoint returns, for a pair, the current rate, its rolling mean and standard deviation, the z-score, the percent distance from the mean and a plain overbought / oversold label. The screener endpoint scans the major and cross pairs and ranks them by how stretched they are — the most overbought and most oversold at a glance, the mean-reversion opportunity scan. The pairs endpoint lists what is covered. The statistical-stretch / mean-reversion cut for FX — distinct from the FX range, pivot-point, volatility and signals APIs. It answers how far from normal a pair is, not where its support sits or how fast it moves.
api.oanor.com/fxzscore-api