選択した商品 (コピー トレーディング、PAMM、または MAM) の Leaderboard widget に表示されるアカウントを返します。
終点
GET [host]/api/v1/investment/widget/leaderboard認証
Authorization: Bearer <access_token>ヘッダーが必要です。
クエリパラメータ
| 名前 | 必須 | 説明 |
|---|---|---|
| investment_platform_id | Yes | The investment platform instance (1 for a single MT server). |
| platform | Yes | 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>'応答
Leaderboard アカウント オブジェクトの配列と合計 count (省略):
{
"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
}
}