Get target asset ROI data
API Description
ROI return list for target asset
HTTP Request
GET /sapi/v1/lending/auto-invest/target-asset/roi/list
Request Weight(IP)
1
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
targetAsset | STRING | YES | e.g "BTC" |
hisRoiType | ENUM | YES | FIVE_YEAR,THREE_YEAR,ONE_YEAR,SIX_MONTH,THREE_MONTH,SEVEN_DAY |
recvWindow | LONG | NO | no more than 60000 |
timestamp | LONG | YES |
Response Example
[
{
"date": "1648378800000", // date of the ROI accumulation
"simulateRoi": "1.75" // value of calculated ROI till the date
},
{
"date": "1648478800000",
"simulateRoi": "2.9"
}
]