Back

#matrix

4 APIs with this tag

Stock Sector Correlation Matrix API

How the eleven S&P 500 sectors move together, computed live from Yahoo Finance via the SPDR sector ETFs (no key, nothing stored). Sector correlation is the heart of equity diversification and rotation: defensives (utilities, staples, health care) and cyclicals (tech, discretionary, financials, energy) cluster differently, and when correlations rise the whole market is moving as one (risk-on/risk-off), while a spread of correlations means stock-picking and rotation are rewarded. The matrix endpoint returns the full pairwise return-correlation matrix across all eleven sectors with the most- and least-correlated sector pairs. The sector endpoint returns one sector's correlation to every other, ranked, plus its beta to the S&P 500 (how much it amplifies the market). The sectors endpoint lists what is covered. The equity sector correlation / rotation cut — distinct from the cross-asset correlation matrix (asset classes, not sectors), the crypto and currency correlation APIs (other markets) and the sector price/performance feed. It answers which sectors are the same bet and which diversify, within the stock market.

api.oanor.com/sectorcorrelation-api

FX Cross-Rate Heatmap & Matrix API

The full grid of every major currency against every other, with the day's move in each cell, computed live from Yahoo Finance (no key, nothing stored). It is the dashboard every FX desk keeps open: an 8x8 matrix of the majors (USD, EUR, GBP, JPY, CHF, AUD, CAD, NZD) showing the cross rate and the percentage change on the day for every pair at once, so you can see in a single glance which currencies are bid and which are offered across the board. The matrix endpoint returns the whole rate grid plus the matching change-on-the-day heatmap, and derives the strongest and weakest currency from their average move against the basket. The cross endpoint returns one pair's rate and daily change. The currencies endpoint lists what is covered. The FX cross-rate matrix / heatmap cut — distinct from the bring-your-own-rates cross-rate & triangular-arbitrage calculator, the currency-strength meter (one aggregate score per currency) and the single-pair price APIs. It is the whole board, live.

api.oanor.com/fxheatmap-api

Matrix API

Linear algebra as an API: multiply matrices, analyse a matrix, and solve linear systems — all computed locally and exactly. The multiply endpoint returns the product A×B, checking that the inner dimensions match. The analyze endpoint takes any matrix and returns its transpose and rank, and for square matrices also the determinant, trace, whether it is symmetric and invertible, and the inverse when it exists — using LU decomposition with partial pivoting and Gauss-Jordan elimination for numerical stability. The solve endpoint solves a system Ax = b for a square coefficient matrix by Gaussian elimination with partial pivoting, and reports cleanly when the matrix is singular and there is no unique solution. Matrices are passed as JSON arrays of rows, for example [[1,2],[3,4]]. Everything is deterministic and instant. Ideal for data-science and machine-learning prep, computer graphics and 3D transforms, engineering and physics, computer-vision calibration, control systems, and teaching linear algebra. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. This is matrix and linear-algebra maths; for 3D rotations use a quaternion API, for vector maths use a vector API, and for statistics use a stats API.

api.oanor.com/matrix-api

Routing API

Driving routes with distance, duration and geometry, distance/duration matrices for up to 25 points, and nearest-road snapping — on the global OpenStreetMap road network. Coordinates are simple lat,lon pairs.

api.oanor.com/routing-api