get
https://api.connex.trade/api/v1/trading/statement
Permission
- Applies to both primary user and trading portfolio's API Key.
- Permission: READ.
Rate Limit
- 100 requests per 60 seconds
Request
| Name | Type | Mandatory | Description |
|---|---|---|---|
| coin | String | N | Coin |
| statementType | String | N | Statement Type : FUNDING_FEE, DEDUCT_INTEREST:DEDUCT_INTEREST is for the interest charged for borrowed assets, which could be caused in margin trading or a balance loss;if you got other assets in the portfolio rather than usdt, it will be able to used as margin to trade. But any loss will be counted as borrowed usdt;LIQUIDATION_FEE:refers to BN liquidation clearance fee;LIQ_COMPENSATION:refers to the compensated balance for bankrupt balance back to 0;TRANSFER |
| exchange | String | N | exchange: BINANCE, OKX |
| startTime | String | N | Start time, Millisecond timestamp, default 7 days ago, up to 90 days ago |
| endTime | String | N | End time, Millisecond timestamp, default now |
| page | String | N | Page(Default 1) |
| pageSize | String | N | Limit(Default 1000, max 1000) |
Response
| Field | Type | Remark |
|---|---|---|
| portfolioId | Long | Portfolio ID |
| requestId | String | RequestId |
| statementId | String | StatementId |
| coin | String | Coin |
| sym | String | Sym |
| statementType | String | Statement Type : FUNDING_FEE, DEDUCT_INTEREST,LIQUIDATION_FEE, LIQ_COMPENSATION,TRANSFER |
| exchangeType | String | ExchangeType |
| businessType | String | BusinessType |
| beforeAvailable | String | BeforeAvailable:Available balance before the change |
| afterAvailable | String | AfterAvailable:Available balance after the change |
| beforeOverdraw | String | BeforeOverdraw:Overdraft amount before the change |
| afterOverdraw | String | AfterOverdraw:Overdraft amount after the change |
| beforeBorrow | String | BeforeBorror:Borrowed amount before the change |
| afterBorrow | String | AfterBorrow:Borrowed amount after the change |
| deltaAmount | String | The settlement quantity |
| createAt | Long | Create time |
Tip:
deltaAmount = deltaAvailable - deltaOverdraw - deltaBorrow
deltaAvailable = afterAvailable - beforeAvailable
deltaOverdraw = afterOverdraw - beforeOverdraw
deltaBorrow = afterBorrow - beforeBorrow
