Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ For Spot (Spot package):
<dependency>
<groupId>io.github.binance</groupId>
<artifactId>binance-spot</artifactId>
<version>6.0.0</version>
<version>8.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Each connector is published as a separate maven dependency. For example:
<dependency>
<groupId>io.github.binance</groupId>
<artifactId>binance-spot</artifactId>
<version>6.0.0</version>
<version>8.0.0</version>
</dependency>
```

Expand Down
66 changes: 66 additions & 0 deletions clients/spot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
# Changelog

## 8.0.0 - 2025-12-31

### Added (4)

#### REST API

- `orderListOpo()` (`POST /api/v3/orderList/opo`)
- `orderListOpoco()` (`POST /api/v3/orderList/opoco`)

#### WebSocket API

- `orderListPlaceOpo()` (`orderList.place.opo` method)
- `orderListPlaceOpoco()` (`orderList.place.opoco` method)

### Changed (6)

#### REST API

- Added parameter `symbolStatus`
- affected methods:
- `depth()` (`GET /api/v3/depth`)
- `ticker()` (`GET /api/v3/ticker`)
- `ticker24hr()` (`GET /api/v3/ticker/24hr`)
- `tickerBookTicker()` (`GET /api/v3/ticker/bookTicker`)
- `tickerPrice()` (`GET /api/v3/ticker/price`)
- `tickerTradingDay()` (`GET /api/v3/ticker/tradingDay`)
- Modified response for `exchangeInfo()` (`GET /api/v3/exchangeInfo`):
- `symbols`.items: property `opoAllowed` added
- `symbols`.items: item property `opoAllowed` added

- Marked `orderOco()` (`POST /api/v3/order/oco`) as deprecated.

#### WebSocket API

- Added parameter `symbolStatus`
- affected methods:
- `depth()` (`depth` method)
- `ticker()` (`ticker` method)
- `ticker24hr()` (`ticker.24hr` method)
- `tickerBook()` (`ticker.book` method)
- `tickerPrice()` (`ticker.price` method)
- `tickerTradingDay()` (`ticker.tradingDay` method)
- Modified response for `exchangeInfo()` (`exchangeInfo` method):
- `result`.`symbols`.items: property `opoAllowed` added
- `result`.`symbols`.items: item property `opoAllowed` added

- Marked `orderListPlace()` (`orderList.place` method) as deprecated.

### Removed (7)

#### REST API

- `deleteUserDataStream()` (`DELETE /api/v3/userDataStream`)
- `newUserDataStream()` (`POST /api/v3/userDataStream`)
- `putUserDataStream()` (`PUT /api/v3/userDataStream`)

#### WebSocket API

- `/userDataStream.ping()` (`userDataStream.ping` method)
- `/userDataStream.start()` (`userDataStream.start` method)
- `/userDataStream.stop()` (`userDataStream.stop` method)

#### WebSocket Streams

- `/!ticker@arr()` (`!ticker@arr` stream)

## 7.0.0 - 2025-10-21

### Added (2)
Expand Down
2 changes: 1 addition & 1 deletion clients/spot/docs/AccountApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ No authorization required

WebSocket Query Relevant Filters

Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only endpoint that shows if an account has &#x60;MAX_ASSET&#x60; filters applied to it. Weight: 40
Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only method that shows if an account has &#x60;MAX_ASSET&#x60; filters applied to it. Weight: 40

### Example
```java
Expand Down
12 changes: 0 additions & 12 deletions clients/spot/docs/AllTickerResponse.md

This file was deleted.

35 changes: 0 additions & 35 deletions clients/spot/docs/AllTickerResponseInner.md

This file was deleted.

1 change: 1 addition & 0 deletions clients/spot/docs/DepthRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**symbol** | **String** | | |
|**limit** | **Integer** | | [optional] |
|**symbolStatus** | **SymbolStatus** | | [optional] |



Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
|**icebergAllowed** | **Boolean** | | [optional] |
|**ocoAllowed** | **Boolean** | | [optional] |
|**otoAllowed** | **Boolean** | | [optional] |
|**opoAllowed** | **Boolean** | | [optional] |
|**quoteOrderQtyMarketAllowed** | **Boolean** | | [optional] |
|**allowTrailingStop** | **Boolean** | | [optional] |
|**cancelReplaceAllowed** | **Boolean** | | [optional] |
Expand Down
1 change: 1 addition & 0 deletions clients/spot/docs/ExchangeInfoResponseSymbolsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
|**icebergAllowed** | **Boolean** | | [optional] |
|**ocoAllowed** | **Boolean** | | [optional] |
|**otoAllowed** | **Boolean** | | [optional] |
|**opoAllowed** | **Boolean** | | [optional] |
|**quoteOrderQtyMarketAllowed** | **Boolean** | | [optional] |
|**allowTrailingStop** | **Boolean** | | [optional] |
|**cancelReplaceAllowed** | **Boolean** | | [optional] |
Expand Down
14 changes: 0 additions & 14 deletions clients/spot/docs/ListenKeyExpired.md

This file was deleted.

13 changes: 0 additions & 13 deletions clients/spot/docs/NewUserDataStreamResponse.md

This file was deleted.

42 changes: 42 additions & 0 deletions clients/spot/docs/OrderListOpoRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@


# OrderListOpoRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**symbol** | **String** | | |
|**listClientOrderId** | **String** | | [optional] |
|**newOrderRespType** | **NewOrderRespType** | | [optional] |
|**selfTradePreventionMode** | **SelfTradePreventionMode** | | [optional] |
|**workingType** | **WorkingType** | | |
|**workingSide** | **WorkingSide** | | |
|**workingClientOrderId** | **String** | | [optional] |
|**workingPrice** | **Double** | | |
|**workingQuantity** | **Double** | | |
|**workingIcebergQty** | **Double** | | [optional] |
|**workingTimeInForce** | **WorkingTimeInForce** | | [optional] |
|**workingStrategyId** | **Long** | | [optional] |
|**workingStrategyType** | **Integer** | | [optional] |
|**workingPegPriceType** | **WorkingPegPriceType** | | [optional] |
|**workingPegOffsetType** | **WorkingPegOffsetType** | | [optional] |
|**workingPegOffsetValue** | **Integer** | | [optional] |
|**pendingType** | **PendingType** | | |
|**pendingSide** | **PendingSide** | | |
|**pendingClientOrderId** | **String** | | [optional] |
|**pendingPrice** | **Double** | | [optional] |
|**pendingStopPrice** | **Double** | | [optional] |
|**pendingTrailingDelta** | **Double** | | [optional] |
|**pendingIcebergQty** | **Double** | | [optional] |
|**pendingTimeInForce** | **PendingTimeInForce** | | [optional] |
|**pendingStrategyId** | **Long** | | [optional] |
|**pendingStrategyType** | **Integer** | | [optional] |
|**pendingPegPriceType** | **PendingPegPriceType** | | [optional] |
|**pendingPegOffsetType** | **PendingPegOffsetType** | | [optional] |
|**pendingPegOffsetValue** | **Integer** | | [optional] |
|**recvWindow** | **Double** | | [optional] |



21 changes: 21 additions & 0 deletions clients/spot/docs/OrderListOpoResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


# OrderListOpoResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**orderListId** | **Long** | | [optional] |
|**contingencyType** | **String** | | [optional] |
|**listStatusType** | **String** | | [optional] |
|**listOrderStatus** | **String** | | [optional] |
|**listClientOrderId** | **String** | | [optional] |
|**transactionTime** | **Long** | | [optional] |
|**symbol** | **String** | | [optional] |
|**orders** | [**List&lt;OrderListOpoResponseOrdersInner&gt;**](OrderListOpoResponseOrdersInner.md) | | [optional] |
|**orderReports** | [**List&lt;OrderListOpoResponseOrderReportsInner&gt;**](OrderListOpoResponseOrderReportsInner.md) | | [optional] |



28 changes: 28 additions & 0 deletions clients/spot/docs/OrderListOpoResponseOrderReportsInner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@


# OrderListOpoResponseOrderReportsInner


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**symbol** | **String** | | [optional] |
|**orderId** | **Long** | | [optional] |
|**orderListId** | **Long** | | [optional] |
|**clientOrderId** | **String** | | [optional] |
|**transactTime** | **Long** | | [optional] |
|**price** | **String** | | [optional] |
|**executedQty** | **String** | | [optional] |
|**origQuoteOrderQty** | **String** | | [optional] |
|**cummulativeQuoteQty** | **String** | | [optional] |
|**status** | **String** | | [optional] |
|**timeInForce** | **String** | | [optional] |
|**type** | **String** | | [optional] |
|**side** | **String** | | [optional] |
|**workingTime** | **Long** | | [optional] |
|**selfTradePreventionMode** | **String** | | [optional] |
|**origQty** | **String** | | [optional] |



15 changes: 15 additions & 0 deletions clients/spot/docs/OrderListOpoResponseOrdersInner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# OrderListOpoResponseOrdersInner


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**symbol** | **String** | | [optional] |
|**orderId** | **Long** | | [optional] |
|**clientOrderId** | **String** | | [optional] |



54 changes: 54 additions & 0 deletions clients/spot/docs/OrderListOpocoRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@


# OrderListOpocoRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**symbol** | **String** | | |
|**listClientOrderId** | **String** | | [optional] |
|**newOrderRespType** | **NewOrderRespType** | | [optional] |
|**selfTradePreventionMode** | **SelfTradePreventionMode** | | [optional] |
|**workingType** | **WorkingType** | | |
|**workingSide** | **WorkingSide** | | |
|**workingClientOrderId** | **String** | | [optional] |
|**workingPrice** | **Double** | | |
|**workingQuantity** | **Double** | | |
|**workingIcebergQty** | **Double** | | [optional] |
|**workingTimeInForce** | **WorkingTimeInForce** | | [optional] |
|**workingStrategyId** | **Long** | | [optional] |
|**workingStrategyType** | **Integer** | | [optional] |
|**workingPegPriceType** | **WorkingPegPriceType** | | [optional] |
|**workingPegOffsetType** | **WorkingPegOffsetType** | | [optional] |
|**workingPegOffsetValue** | **Integer** | | [optional] |
|**pendingSide** | **PendingSide** | | |
|**pendingAboveType** | **PendingAboveType** | | |
|**pendingAboveClientOrderId** | **String** | | [optional] |
|**pendingAbovePrice** | **Double** | | [optional] |
|**pendingAboveStopPrice** | **Double** | | [optional] |
|**pendingAboveTrailingDelta** | **Double** | | [optional] |
|**pendingAboveIcebergQty** | **Double** | | [optional] |
|**pendingAboveTimeInForce** | **PendingAboveTimeInForce** | | [optional] |
|**pendingAboveStrategyId** | **Long** | | [optional] |
|**pendingAboveStrategyType** | **Integer** | | [optional] |
|**pendingAbovePegPriceType** | **PendingAbovePegPriceType** | | [optional] |
|**pendingAbovePegOffsetType** | **PendingAbovePegOffsetType** | | [optional] |
|**pendingAbovePegOffsetValue** | **Integer** | | [optional] |
|**pendingBelowType** | **PendingBelowType** | | [optional] |
|**pendingBelowClientOrderId** | **String** | | [optional] |
|**pendingBelowPrice** | **Double** | | [optional] |
|**pendingBelowStopPrice** | **Double** | | [optional] |
|**pendingBelowTrailingDelta** | **Double** | | [optional] |
|**pendingBelowIcebergQty** | **Double** | | [optional] |
|**pendingBelowTimeInForce** | **PendingBelowTimeInForce** | | [optional] |
|**pendingBelowStrategyId** | **Long** | | [optional] |
|**pendingBelowStrategyType** | **Integer** | | [optional] |
|**pendingBelowPegPriceType** | **PendingBelowPegPriceType** | | [optional] |
|**pendingBelowPegOffsetType** | **PendingBelowPegOffsetType** | | [optional] |
|**pendingBelowPegOffsetValue** | **Integer** | | [optional] |
|**recvWindow** | **Double** | | [optional] |



21 changes: 21 additions & 0 deletions clients/spot/docs/OrderListOpocoResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


# OrderListOpocoResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**orderListId** | **Long** | | [optional] |
|**contingencyType** | **String** | | [optional] |
|**listStatusType** | **String** | | [optional] |
|**listOrderStatus** | **String** | | [optional] |
|**listClientOrderId** | **String** | | [optional] |
|**transactionTime** | **Long** | | [optional] |
|**symbol** | **String** | | [optional] |
|**orders** | [**List&lt;OrderListOpocoResponseOrdersInner&gt;**](OrderListOpocoResponseOrdersInner.md) | | [optional] |
|**orderReports** | [**List&lt;OrderListOpocoResponseOrderReportsInner&gt;**](OrderListOpocoResponseOrderReportsInner.md) | | [optional] |



Loading
Loading