1.4.0
Added
POST /sapi/v1/sub-account/universalTransfer
New transfer typesMARGIN
,ISOLATED_MARGIN
and parametersymbol
added to support transfer to sub-account cross margin account and isolated margin account.GET /sapi/v1/managed-subaccount/accountSnapshot
New endpoint to support investor master account query asset snapshot of managed sub-account.
Changed
Update endpoints for Sub-account:
GET /sapi/v1/sub-account/universalTransfer
The query time period must be less then 30 days; IfstartTime
andendTime
not sent, return records of the last 30 days by default.
Update endpoint for Market:
GET api/v3/depth
Thelimit
value can be outside of the previous values (i.e. 5, 10, 20, 50, 100, 500, 1000,5000) and will return the correct limit. (i.e. if limit=3 then the response will be the top 3 bids and asks)
Thelimit
still cannot exceed 5000. If the limit provided is greater than 5000, then the response will be truncated to 5000.
Updated endpoints for Spot Trading:
POST /api/v3/order
- New optional field trailingDeltaPOST /api/v3/order/test
- New optional field trailingDeltaPOST /api/v3/order/oco
- New optional field trailingDelta
Fixed
POST /api/v3/order/test
- Test Order query parameters fix