binance-connector-ruby 1.5.2 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67c85ace8badbef5e9bf0d5868a0108f9471ff9a4a038d5d1eadbf183ade1ab1
4
- data.tar.gz: 1b3860a989bf7cfe391c1c676d9c12642613922cfedfb851d9b9fdcaf566dc7e
3
+ metadata.gz: 6cd14ba018ca28c3101c382fcc105fe35cac51e04acf23a3aab69bd3bdb47b87
4
+ data.tar.gz: d163b9b4ad26556f6dfb4ae8761a7f4396c6ad9045c9fbf11be3a844b14121ea
5
5
  SHA512:
6
- metadata.gz: 42b78e3eabf0b19244b8c2eae0fdadcfcf9736ad64229205cad28280891fee20563b30813f9c19fb6784ece2858552dea0f2959022bc1467d569a28747e1d0dc
7
- data.tar.gz: 6496a67178678e76a92b17332dfcd7a59578089b6a0572bc604a525ec8100edccf7a0eb19274068af0e40d6058e8f72823fb1673fdc8c682c2f93e6bc15e1bd3
6
+ metadata.gz: 9e09151948a6c51d6554455ac5b7c496601a55faf95bf8f57aef34ec447ac80ec393a0d7097b212c5e3722a2d7d37311b537b99b57a86fe56bd0461e63bf0c44
7
+ data.tar.gz: 6b07bf72b7cbab7fe9a255070d94fa28233c9d31df9d3f831f674b67a40d6bc7e76b3d7dfa2c1deab146fd4e6013463e807b0f184ad54ec1aa5533e510b3d0c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.0 - 2024-10-02
4
+
5
+ ### Changed
6
+ - Updated endpoint `/sapi/v1/sub-account/subAccountApi/ipRestriction` to `/sapi/v2/sub-account/subAccountApi/ipRestriction`
7
+ - Update dependencies
8
+
9
+ ### Removed
10
+ - Deprecated margin endpoints:
11
+ - `POST /sapi/v1/margin/transfer`
12
+ - `POST /sapi/v1/margin/isolated/transfer`
13
+ - `POST /sapi/v1/margin/loan`
14
+ - `POST /sapi/v1/margin/repay`
15
+ - `GET /sapi/v1/margin/isolated/transfer`
16
+ - `GET /sapi/v1/margin/asset`
17
+ - `GET /sapi/v1/margin/pair`
18
+ - `GET /sapi/v1/margin/isolated/pair`
19
+ - `GET /sapi/v1/margin/loan`
20
+ - `GET /sapi/v1/margin/repay`
21
+ - `GET /sapi/v1/margin/dribblet`
22
+ - `GET /sapi/v1/margin/dust`
23
+ - `POST /sapi/v1/margin/dust`
24
+
25
+ - Deprecated SubAccount endpoint: `POST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList`
26
+
27
+ - Deprecated Futures endpoints:
28
+ - `GET /sapi/v1/futures/loan/interestHistory`
29
+ - `GET /sapi/v1/futures/loan/collateralRepayResult`
30
+ - `POST /sapi/v1/futures/loan/collateralRepay`
31
+ - `GET /sapi/v1/futures/loan/collateralRepay`
32
+ - `GET /sapi/v1/futures/loan/collateralRepayLimit`
33
+ - `GET /sapi/v1/futures/loan/liquidationHistory`
34
+ - `GET /sapi/v1/futures/loan/adjustCollateral/history`
35
+ - `POST /sapi/v2/futures/loan/adjustCollateral`
36
+ - `GET /sapi/v2/futures/loan/calcMaxAdjustAmount`
37
+ - `GET /sapi/v2/futures/loan/calcAdjustLevel`
38
+ - `GET /sapi/v2/futures/loan/configs`
39
+ - `GET /sapi/v2/futures/loan/wallet`
40
+ - `GET /sapi/v1/futures/loan/repay/history`
41
+ - `POST /sapi/v1/futures/loan/repay`
42
+ - `GET /sapi/v1/futures/loan/borrow/history`
43
+ - `POST /sapi/v1/futures/loan/borrow`
44
+ - `GET /sapi/v1/futures/transfer`
45
+ - `POST /sapi/v1/futures/transfer`
46
+
47
+ - BLVT endpoints:
48
+ - `GET /sapi/v1/blvt/tokenInfo`
49
+ - `POST /sapi/v1/blvt/subscribe`
50
+ - `GET /sapi/v1/blvt/subscribe/record`
51
+ - `POST /sapi/v1/blvt/redeem`
52
+ - `GET /sapi/v1/blvt/redeem/record`
53
+ - `GET /sapi/v1/blvt/userLimit`
54
+
3
55
  ## 1.5.2 - 2024-07-23
4
56
 
5
57
  ### Changed
@@ -3,7 +3,7 @@
3
3
  module Binance
4
4
  class Spot
5
5
  # C2C endpoints
6
- # @see https://binance-docs.github.io/apidocs/spot/en/#c2c-endpoints
6
+ # @see https://developers.binance.com/docs/c2c/Introduction
7
7
  module C2C
8
8
  # Get C2C Trade History (USER_DATA)
9
9
  #
@@ -16,7 +16,7 @@ module Binance
16
16
  # @option kwargs [Integer] :rows
17
17
  # @option kwargs [Integer] :recvWindow
18
18
  # @option kwargs [Integer] :timestamp
19
- # @see https://binance-docs.github.io/apidocs/spot/en/#get-c2c-trade-history-user_data
19
+ # @see https://developers.binance.com/docs/c2c/rest-api/Get-C2C-Trade-History
20
20
  def c2c_trade_history(tradeType:, **kwargs)
21
21
  Binance::Utils::Validation.require_param('tradeType', tradeType)
22
22
 
@@ -3,7 +3,7 @@
3
3
  module Binance
4
4
  class Spot
5
5
  # Convert endpoints
6
- # @see https://binance-docs.github.io/apidocs/spot/en/#convert-endpoints
6
+ # @see https://developers.binance.com/docs/convert/Introduction
7
7
  module Convert
8
8
  # Get Convert Trade History (USER_DATA)
9
9
  #
@@ -14,7 +14,7 @@ module Binance
14
14
  # @param kwargs [Hash]
15
15
  # @option kwargs [Integer] :limit default 100, max 1000
16
16
  # @option kwargs [Integer] :recvWindow The value cannot be greater than 60000
17
- # @see https://binance-docs.github.io/apidocs/spot/en/#convert-endpoints
17
+ # @see https://developers.binance.com/docs/convert/trade/Get-Convert-Trade-History#http-request
18
18
  def convert_trade_flow(startTime:, endTime:, **kwargs)
19
19
  Binance::Utils::Validation.require_param('startTime', startTime)
20
20
  Binance::Utils::Validation.require_param('endTime', endTime)
@@ -3,7 +3,7 @@
3
3
  module Binance
4
4
  class Spot
5
5
  # Fiat endpoints
6
- # @see https://binance-docs.github.io/apidocs/spot/en/#fiat-endpoints
6
+ # @see https://developers.binance.com/docs/fiat/Introduction
7
7
  module Fiat
8
8
  # Get Fiat Deposit/Withdraw History (USER_DATA)
9
9
  #
@@ -16,7 +16,7 @@ module Binance
16
16
  # @option kwargs [Integer] :page default 1
17
17
  # @option kwargs [Integer] :rows default 100, max 500
18
18
  # @option kwargs [Integer] :recvWindow The value cannot be greater than 60000
19
- # @see https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
19
+ # @see https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History
20
20
  def fiat_deposit_withdraw_history(transactionType:, **kwargs)
21
21
  Binance::Utils::Validation.require_param('transactionType', transactionType)
22
22
 
@@ -36,7 +36,7 @@ module Binance
36
36
  # @option kwargs [Integer] :page default 1
37
37
  # @option kwargs [Integer] :rows default 100, max 500
38
38
  # @option kwargs [Integer] :recvWindow The value cannot be greater than 60000
39
- # @see https://binance-docs.github.io/apidocs/spot/en/#get-fiat-payments-history-user_data
39
+ # @see https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History
40
40
  def fiat_payment_history(transactionType:, **kwargs)
41
41
  Binance::Utils::Validation.require_param('transactionType', transactionType)
42
42
 
@@ -3,7 +3,7 @@
3
3
  module Binance
4
4
  class Spot
5
5
  # all loan endpoints
6
- # @see https://binance-docs.github.io/apidocs/spot/en/#crypto-loans-endpoints
6
+ # @see https://developers.binance.com/docs/crypto_loan/Introduction
7
7
  module Loan
8
8
  # Get Crypto Loans Income History (USER_DATA)
9
9
  #
@@ -15,7 +15,7 @@ module Binance
15
15
  # @option kwargs [Integer] :endTime
16
16
  # @option kwargs [Integer] :limit default 20, max 100
17
17
  # @option kwargs [Integer] :recvWindow The value cannot be greater than 60000
18
- # @see https://binance-docs.github.io/apidocs/spot/en/#get-crypto-loans-income-history-user_data
18
+ # @see https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History
19
19
  def get_loan_history(asset:, **kwargs)
20
20
  Binance::Utils::Validation.require_param('asset', asset)
21
21