GET /mashup/portfolio/analyze
Analysieren Sie ein Portfolio gemischter Vermögenswerte (Kryptowährungen, Fiat-Währungen und Rohstoffe) in einer einzigen Anfrage. Geben Sie eine durch Kommas getrennte Liste von Asset-Identifikatoren an und erhalten Sie aktuelle Werte, Performance-Metriken, Korrelationsdaten und Diversifikationsanalysen zurück. Unterstützt Krypto-Coin-IDs (bitcoin, ethereum), Fiat-Währungscodes (EUR, NOK) und Gold. Ideal für Portfolio-Tracking-Dashboards, Investmentanalyse-Tools und Vermögensverwaltungsplattformen, die mehrere Anlageklassen abdecken.
Anlagen
erforderlich
Comma-separated asset IDs (e.g., bitcoin,ethereum,EUR,gold)
base
optional
Standard: USD
Base currency for valuation
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
Anlagen |
Ja | - | Comma-separated asset IDs (e.g., bitcoin,ethereum,EUR,gold) |
base |
Nein | USD | Base currency for valuation |
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=bitcoin,ethereum,EUR,gold"
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=bitcoin,ethereum,EUR,gold"
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=bitcoin,ethereum,solana&base=EUR"
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=NOK,SEK,DKK&base=USD"
{
"analysis": {
"asset_class_mix": "2 crypto, 1 commodity, 0 fiat",
"recommendation": "Consider adding fiat currency exposure for stability"
},
"asset_count": 3,
"assets": [
{
"change_24h": -0.1172,
"change_7d": -4.0704,
"id": "bitcoin",
"market_cap": 1546037592569.0,
"name": "Bitcoin",
"price_usd": 77163.0,
"symbol": "BTC",
"type": "crypto"
},
{
"change_24h": 0.1499,
"change_7d": -6.3343,
"id": "ethereum",
"market_cap": 255780071347.0,
"name": "Ethereum",
"price_usd": 2119.06,
"symbol": "ETH",
"type": "crypto"
},
{
"id": "gold",
"name": "Gold (Troy Ounce)",
"price_usd": 3045.0,
"type": "commodity",
"unit": "troy_oz"
}
],
"base_currency": "USD",
"composition": {
"commodity": 1,
"crypto": 2
},
"diversification_grade": "C",
"geographic_regions": 0,
"inflation_context": {
"us_inflation": 2.9495,
"year": 2024
},
"success": true
}