Skip to content

Commit eecce47

Browse files
committed
Release Clients January 13
1 parent e718b0a commit eecce47

96 files changed

Lines changed: 3600 additions & 120 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.

clients/algo/CHANGELOG.md

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

3+
## 2.1.0 - 2026-01-13
4+
5+
### Changed (1)
6+
7+
- Updated `binance-common` library to version `3.4.0`
8+
39
## 2.0.0 - 2025-12-22
410

511
### Changed (2)

clients/algo/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "binance-sdk-algo"
3-
version = "2.0.0"
3+
version = "2.1.0"
44
description = "Official Binance Algo SDK - A lightweight library that provides a convenient interface to Binance's Algo REST API"
55
authors = ["Binance"]
66
license = "MIT"
@@ -20,7 +20,7 @@ black = "^25.1.0"
2020
ruff = "^0.12.0"
2121
pycryptodome = "^3.17"
2222
aiohttp = "^3.9"
23-
binance-common = "3.3.0"
23+
binance-common = "3.4.0"
2424
pytest = { version = ">=6.2.5", optional = true }
2525

2626
[tool.poetry.extras]

clients/c2c/CHANGELOG.md

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

3+
## 3.1.0 - 2026-01-13
4+
5+
### Changed (1)
6+
7+
- Updated `binance-common` library to version `3.4.0`
8+
39
## 3.0.0 - 2025-12-22
410

511
### Changed (2)

clients/c2c/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "binance-sdk-c2c"
3-
version = "3.0.0"
3+
version = "3.1.0"
44
description = "Official Binance C2C SDK - A lightweight library that provides a convenient interface to Binance's C2C REST API"
55
authors = ["Binance"]
66
license = "MIT"
@@ -20,7 +20,7 @@ black = "^25.1.0"
2020
ruff = "^0.12.0"
2121
pycryptodome = "^3.17"
2222
aiohttp = "^3.9"
23-
binance-common = "3.3.0"
23+
binance-common = "3.4.0"
2424
pytest = { version = ">=6.2.5", optional = true }
2525

2626
[tool.poetry.extras]

clients/convert/CHANGELOG.md

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

3+
## 3.1.0 - 2026-01-13
4+
5+
### Changed (1)
6+
7+
- Updated `binance-common` library to version `3.4.0`
8+
39
## 3.0.0 - 2025-12-22
410

511
### Changed (2)

clients/convert/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "binance-sdk-convert"
3-
version = "3.0.0"
3+
version = "3.1.0"
44
description = "Official Binance Convert SDK - A lightweight library that provides a convenient interface to Binance's Convert REST API"
55
authors = ["Binance"]
66
license = "MIT"
@@ -20,7 +20,7 @@ black = "^25.1.0"
2020
ruff = "^0.12.0"
2121
pycryptodome = "^3.17"
2222
aiohttp = "^3.9"
23-
binance-common = "3.3.0"
23+
binance-common = "3.4.0"
2424
pytest = { version = ">=6.2.5", optional = true }
2525

2626
[tool.poetry.extras]

clients/copy_trading/CHANGELOG.md

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

3+
## 2.1.0 - 2026-01-13
4+
5+
### Changed (1)
6+
7+
- Updated `binance-common` library to version `3.4.0`
8+
39
## 2.0.0 - 2025-12-22
410

511
### Changed (2)

clients/copy_trading/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "binance-sdk-copy-trading"
3-
version = "2.0.0"
3+
version = "2.1.0"
44
description = "Official Binance CopyTrading Connector - A lightweight library that provides a convenient interface to Binance's CopyTrading REST API"
55
authors = ["Binance"]
66
license = "MIT"
@@ -20,7 +20,7 @@ black = "^25.1.0"
2020
ruff = "^0.12.0"
2121
pycryptodome = "^3.17"
2222
aiohttp = "^3.9"
23-
binance-common = "3.3.0"
23+
binance-common = "3.4.0"
2424
pytest = { version = ">=6.2.5", optional = true }
2525

2626
[tool.poetry.extras]

clients/crypto_loan/CHANGELOG.md

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

3+
## 4.0.0 - 2026-01-13
4+
5+
### Added (1)
6+
7+
- `get_flexible_loan_interest_rate_history()` (`GET /sapi/v2/loan/interestRateHistory`)
8+
9+
### Changed (1)
10+
11+
- Updated `binance-common` library to version `3.4.0`
12+
313
## 3.0.0 - 2025-12-22
414

515
### Changed (2)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import os
2+
import logging
3+
4+
from binance_sdk_crypto_loan.crypto_loan import (
5+
CryptoLoan,
6+
ConfigurationRestAPI,
7+
CRYPTO_LOAN_REST_API_PROD_URL,
8+
)
9+
10+
11+
# Configure logging
12+
logging.basicConfig(level=logging.INFO)
13+
14+
# Create configuration for the REST API
15+
configuration_rest_api = ConfigurationRestAPI(
16+
api_key=os.getenv("API_KEY", ""),
17+
api_secret=os.getenv("API_SECRET", ""),
18+
base_path=os.getenv("BASE_PATH", CRYPTO_LOAN_REST_API_PROD_URL),
19+
)
20+
21+
# Initialize CryptoLoan client
22+
client = CryptoLoan(config_rest_api=configuration_rest_api)
23+
24+
25+
def get_flexible_loan_interest_rate_history():
26+
try:
27+
response = client.rest_api.get_flexible_loan_interest_rate_history(
28+
coin="coin_example",
29+
recv_window=5000,
30+
)
31+
32+
rate_limits = response.rate_limits
33+
logging.info(
34+
f"get_flexible_loan_interest_rate_history() rate limits: {rate_limits}"
35+
)
36+
37+
data = response.data()
38+
logging.info(f"get_flexible_loan_interest_rate_history() response: {data}")
39+
except Exception as e:
40+
logging.error(f"get_flexible_loan_interest_rate_history() error: {e}")
41+
42+
43+
if __name__ == "__main__":
44+
get_flexible_loan_interest_rate_history()

0 commit comments

Comments
 (0)