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>10.0.0</version>
<version>10.1.1</version>
</dependency>
```

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

Expand Down
1 change: 1 addition & 0 deletions clients/algo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## 1.2.2 - 2026-04-30

- Update `binance/common` module to version `2.4.2`.

## 1.2.1 - 2025-08-07
Expand Down
1 change: 1 addition & 0 deletions clients/alpha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## 1.0.1 - 2026-04-30

- Update `binance/common` module to version `2.4.2`.

## 1.0.0 - 2026-01-20
Expand Down
30 changes: 30 additions & 0 deletions clients/c2c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
# Changelog

## 3.0.0 - 2026-05-04

### Changed (1)

- Modified response for `getC2CTradeHistory()` (`GET /sapi/v1/c2c/orderMatch/listUserOrderHistory`):
- property `unitPrice` added
- property `payMethodName` added
- property `fiatSymbol` added
- property `fiat` added
- property `commission` added
- property `takerCommissionRate` added
- property `orderStatus` added
- property `takerAmount` added
- property `additionalKycVerify` added
- property `counterPartNickName` added
- property `createTime` added
- property `advNo` added
- property `asset` added
- property `totalPrice` added
- property `tradeType` added
- property `takerCommission` added
- property `amount` added
- property `orderNumber` added
- property `code` deleted
- property `data` deleted
- property `message` deleted
- property `success` deleted
- property `total` deleted

## 2.0.1 - 2026-04-30

- Update `binance/common` module to version `2.4.2`.

## 2.0.0 - 2025-12-16
Expand Down
23 changes: 18 additions & 5 deletions clients/c2c/docs/GetC2CTradeHistoryResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,24 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**code** | **String** | | [optional] |
|**message** | **String** | | [optional] |
|**data** | [**List&lt;GetC2CTradeHistoryResponseDataInner&gt;**](GetC2CTradeHistoryResponseDataInner.md) | | [optional] |
|**total** | **Long** | | [optional] |
|**success** | **Boolean** | | [optional] |
|**orderNumber** | **String** | | [optional] |
|**advNo** | **String** | | [optional] |
|**tradeType** | **String** | | [optional] |
|**asset** | **String** | | [optional] |
|**fiat** | **String** | | [optional] |
|**fiatSymbol** | **String** | | [optional] |
|**amount** | **String** | | [optional] |
|**totalPrice** | **String** | | [optional] |
|**unitPrice** | **String** | | [optional] |
|**orderStatus** | **String** | | [optional] |
|**createTime** | **Long** | | [optional] |
|**commission** | **String** | | [optional] |
|**takerCommissionRate** | **String** | | [optional] |
|**takerCommission** | **String** | | [optional] |
|**takerAmount** | **String** | | [optional] |
|**counterPartNickName** | **String** | | [optional] |
|**payMethodName** | **String** | | [optional] |
|**additionalKycVerify** | **Long** | | [optional] |



26 changes: 0 additions & 26 deletions clients/c2c/docs/GetC2CTradeHistoryResponseDataInner.md

This file was deleted.

4 changes: 2 additions & 2 deletions clients/c2c/docs/rest-api/migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ With the transition to a modularized structure, the Binance Connector has been s
<dependency>
<groupId>io.github.binance</groupId>
<artifactId>binance-c2c</artifactId>
<version>2.0.0</version>
<version>3.0.0</version>
</dependency>
```

Expand Down Expand Up @@ -91,7 +91,7 @@ by:
<dependency>
<groupId>io.github.binance</groupId>
<artifactId>binance-c2c</artifactId>
<version>2.0.0</version>
<version>3.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion clients/c2c/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>binance-c2c</artifactId>
<name>c2c</name>
<version>2.0.1</version>
<version>3.0.0</version>
<packaging>jar</packaging>

<parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new com.binance.connector.client.c2c.rest.model.GetC2CTradeHistoryResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.binance.connector.client.c2c.rest.model.GetC2CTradeHistoryResponseDataInner
.CustomTypeAdapterFactory());
gson = gsonBuilder.create();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class C2CApi {

private static final String USER_AGENT =
String.format(
"binance-c2c/2.0.0 (Java/%s; %s; %s)",
"binance-c2c/3.0.0 (Java/%s; %s; %s)",
SystemUtil.getJavaVersion(), SystemUtil.getOs(), SystemUtil.getArch());
private static final boolean HAS_TIME_UNIT = false;

Expand Down
Loading
Loading