Skip to content

Commit 056ce4f

Browse files
authored
Merge pull request #209 from binance/derivatives_usds_8.0.0
derivatives-usds v8.0.0
2 parents aef1b70 + cad5b69 commit 056ce4f

49 files changed

Lines changed: 735 additions & 1933 deletions

File tree

Some content is hidden

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

MIGRATION.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For Futures (COIN-M Futures package):
5151
</dependency>
5252
```
5353

54-
### **Step 3: Update Imports**
54+
### **Step 2: Update Imports**
5555

5656
Update your import paths:
5757

@@ -79,7 +79,7 @@ import com.binance.connector.futures.client.impl.CMFuturesClientImpl;
7979
import com.binance.connector.client.derivatives_trading_coin_futures.rest.api.DerivativesTradingCoinFuturesRestApi;
8080
```
8181

82-
### **Step 4: Update Client Initialization**
82+
### **Step 3: Update Client Initialization**
8383

8484
The new structure introduces a more modular approach to client initialization.
8585

@@ -129,11 +129,11 @@ The new structure introduces a more modular approach to client initialization.
129129
DerivativesTradingCoinFuturesRestApi api = new DerivativesTradingCoinFuturesRestApi(clientConfiguration);
130130

131131
Long recvWindow = 5000L;
132-
ApiResponse<AccountInformationResponse> response = getApi().accountInformation(recvWindow);
132+
ApiResponse<AccountInformationResponse> response = api.accountInformation(recvWindow);
133133
System.out.println(response.getData());
134134
```
135135

136-
### **Step 5: Check for API Differences**
136+
### **Step 4: Check for API Differences**
137137

138138
Some function names or response structures may have changed. Refer to the modular connector's documentation for details.
139139

clients/convert/.openapi-generator/FILES

Lines changed: 0 additions & 46 deletions
This file was deleted.

clients/convert/.openapi-generator/VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

clients/derivatives-trading-usds-futures/CHANGELOG.md

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

3+
## 8.0.0 - 2026-01-06
4+
5+
### Changed (3)
6+
7+
#### WebSocket API
8+
9+
- Added parameter `activatePrice`
10+
- affected methods:
11+
- `newAlgoOrder()` (`algoOrder.place` method)
12+
- Deleted parameter `activationPrice`
13+
- affected methods:
14+
- `newAlgoOrder()` (`algoOrder.place` method)
15+
#### WebSocket Streams
16+
17+
- Modified response for `aggregateTradeStreams()` (`<symbol>@aggTrade` stream):
18+
- property `nq` added
19+
320
## 7.0.0 - 2025-12-16
421

522
### Added (14)

clients/derivatives-trading-usds-futures/docs/AggregateTradeStreamsResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
|**aLowerCase** | **Long** | | [optional] |
1414
|**pLowerCase** | **String** | | [optional] |
1515
|**qLowerCase** | **String** | | [optional] |
16+
|**nq** | **String** | | [optional] |
1617
|**fLowerCase** | **Long** | | [optional] |
1718
|**lLowerCase** | **Long** | | [optional] |
1819
|**T** | **Long** | | [optional] |

clients/derivatives-trading-usds-futures/docs/BatchOrdersPlaceMultipleOrdersInner.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
|**reduceOnly** | **String** | | [optional] |
1717
|**price** | **String** | | [optional] |
1818
|**newClientOrderId** | **String** | | [optional] |
19-
|**stopPrice** | **String** | | [optional] |
20-
|**activationPrice** | **String** | | [optional] |
21-
|**callbackRate** | **String** | | [optional] |
22-
|**workingType** | [**WorkingTypeEnum**](#WorkingTypeEnum) | | [optional] |
23-
|**priceProtect** | **String** | | [optional] |
2419
|**newOrderRespType** | [**NewOrderRespTypeEnum**](#NewOrderRespTypeEnum) | | [optional] |
2520
|**priceMatch** | [**PriceMatchEnum**](#PriceMatchEnum) | | [optional] |
2621
|**selfTradePreventionMode** | [**SelfTradePreventionModeEnum**](#SelfTradePreventionModeEnum) | | [optional] |
@@ -60,15 +55,6 @@
6055

6156

6257

63-
## Enum: WorkingTypeEnum
64-
65-
| Name | Value |
66-
|---- | -----|
67-
| MARK_PRICE | &quot;MARK_PRICE&quot; |
68-
| CONTRACT_PRICE | &quot;CONTRACT_PRICE&quot; |
69-
70-
71-
7258
## Enum: NewOrderRespTypeEnum
7359

7460
| Name | Value |

clients/derivatives-trading-usds-futures/docs/CancelAlgoOrderResponseResult.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,8 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**algoId** | **Long** | | [optional] |
1111
|**clientAlgoId** | **String** | | [optional] |
12-
|**algoType** | **String** | | [optional] |
13-
|**orderType** | **String** | | [optional] |
14-
|**symbol** | **String** | | [optional] |
15-
|**side** | **String** | | [optional] |
16-
|**positionSide** | **String** | | [optional] |
17-
|**timeInForce** | **String** | | [optional] |
18-
|**quantity** | **String** | | [optional] |
19-
|**algoStatus** | **String** | | [optional] |
20-
|**triggerPrice** | **String** | | [optional] |
21-
|**price** | **String** | | [optional] |
22-
|**icebergQuantity** | **String** | | [optional] |
23-
|**selfTradePreventionMode** | **String** | | [optional] |
24-
|**workingType** | **String** | | [optional] |
25-
|**priceMatch** | **String** | | [optional] |
26-
|**closePosition** | **Boolean** | | [optional] |
27-
|**priceProtect** | **Boolean** | | [optional] |
28-
|**reduceOnly** | **Boolean** | | [optional] |
29-
|**createTime** | **Long** | | [optional] |
30-
|**updateTime** | **Long** | | [optional] |
31-
|**triggerTime** | **Long** | | [optional] |
32-
|**goodTillDate** | **Long** | | [optional] |
12+
|**code** | **String** | | [optional] |
13+
|**msg** | **String** | | [optional] |
3314

3415

3516

clients/derivatives-trading-usds-futures/docs/CancelOrderResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
|**id** | **String** | | [optional] |
1111
|**status** | **Long** | | [optional] |
1212
|**result** | [**CancelOrderResponseResult**](CancelOrderResponseResult.md) | | [optional] |
13-
|**rateLimits** | [**List&lt;CancelAlgoOrderResponseRateLimitsInner&gt;**](CancelAlgoOrderResponseRateLimitsInner.md) | | [optional] |
13+
|**rateLimits** | [**List&lt;CancelOrderResponseRateLimitsInner&gt;**](CancelOrderResponseRateLimitsInner.md) | | [optional] |
1414

1515

1616

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# CancelOrderResponseRateLimitsInner
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**rateLimitType** | **String** | | [optional] |
11+
|**interval** | **String** | | [optional] |
12+
|**intervalNum** | **Long** | | [optional] |
13+
|**limit** | **Long** | | [optional] |
14+
|**count** | **Long** | | [optional] |
15+
16+
17+

clients/derivatives-trading-usds-futures/docs/NewAlgoOrderRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
|**closePosition** | **String** | | [optional] |
2323
|**priceProtect** | **String** | | [optional] |
2424
|**reduceOnly** | **String** | | [optional] |
25-
|**activationPrice** | **Double** | | [optional] |
25+
|**activatePrice** | **Double** | | [optional] |
2626
|**callbackRate** | **Double** | | [optional] |
2727
|**clientAlgoId** | **String** | | [optional] |
2828
|**selfTradePreventionMode** | **SelfTradePreventionMode** | | [optional] |

0 commit comments

Comments
 (0)