Get User's Account Flow Information
GET
/az/future/user/v1/balance/bills
Limit Flow Rules
200/s/apikey
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | false | N/A | Trading pairs (queries all trading pairs if not passed) | |
| direction | string | false | NEXT | Direction(PREV:Previous page;NEXT:Next page) | PREV;NEXT |
| id | integer | false | N/A | id | |
| limit | integer | false | 10 | Limit | |
| startTime | integer | false | N/A | Start time | |
| endTime | integer | false | N/A | End time |
Java
public void getMarketConfig() {
String text = HttpUtil.get(URL + "/data/api/user/v1/getMarketConfig");
System.out.println(text);
}
Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {
"hasNext": false, //Is there a next page
"hasPrev": false, //Is there a previous page
"items": [ //Datasheets
{
"afterAmount": 0, //Balance after change
"amount": 0, //Quantity
"coin": "", //Currency
"createdTime": 0, //Time
"id": 0, //id
"side": "", //ADD:transfer in;SUB:transfer out
"accountId": 0, //Account id
"bonus": 0, //Bonus (trial fund) amount
"bonusDisRate": 0, //Bonus deduction rate
"positionType": "", //Position type: CROSSED;ISOLATED
"symbol": "", //Trading pair
"type": "" //EXCHANGE:transfer;CLOSE_POSITION:Offset profit and loss;TAKE_OVER:position takeover;QIANG_PING_MANAGER:Liquidation management fee (fee);FUND:Fund Fee;FEE:Fee(Open position, liquidation, Forced liquidation);ADL:Adl;TAKE_OVER:position takeover;MERGE:Position Merge
}
]
},
"returnCode": 0
}