Skip to content

Commit a628a07

Browse files
authored
3.2.0 release (#104)
1 parent 56545d7 commit a628a07

File tree

349 files changed

+11834
-559
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

349 files changed

+11834
-559
lines changed

CHANGELOG.md

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,171 @@
11
# Changelog
22

3+
## 3.2.0 - 2023-12-22
4+
5+
### Added
6+
- New VIP Loans Endpoints:
7+
- `GET /sapi/v1/loan/vip/ongoing/orders`
8+
- `POST /sapi/v1/loan/vip/repay`
9+
- `GET /sapi/v1/loan/vip/repay/history`
10+
- `POST /sapi/v1/loan/vip/renew`
11+
- `GET /sapi/v1/loan/vip/collateral/account`
12+
- `POST /sapi/v1/loan/vip/borrow`
13+
- `GET /sapi/v1/loan/vip/loanable/data`
14+
- `GET /sapi/v1/loan/vip/collateral/data`
15+
- `GET /sapi/v1/loan/vip/request/data`
16+
- `GET /sapi/v1/loan/vip/request/interestRate`
17+
18+
- New Margin endpoints:
19+
- `GET /sapi/v1/margin/available-inventory`
20+
- `GET /sapi/v1/margin/capital-flow`
21+
- `POST /sapi/v1/margin/max-leverage`
22+
- `GET /sapi/v1/margin/dust`
23+
- `POST /sapi/v1/margin/dust`
24+
- `GET /sapi/v1/margin/delist-schedule`
25+
- `GET /sapi/v1/margin/next-hourly-interest-rate`
26+
- `GET /sapi/v1/margin/exchange-small-liability`
27+
- `POST /sapi/v1/margin/exchange-small-liability`
28+
- `GET /sapi/v1/margin/exchange-small-liability-history`
29+
- `GET /sapi/v1/margin/crossMarginCollateralRatio`
30+
- `GET /sapi/v1/margin/leverageBracket`
31+
- `GET /sapi/v1/margin/tradeCoeff`
32+
33+
- New Wallet endpoints:
34+
- `GET /sapi/v1/capital/contract/convertible-coins`
35+
- `POST /sapi/v1/capital/contract/convertible-coins`
36+
- `POST /sapi/v1/capital/deposit/credit-apply`
37+
- `GET /sapi/v1/asset/wallet/balance`
38+
- `GET /sapi/v1/asset/custody/transfer-history`
39+
- `GET /sapi/v1/capital/deposit/address/list`
40+
41+
- New Futures endpoint:
42+
- `GET /sapi/v1/futures/histDataLink`
43+
44+
- New Classic Porfolio Margin endpoints:
45+
- `GET /sapi/v1/portfolio/margin-asset-leverage`
46+
- `POST /sapi/v1/portfolio/asset-collection`
47+
- `POST /sapi/v1/portfolio/repay-futures-switch`
48+
- `GET /sapi/v1/portfolio/repay-futures-switch`
49+
- `POST /sapi/v1/portfolio/repay-futures-negative-balance`
50+
- `POST /sapi/v1/portfolio/auto-collection`
51+
- `POST /sapi/v1/portfolio/bnb-transfer`
52+
- `GET /sapi/v1/portfolio/asset-index-price`
53+
- `GET /sapi/v1/portfolio/interest-history`
54+
55+
- New Trade endpoints:
56+
- `GET /api/v3/myPreventedMatches`
57+
- `GET /api/v3/myAllocations`
58+
- `GET /api/v3/account/commission`
59+
- `POST /api/v3/sor/order`
60+
- `POST /api/v3/sor/order/test`
61+
62+
- New Market endpoint:
63+
- `GET /api/v3/ticker/tradingDay`
64+
65+
- New Gift Code endpoints:
66+
- `POST /sapi/v1/giftcard/buyCode`
67+
- `GET /sapi/v1/giftcard/buyCode/token-limit`
68+
69+
- New Crypto Loans endpoints:
70+
- `POST /sapi/v1/loan/flexible/borrow`
71+
- `GET /sapi/v1/loan/flexible/ongoing/orders`
72+
- `GET /sapi/v1/loan/flexible/borrow/history`
73+
- `POST /sapi/v1/loan/flexible/repay`
74+
- `POST /sapi/v1/loan/flexible/repay/history`
75+
- `POST /sapi/v1/loan/flexible/adjust/ltv`
76+
- `GET /sapi/v1/loan/flexible/ltv/adjustment/history`
77+
- `GET /sapi/v1/loan/flexible/loanable/data`
78+
- `GET /sapi/v1/loan/flexible/collateral/data`
79+
80+
- New Simple Earn endpoints:
81+
- `GET /sapi/v1/simple-earn/flexible/list`
82+
- `GET /sapi/v1/simple-earn/locked/list`
83+
- `POST /sapi/v1/simple-earn/flexible/subscribe`
84+
- `POST /sapi/v1/simple-earn/locked/subscribe`
85+
- `POST /sapi/v1/simple-earn/flexible/redeem`
86+
- `POST /sapi/v1/simple-earn/locked/redeem`
87+
- `GET /sapi/v1/simple-earn/flexible/position`
88+
- `GET /sapi/v1/simple-earn/locked/position`
89+
- `GET /sapi/v1/simple-earn/account`
90+
- `GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord`
91+
- `GET /sapi/v1/simple-earn/locked/history/subscriptionRecord`
92+
- `GET /sapi/v1/simple-earn/flexible/history/redemptionRecord`
93+
- `GET /sapi/v1/simple-earn/locked/history/redemptionRecord`
94+
- `GET /sapi/v1/simple-earn/flexible/history/rewardsRecord`
95+
- `GET /sapi/v1/simple-earn/locked/history/rewardsRecord`
96+
- `POST /sapi/v1/simple-earn/flexible/setAutoSubscribe`
97+
- `POST /sapi/v1/simple-earn/locked/setAutoSubscribe`
98+
- `GET /sapi/v1/simple-earn/flexible/personalLeftQuota`
99+
- `GET /sapi/v1/simple-earn/locked/personalLeftQuota`
100+
- `GET /sapi/v1/simple-earn/flexible/subscriptionPreview`
101+
- `GET /sapi/v1/simple-earn/locked/subscriptionPreview`
102+
- `GET /sapi/v1/simple-earn/flexible/history/rateHistory`
103+
- `GET /sapi/v1/simple-earn/flexible/history/collateralRecord`
104+
105+
- New Auto-Invest endpoints:
106+
- `GET /sapi/v1/lending/auto-invest/target-asset/list`
107+
- `GET /sapi/v1/lending/auto-invest/target-asset/roi/list`
108+
- `GET /sapi/v1/lending/auto-invest/all/asset`
109+
- `GET /sapi/v1/lending/auto-invest/source-asset/list`
110+
- `POST /sapi/v1/lending/auto-invest/plan/edit-status`
111+
- `GET /sapi/v1/lending/auto-invest/plan/list`
112+
- `GET /sapi/v1/lending/auto-invest/plan/id`
113+
- `GET /sapi/v1/lending/auto-invest/history/list`
114+
- `GET /sapi/v1/lending/auto-invest/index/info`
115+
- `GET /sapi/v1/lending/auto-invest/index/user-summary`
116+
- `POST /sapi/v1/lending/auto-invest/one-off`
117+
- `GET /sapi/v1/lending/auto-invest/one-off/status`
118+
- `POST /sapi/v1/lending/auto-invest/redeem`
119+
- `GET /sapi/v1/lending/auto-invest/redeem/history`
120+
- `GET /sapi/v1/lending/auto-invest/rebalance/history`
121+
122+
- New Spot Algo endpoints:
123+
- `POST /sapi/v1/algo/spot/newOrderTwap`
124+
- `DELETE /sapi/v1/algo/spot/order`
125+
- `GET /sapi/v1/algo/spot/openOrders`
126+
- `GET /sapi/v1/algo/spot/historicalOrders`
127+
- `GET /sapi/v1/algo/spot/subOrders`
128+
129+
- New Staking endpoints:
130+
- `POST /sapi/v2/eth-staking/eth/stake`
131+
- `POST /sapi/v1/eth-staking/eth/redeem`
132+
- `GET /sapi/v1/eth-staking/eth/history/stakingHistory`
133+
- `GET /sapi/v1/eth-staking/eth/history/redemptionHistory`
134+
- `GET /sapi/v1/eth-staking/eth/history/rewardsHistory`
135+
- `GET /sapi/v1/eth-staking/eth/quota`
136+
- `GET /sapi/v1/eth-staking/eth/history/rateHistory`
137+
- `GET /sapi/v2/eth-staking/account`
138+
- `POST /sapi/v1/eth-staking/wbeth/wrap`
139+
- `GET /sapi/v1/eth-staking/wbeth/history/wrapHistory`
140+
- `GET /sapi/v1/eth-staking/wbeth/history/unwrapHistory`
141+
- `GET /sapi/v1/eth-staking/eth/history/wbethRewardsHistory`
142+
143+
- WebSocket API - New Trade requests:
144+
- `sor.order.place`
145+
- `sor.order.test`
146+
147+
- WebSocket API - New Account requests:
148+
- `myAllocations`
149+
- `account.commission`
150+
151+
- WebSocket API - New Authentication requests:
152+
- `session.logon`
153+
- `session.status`
154+
- `session.logout`
155+
156+
- WebSocket API - New Market request:
157+
- `ticker.tradingDay`
158+
159+
### Removed
160+
- Deleted deprecated Savings endpoints, namely:
161+
- `GET /sapi/v1/lending/project/list`
162+
- `POST /sapi/v1/lending/customizedFixed/purchase`
163+
- `GET /sapi/v1/lending/project/position/list`
164+
- `POST /sapi/v1/lending/positionChanged`
165+
166+
### Changed
167+
- Renamed Sub-Account examples and tests to be similar to their respective method names.
168+
3169
## 3.1.0 - 2023-10-17
4170

5171
### Added

0 commit comments

Comments
 (0)