Skip to content

Commit

Permalink
V1.13.0 (#208)
Browse files Browse the repository at this point in the history
* v1.13.0 release

* add Change log
  • Loading branch information
2pd committed Nov 16, 2023
1 parent 2a453b7 commit 8384d11
Show file tree
Hide file tree
Showing 4 changed files with 3,565 additions and 1,719 deletions.
71 changes: 70 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,75 @@
# Changelog

## 1.12.0 - 2023-08-08

## 1.13.0 -2023-11-16

#### Update
- `GET /dapi/v1/income` Add parameter `page` for pagination
- `GET /fapi/v1/income` Add parameter page for pagination
- Add optional parameter `goodTillDate` in the endpoints below to set order's goodTillDate :
- `POST /fapi/v1/order`
- Add optional parameter `priceMatc`h in the endpoints below to set order's priceMatch mode:
- `POST /fapi/v1/order`
- Add optional parameter `selfTradePreventionMode` in the endpoints below to set order's STP mode:
- `POST /fapi/v1/order`
- `POST /sapi/v1/loan/vip/borrow` add field isFlexibleRate to borrow using flexible rate loan
- `POST /sapi/v1/simple-earn/flexible/subscribe` new parameter sourceAccount
- `POST /sapi/v1/simple-earn/locked/subscribe` new parameter sourceAccount
- `POST /sapi/v1/simple-earn/flexible/redeem` new parameter destAccount
- Changes to Margin Endpoint `GET /sapi/v1/margin/isolated/transfer`:
- Add request field `type`
- Delete request field `transFrom`, `transTo`
- `POST /sapi/v1/portfolio/repay` add paramater from

#### Add
- `GET /dapi/v1/income/asyn` get Download Id For Futures Transaction History
- `GET /dapi/v1/income/asyn/id` to get Futures Transaction History Download Link by Id
- `GET /dapi/v1/fundingInfo` query adjusted funding info
- `GET /dapi/v1/constituents` query index constituents
- `GET /futures/data/delivery-price` query quarterly contract settlement price
- `GET /fapi/v1/fundingInfo` query adjusted funding info
- `GET /fapi/v1/constituents` query index constituents
- `GET /futures/data/delivery-price` query quarterly contract settlement price
- `GET /futures/data/basis` query basis data
- New endpoints for order placement using SOR:
- `POST /api/v3/sor/order`
- `POST /api/v3/sor/order/test`
- `GET /api/v3/myAllocations`
- `POST /sapi/v1/loan/flexible/borrow` flexible Loan borrow
- `GET /sapi/v1/loan/flexible/ongoing/orders` get flexible loan ongoing orders
- `GET /sapi/v1/loan/flexible/borrow/history` Get flexible loan borrow history
- `POST /sapi/v1/loan/flexible/repay` flexible loan repay
- `POST /sapi/v1/loan/flexible/repay/history` Get flexible loan repayment history
- `POST /sapi/v1/loan/flexible/adjust/ltv` adjust flexible Loan adjust LTV
- `GET /sapi/v1/loan/flexible/ltv/adjustment/history` Get Flexible loan LTV adjustment history
- `GET /sapi/v1/loan/flexible/loanable/data` Get flexible loan assets data
- `GET /sapi/v1/loan/flexible/collateral/data` Get flexible loan collateral assets data
- `GET /sapi/v1/margin/capital-flow` Get cross or isolated margin capital flow
- `GET /sapi/v1/portfolio/margin-asset-leverage` Get Portfolio Margin Asset Leverage
- `GET /sapi/v1/lending/auto-invest/index/info` query index details
- `GET /sapi/v1/lending/auto-invest/index/user-summary` query index linked plan position details
- `POST /sapi/v1/lending/auto-invest/one-off` One Time transaction
- `GET /sapi/v1/lending/auto-invest/one-off/status` query one-time transaction status
- `POST /sapi/v1/lending/auto-invest/redeem` index linked plan redemption
- `GET /sapi/v1/lending/auto-invest/redeem/history` query index Linked plan Redemption history
- `GET /sapi/v1/lending/auto-invest/rebalance/history` query index linked plan rebalance details
- `GET /sapi/v1/asset/wallet/balance` query user wallet balance
- `GET /sapi/v1/asset/custody/transfer-history` query user delegation history(For Master Account)
- `GET /sapi/v1/futures/histDataLink` query futures ticklevel orderbook historicak data download link
- `GET /sapi/v1/loan/vip/request/interestRate` Get Borrow Interest Rate
- `GET /sapi/v1/margin/available-inventory` Query margin available inventory
- `POST /sapi/v1/margin/manual-liquidation` Margin manual liquidation

#### Delete
- `GET /sapi/v1/futures/loan/borrow/history`
- `GET /sapi/v1/futures/loan/repay/history`
- `GET /sapi/v2/futures/loan/wallet`
- `GET /sapi/v1/futures/loan/adjustCollateral/history`
- `GET /sapi/v1/futures/loan/liquidationHistory`
- `GET /sapi/v1/futures/loan/interestHistory`


## 1.12.0 - 2023-08-07

### Spot API Collection
#### Added
Expand Down
232 changes: 228 additions & 4 deletions collections/Binance Coin-M Futures API.postman_collection.json
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "561533bd-a7c9-414a-8101-29cb7024d182",
"_postman_id": "1185515b-5855-4c79-aec9-00b7003984c8",
"name": "Binance Coin-M Futures API",
"description": "Binance official supported Postman collections.<br/>\n- API documents: https://binance-docs.github.io/apidocs/futures/en/\n- Telegram: https://t.me/binance_api_english\n- Open Issue at: https://github.com/binance-exchange/binance-api-postman",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
Expand Down Expand Up @@ -1031,6 +1031,96 @@
"description": "Get present open interest of a specific symbol."
},
"response": []
},
{
"name": "Get Funding Rate Info",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"url": {
"raw": "{{url}}/dapi/v1/fundingInfo",
"host": [
"{{url}}"
],
"path": [
"dapi",
"v1",
"fundingInfo"
]
},
"description": "Get present open interest of a specific symbol."
},
"response": []
},
{
"name": "Query Index Price Constituents",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"url": {
"raw": "{{url}}/dapi/v1/fundingInfo?symbol=",
"host": [
"{{url}}"
],
"path": [
"dapi",
"v1",
"fundingInfo"
],
"query": [
{
"key": "symbol",
"value": ""
}
]
},
"description": "Get present open interest of a specific symbol."
},
"response": []
},
{
"name": "Quarterly Contract Settlement Price",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"url": {
"raw": "{{url}}/dapi/v1/fundingInfo?pair=",
"host": [
"{{url}}"
],
"path": [
"dapi",
"v1",
"fundingInfo"
],
"query": [
{
"key": "pair",
"value": ""
}
]
},
"description": "Get present open interest of a specific symbol."
},
"response": []
}
]
},
Expand Down Expand Up @@ -2730,23 +2820,28 @@
},
{
"key": "startTime",
"value": null,
"value": "",
"disabled": true
},
{
"key": "endTime",
"value": null,
"value": "",
"disabled": true
},
{
"key": "page",
"value": "",
"disabled": true
},
{
"key": "limit",
"value": "100",
"description": "The value cannot be greater than 60000",
"disabled": true
},
{
"key": "recvWindow",
"value": "5000",
"description": "The value cannot be greater than 60000",
"disabled": true
},
{
Expand Down Expand Up @@ -2972,6 +3067,135 @@
}
},
"response": []
},
{
"name": "Get Download Id For Futures Transaction History (USER_DATA)",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
},
{
"key": "X-MBX-APIKEY",
"type": "text",
"value": "{{binance-api-key}}"
}
],
"url": {
"raw": "{{url}}/dapi/v1/income/asyn?startTime=&endTime=&timestamp={{timestamp}}&signature={{signature}}",
"host": [
"{{url}}"
],
"path": [
"dapi",
"v1",
"income",
"asyn"
],
"query": [
{
"key": "startTime",
"value": ""
},
{
"key": "endTime",
"value": "",
"description": "The value cannot be greater than 60000"
},
{
"key": "recvWindow",
"value": "5000",
"disabled": true
},
{
"key": "timestamp",
"value": "{{timestamp}}"
},
{
"key": "signature",
"value": "{{signature}}"
}
]
}
},
"response": []
},
{
"name": "Get Futures Transaction History Download Link by Id (USER_DATA)",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
},
{
"key": "X-MBX-APIKEY",
"type": "text",
"value": "{{binance-api-key}}"
}
],
"url": {
"raw": "{{url}}/dapi/v1/income/asyn?downloadId=&timestamp={{timestamp}}&signature={{signature}}",
"host": [
"{{url}}"
],
"path": [
"dapi",
"v1",
"income",
"asyn"
],
"query": [
{
"key": "downloadId",
"value": ""
},
{
"key": "recvWindow",
"value": "5000",
"disabled": true
},
{
"key": "timestamp",
"value": "{{timestamp}}"
},
{
"key": "signature",
"value": "{{signature}}"
}
]
}
},
"response": []
}
]
},
Expand Down

0 comments on commit 8384d11

Please sign in to comment.