Indietro

#optimization

2 APIs con questa etichetta

Portfolio Optimizer API

Live mean-variance (Markowitz) portfolio optimisation that quants and allocators run across a basket of assets, computed on demand from the price series you pass in — no key, no cache, nothing stored. The optimize endpoint returns the two cornerstone portfolios: the minimum-variance portfolio and the maximum-Sharpe (tangency) portfolio, each with its optimal weights, expected return, volatility and Sharpe ratio. The frontier endpoint traces the efficient frontier — a set of optimal risk/return points and the weights that achieve them — so you can plot the whole risk/return curve. The stats endpoint returns the per-asset annualised return and volatility plus the full correlation and covariance matrices, the raw material behind the optimisation. It exploits diversification: by combining assets with low or negative correlation the optimiser finds a portfolio whose volatility is lower than any single holding. Works for any basket — stocks, funds, ETFs, crypto, FX or commodities. This is a multi-asset allocation engine, fundamentally different from single-asset risk and CAPM tools: it answers how to weight several assets together, not how one behaves. Weights can be negative, representing a short leg, as in classic unconstrained Markowitz. Computed locally and deterministically, so it is instant and private. Ideal for robo-advisors, portfolio dashboards, asset-allocation research and back-tests. Rates are fractions (0.02 = 2%). Live, nothing stored. 3 compute endpoints. For single-asset Sharpe/drawdown use a risk-metrics API; for beta use a CAPM API.

api.oanor.com/portfoliooptimizer-api

API de optimización SVG

Reduce y limpia archivos SVG automáticamente con SVGO, el optimizador SVG estándar de la industria. El endpoint optimize elimina comentarios, metadatos, basura de editores y atributos redundantes, colapsa y fusiona rutas, y devuelve el marcado minimizado junto con los tamaños de bytes original y optimizado y el porcentaje ahorrado — típicamente 30-60% más pequeño. El endpoint data-uri va un paso más allá y devuelve una URI de datos CSS lista para pegar (codificada en URL o base64) más la regla background-image correspondiente, para que puedas incrustar iconos sin una solicitud HTTP adicional. Perfecto para pipelines de compilación, sistemas de iconos, herramientas de diseño, correo electrónico e incrustación de SVG en CSS. Procesamiento local puro — sin clave, sin servicio de terceros, instantáneo; envía marcado vía POST para archivos grandes (hasta 2 MB). En vivo, nada almacenado. 3 endpoints. Distinto de compresión de imágenes raster, generación de códigos QR/códigos y formato JSON/HTML.

api.oanor.com/svgo-api