Skip to main content

Index Linked Plan Rebalance Details(USER_DATA)

API Description

Get the history of Index Linked Plan Redemption transactions

HTTP Request

GET /sapi/v1/lending/auto-invest/rebalance/history

Request Weight(IP)

1

Parameters:

NameTypeMandatoryDescription
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying page. Start from 1,Default:1
sizeLONGNODefault:10, Max:100
recvWindowLONGNOno more than 60000
timestampLONGYES
  • Max 30 day difference between startTime and endTime
  • If no startTime and endTime, default to show past 30 day records

Response Example

[
{
"indexId":1, //index identifier
"indexName":"BINANCE TOP 10 EW", //index name
"rebalanceId":11, //rebalance identifier
"status":"SUCCESS", //rebalance status SUCCESS/INIT
"rebalanceFee":"10", //rebalance fee
"rebalanceFeeUnit":"USDT", // rebalance fee unit
"transactionDetails":[
{
"asset":"BTC", //assets to be rebalanced
"transactionDateTime":1648378800000, //rebalance transaction timestamp
"rebalanceDirection":"BUY", //rebalance direction
"rebalanceAmount":"0.005", //rebalance amount for the asset
},
{
"asset":"ETH",
"transactionDateTime":1648378800000,
"rebalanceDirection":"BUY",
"rebalanceAmount":"0.005",
}
]
}
]