Get Asset Trend
HTTP Request
GET/v5/earn/pwm/investment-plan/asset-trendRequest Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| planId | true | string | Investment plan ID |
| startTime | false | int | Start timestamp (ms). Default: current time minus 7 days |
| endTime | false | int | End timestamp (ms). Default: current time |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| planId | string | Investment plan ID |
| dataPoints | array | Asset data point list, sorted in ascending order by date |
| > date | string | Date in YYYY-MM-DD format |
| > assetValueUsd | string | Total plan assets on that day (USD valuation), taken from the daily settlement snapshot |
Request Example
GET /v5/earn/pwm/investment-plan/asset-trend?planId=10001 HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1741651200000
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"result": {
"planId": "10001",
"dataPoints": [
{
"date": "2024-11-01",
"assetValueUsd": "198500.00"
},
{
"date": "2024-11-02",
"assetValueUsd": "199100.00"
}
]
}
}