#momentum
15 APIs with this tag
Variance Ratio Test API
A formal statistical test of whether a market follows a random walk, or whether its returns carry tradeable momentum or mean-reversion that is real rather than noise — the Lo-MacKinlay variance ratio test, computed live from Yahoo Finance daily closes, no key, nothing stored. Most persistence tools give you a single descriptive number; this gives you a hypothesis test with a verdict. The variance ratio compares the variance of multi-day returns to the variance of one-day returns scaled up: under a true random walk the ratio is 1 at every horizon. A ratio above 1 means returns positively autocorrelate (trends persist — momentum); below 1 means they reverse (mean-reversion). Crucially it attaches a heteroskedasticity-robust z-statistic and a p-value at each horizon, so you know whether the deviation from a random walk is statistically significant or just sampling noise — the thing a point estimate cannot tell you. The asset endpoint runs the test at horizons of 2, 4, 8 and 16 days and returns each ratio, z-statistic, p-value and a reject/fail-to-reject verdict, plus an overall read. The screener endpoint ranks the cross-asset universe by their 2-day variance ratio, separating the statistically momentum-like markets from the mean-reverting ones. This is the random-walk hypothesis-test cut — distinct from the Hurst-exponent regime API (a point estimate with no significance), the momentum and the price APIs. It is the test, with the p-value attached.
api.oanor.com/varianceratio-api
Sector Rotation RRG (Relative Rotation Graph) API
Where each S&P 500 sector sits on the rotation map versus the market, computed live from Yahoo Finance (no key, nothing stored). The Relative Rotation Graph is how professional allocators visualise sector rotation: it plots each sector on two axes — relative strength (is it out- or under-performing the S&P 500) and relative momentum (is that relative strength improving or fading) — and the combination lands each sector in one of four quadrants that rotate clockwise over time: Leading (strong and getting stronger), Weakening (strong but losing steam), Lagging (weak and getting weaker) and Improving (weak but turning up). Money rotates Improving to Leading to Weakening to Lagging, so the quadrant tells you not just who is winning but who is next. This computes each of the eleven SPDR sectors' RS-Ratio and RS-Momentum against the S&P 500 and places it in its quadrant. The rrg endpoint returns the whole rotation map; the sector endpoint returns one sector's coordinates and quadrant; the sectors endpoint lists what is covered. The sector-rotation RRG / quadrant cut — distinct from the relative-strength ranking (a one-dimensional list), the sector price/performance feed and the correlation APIs. It shows the rotation, not just the ranking.
api.oanor.com/rrg-api
CCI Screener (Multi-Asset) API
Which markets are stretched to an overbought or oversold extreme on the Commodity Channel Index, computed live from Yahoo Finance (no key, nothing stored). The CCI measures how far price has run from its statistical average relative to normal volatility: above +100 a market is in a strong up-move (and, when it unwinds, overbought), below -100 a strong down-move (or oversold), and the swing through zero frames trend and reversal trades. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's 20-period CCI from its typical price (high+low+close over three) and tags it overbought, bullish, bearish or oversold, then ranks the whole board. The screener endpoint returns the overbought (>+100) and oversold (<-100) markets right now. The asset endpoint returns one market's CCI card. The universe endpoint lists what is covered. The cross-asset CCI / extension screener cut — distinct from the bring-your-own-candle oscillator API, the RSI screener (a different oscillator), the OBV/volume and Bollinger screeners. It finds the over-extended markets across every asset class at once.
api.oanor.com/cci-api
Multi-Timeframe Momentum & Alignment (Multi-Asset) API
Whether each market is trending the same way across every timeframe, computed live from Yahoo Finance (no key, nothing stored). A single week's move is noise; what trend traders want is alignment — when the 1-week, 1-month, 3-month, 6-month and 1-year returns all point the same direction, that is a strong, coherent trend, and when they disagree the move is choppy or turning. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this measures each asset's return over those five horizons, the up/down direction of each, and an alignment score from -5 (every timeframe down) to +5 (every timeframe up), with a coherence label. The screener endpoint returns the fully aligned uptrends and downtrends across the board, ranked by alignment. The asset endpoint returns one market's multi-timeframe momentum card. The universe endpoint lists what is covered. The cross-asset multi-timeframe momentum / alignment cut — distinct from the crypto-only multi-timeframe API, the commodity-momentum ranking and the relative-strength APIs. It finds the coherent trends across every asset class at once.
api.oanor.com/multiassetmomentum-api
MACD Screener (Multi-Asset) API
Which markets just triggered a MACD buy or sell signal, computed live from Yahoo Finance (no key, nothing stored). The MACD — the gap between a fast and a slow moving average, smoothed by a signal line — is the workhorse momentum indicator: when the MACD line crosses up through its signal line it is a bullish trigger, down through it bearish, and the histogram between them shows momentum building or fading. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's MACD (12/26 EMA), signal line (9 EMA) and histogram, flags whether it is in a bullish or bearish posture, and detects how recently the lines crossed. The screener endpoint returns the fresh bullish and bearish crossovers across the board plus the histogram ranking. The asset endpoint returns one market's MACD card. The universe endpoint lists what is covered. The cross-asset MACD / momentum-crossover screener cut — distinct from the bring-your-own-candle technical-indicator APIs, the RSI, Bollinger and moving-average screeners and the FX-only signals API. It finds the fresh momentum triggers across every asset class at once.
api.oanor.com/macd-api
RSI & Oscillator Screener (Multi-Asset) API
Which markets are overbought and which are oversold, ranked, computed live from Yahoo Finance (no key, nothing stored). The Relative Strength Index is the most-watched momentum oscillator: above 70 a market is overbought and stretched, below 30 oversold and ripe for a bounce, and the swing between them frames most mean-reversion trades. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's 14-day RSI (Wilder's method) and its 14-day Stochastic %K, tags it overbought / neutral / oversold, and ranks the whole board. The screener endpoint returns the markets that are overbought and oversold right now, sorted from hottest to coldest. The asset endpoint returns one market's oscillator card. The universe endpoint lists what is covered. The cross-asset RSI / oscillator screener cut — distinct from the crypto-only RSI screener, the bring-your-own-candle oscillator and technical-indicator APIs and the Bollinger and moving-average screeners. It finds the stretched markets across every asset class at once.
api.oanor.com/rsiscreener-api
Relative Strength vs S&P 500 API
Which markets are beating the benchmark and which are lagging, ranked, computed live from Yahoo Finance (no key, nothing stored). Relative strength is the engine of rotation: money flows toward what is outperforming, and the leaders of one quarter often lead the next. For a cross-asset, cross-sector universe — the eleven S&P 500 sectors plus small caps, international and emerging equities, gold, oil, commodities, bonds and crypto — this measures each asset's return MINUS the S&P 500's over one, three and six months, blends them into a relative-strength score, and ranks the whole board into leaders and laggards. A positive score means the asset is beating the market; a negative one means it is lagging. The ranking endpoint returns that ranked board with the benchmark's own return and the standout leaders and laggards. The asset endpoint returns one market's relative strength across each window, its beta to the S&P 500 and whether its relative strength is improving or fading. The universe endpoint lists what is covered. The relative-strength / market-leadership rotation cut — distinct from the absolute-momentum, the sector-correlation and the altcoin-season APIs. It answers what is leading the market, measured against it.
api.oanor.com/relativestrength-api
Forex Movers & Performance API
What is actually moving in the currency market right now, computed live from Yahoo Finance (no key, nothing stored). Just as stock and crypto traders watch the day's biggest gainers and losers, FX traders want the pairs on the move — the ones breaking out and breaking down across the majors and crosses. For every pair this measures the change on the day, over the week and over the month, with the day's high and low and where the current rate sits in that day's range. The movers endpoint returns the whole board ranked by daily change — the top gainers and losers — plus the weekly and monthly leaders, so you can see momentum across horizons at a glance. The pair endpoint returns one pair's full performance card. The pairs endpoint lists what is covered. The FX movers / performance-dashboard cut — distinct from the currency-strength meter (which aggregates each currency's move across all its pairs into one score), the FX price, range and volatility APIs. It answers which pairs are moving today, not how strong the euro is.
api.oanor.com/fxmovers-api
52-Week High/Low Range Screener API
Where every major asset sits in its one-year range — across stocks, indices, bonds, commodities, FX and crypto — computed live from Yahoo Finance (no key, nothing stored). The 52-week high/low is the single most-watched level in markets: assets breaking to new 52-week highs are in confirmed uptrends and chased by momentum, while new 52-week lows mark capitulation, and the "new highs / new lows" list is a classic breadth and momentum read. This places each instrument in its range as a 0-100 position (0 = sitting on its 52-week low, 100 = at its 52-week high), with how far it is below the high and above the low, and flags fresh new highs and new lows. The screener endpoint returns the whole multi-asset universe ranked by range position — what is breaking out at the top and breaking down at the bottom — plus the new-high and new-low lists. The asset endpoint drills into one instrument. The universe endpoint lists what is covered. The 52-week-range / new-highs-new-lows momentum cut across asset classes — distinct from the crypto Donchian-breakout screener (crypto only) and the single-quote, index, commodity and stock price feeds, which carry the 52-week high/low as a field but do not rank it across a multi-asset book.
api.oanor.com/fiftytwoweek-api
Altcoin Season Index API
One number that tells you whether crypto capital is rotating into altcoins or huddling in Bitcoin, computed live from Binance daily candles (no key, nothing stored). The market swings between two regimes: in "altcoin season" most alts outperform Bitcoin and money chases the long tail; in "Bitcoin season" alts bleed against BTC and capital flees to the majors. The classic gauge is simple — of the top altcoins, what share has outperformed Bitcoin over the last 90 days? Above ~75% it is altcoin season; below ~25% it is Bitcoin season. The index endpoint returns that index (0-100), the season label, Bitcoin's own return over the window and how many alts out- versus under-performed. The leaderboard endpoint ranks the alts by their excess return versus Bitcoin — who is leading the rotation and who is lagging — each with its own return, BTC's return and the gap. The coins endpoint lists the universe. The altcoin-season / alt-vs-BTC rotation cut — distinct from the market-cap-dominance and global-market APIs (which report BTC's share of total cap, not relative performance), the single-coin momentum and the price APIs. It answers whether it is altseason, not what the market cap is.
api.oanor.com/altseason-api
US Equity Market Breadth API
How broad the US stock market's move really is under the surface, computed live from Yahoo Finance across a large-cap universe (no key, nothing stored). The S&P 500 can be dragged up by a handful of megacaps while most stocks fall; breadth tells you how many stocks are actually participating. The breadth endpoint scans a ~50-name large-cap universe spanning every sector and returns the share trading above their 20-, 50- and 200-day moving averages (the classic participation gauges), the advancers versus decliners on the day, the advance/decline ratio, the average and median daily change and a regime label (broad strength, mixed or broad weakness). The components endpoint returns the per-stock table behind it — each name's price, daily change and whether it is above each moving average — so you can see exactly which stocks are carrying or dragging the market. The constituents endpoint lists the universe. The equity market-internals / breadth cut — distinct from the crypto-breadth API (which scans coins), the single-quote, index-constituent and movers APIs. It answers whether a rally is broad or narrow, not how one stock is doing.
api.oanor.com/equitybreadth-api
Commodities Momentum & Relative-Strength API
Which corner of the commodity complex is leading and which is lagging, ranked by trailing momentum, computed live from Yahoo Finance futures (no key, nothing stored). A price tells you where a commodity is; momentum tells you where the money is flowing. This scores every major commodity — crude, Brent, natural gas, gasoline and heating oil in energy; gold, silver, copper, platinum and palladium in metals; corn, wheat and soybeans in grains; coffee, sugar, cocoa, cotton and orange juice in softs; live cattle and lean hogs in livestock — by its return over five horizons (1 week, 1 month, 3 months, 6 months and a ~1-year proxy), blends them into a single momentum score and ranks the whole complex into leaders and laggards. The screener endpoint returns that ranked table with a relative-strength rank and trend regime for each. The momentum endpoint drills into one commodity: its multi-horizon returns, where it sits versus its 50- and 200-day averages, and a trend label. The commodities endpoint lists what is covered. The cross-commodity momentum / relative-strength factor cut — distinct from the commodity-price feed (front-month prices), the commodity-spreads API (crack/crush/ratios) and the precious-metals spot API. It answers what is leading the complex, not what one thing costs.
api.oanor.com/commoditymomentum-api
Crypto Multi-Timeframe Momentum API
Whether a coin is trending the same way across every timeframe, computed live from Binance candles — no key, nothing stored. A single 24-hour change is noise; what traders want is alignment — when the 1-hour, 4-hour, 1-day, 1-week and 1-month returns all point the same direction, that is a strong, coherent trend, and when they disagree the move is choppy or turning. The momentum endpoint returns, for one coin, the percent change over each of those five horizons, the up/down direction of each, an alignment score (how strongly the timeframes agree, from -1 fully bearish to +1 fully bullish) and an overall bias label. The screener endpoint scans a basket and ranks the coins by aligned momentum, surfacing the strongest coherent uptrends (every timeframe up) and downtrends (every timeframe down). The symbols endpoint lists tradable pairs. This is the multi-timeframe momentum / trend-alignment cut for crypto — distinct from the single-window movers, the Donchian breakout screener, the FX-pivot and the generic indicator-calculator APIs in the catalogue. Pairs are Binance symbols (BTCUSDT) or a coin=BTC"e=USDT form; horizons are fixed at 1h/4h/24h/7d/30d.
api.oanor.com/cryptomomentum-api
Stochastic & Oscillators API
Live OHLC momentum-oscillator analytics that traders run to spot overbought and oversold turns, computed on demand from the OHLC candles you pass in — no key, no cache, nothing stored. The stochastic endpoint returns the Stochastic Oscillator %K and %D, the classic measure of where the close sits inside its recent high-low range, with the %D signal line. The williams endpoint returns Williams %R, the same idea on a -100 to 0 scale. The cci endpoint returns the Commodity Channel Index, which flags how far the typical price has strayed from its average. Each result comes with an overbought or oversold reading so you can act on it immediately. These oscillators all need the full high, low and close — that makes them a different tool from closes-only indicator APIs like RSI and MACD, and from volatility and ATR tools: they measure momentum by where price sits within its range. Works for any market — forex, stocks, crypto or commodities — because you supply the candles. Computed locally and deterministically, so it is instant and private. Ideal for trading bots, screeners, signal dashboards and back-tests. Stochastic period defaults to 14 (smoothing 3); CCI to 20; Williams %R to 14. Live, nothing stored. 3 compute endpoints. For RSI, MACD or Bollinger Bands use a technical-indicators API.
api.oanor.com/oscillators-api
Momentum & Collision API
Linear momentum, impulse and one-dimensional collisions as an API, computed locally and deterministically. The momentum endpoint computes the linear momentum p = m·v of a moving body, with its kinetic energy, and solves for whichever of the mass, velocity or momentum you leave out. The impulse endpoint applies the impulse-momentum theorem, J = F·Δt = m·Δv = Δp: from a force and a time it gives the impulse and, with a mass, the change in velocity; or from a mass and a velocity change it gives the impulse and the average force over a contact time — the physics of a bat hitting a ball or an airbag softening a crash. The collision endpoint solves a head-on collision between two bodies using conservation of momentum and a coefficient of restitution: e = 1 for a perfectly elastic collision (kinetic energy conserved), e = 0 for a perfectly inelastic one (the bodies stick together), or any value between for a partially inelastic collision — returning both final velocities, the conserved total momentum, the kinetic energy before and after, and the energy lost. Everything is computed locally and deterministically, so it is instant and private. Ideal for physics-education and simulation tools, game and ballistics engines, vehicle-crash and sports apps, and engineering-dynamics software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is linear momentum and collisions; for rotational angular momentum and flywheel energy use a flywheel API.
api.oanor.com/momentum-api