Gibt die im ZZPRESERVE0ZZZ-Widget angezeigten Konten für ein ausgewähltes Produkt zurück (Copy Trading, PAMM oder MAM).
Endpunkt
GET [host]/api/v1/investment/widget/leaderboardAuthentifizierung
Erfordert den Header „Authorization: Bearer <access_token>“.
Abfrageparameter
| Name | Erforderlich | Beschreibung |
|---|---|---|
| investitionsplattform_id | Ja | Die Instanz der Investitionsplattform (1 für einen einzelnen MT-Server). |
| Plattform | Ja | 1 → Copy-Trading Leaderboard, 2 → PAMM Leaderboard, 3 → MAM Leaderboard. |
curl --location --request GET \
'https://host.name/api/v1/investment/widget/leaderboard?investment_platform_id=1&platform=1' \
--header 'Authorization: Bearer <token>'Antwort
Ein Array von Leaderboard-Kontoobjekten plus einer Gesamtzahl (abgekürzt):
{
"status": 200,
"data": {
"accounts": [
{
"name": "Account name",
"login": "124214",
"currency": "USD",
"risk": "86",
"score": 49,
"followers": 12,
"assets": "25342.73",
"aum": 25342.73,
"allocation_method": 4,
"risk_ratio": 1
}
],
"count": 174
}
}