binance-ruby 1.2.9 → 1.2.10

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: c692f93f4037603a5ccdeacd096c7f83f7c3b4c212555e62a30b7ac8ba0f8245
4
- data.tar.gz: 75cbbf7c87f7557ff078e29ae479b28530f50b3d26c22baa75ed69d99c5c1d72
3
+ metadata.gz: b7aeec9cb5b5ae2a051736b1476f4f72576afb66f73034ddfc49ca19f8688a67
4
+ data.tar.gz: 1071ac47ada9058de034ca589ff513c2e9fdece3ff5bfba7200b720ac5d9a8c4
5
5
  SHA512:
6
- metadata.gz: bb3354015ac4a66d64c334e7a64b2e86885f0b8bfbe3ee527f5a6059f882dae6e5b4adc729da862d71f6ce12ffa696cb769ea6414938c29f7c0ed390216f0312
7
- data.tar.gz: efcdd0c9c5d5c0e411fbd04de3a87dce49b047b6cb633c3f8af4a7becbeede5bda76a8a244d2e94ca2980a9c3e97f0601973c10401aa0f0d69cfa71359e7a6f8
6
+ metadata.gz: 59d15089228fff6d726b87f48fc691564cd8863d7c7476f9999b55bc03b5d789d419c479eb371031d670fd71014cd4a213d186674fbcb96cc7d7e174c2f59987
7
+ data.tar.gz: cefe98e599a4ca202ce0f6f99ff1904dc4e1b91562819d2af84a3ed715c664968ec2ede3841e6fe230c373cd59f3cb173f4994bfd0e192781d094e841d477267
@@ -44,6 +44,19 @@ module Binance
44
44
  params: params.delete_if { |key, value| value.nil? }, method: :post,
45
45
  security_type: :user_data, api_key: api_key, api_secret_key: api_secret_key)
46
46
  end
47
+
48
+ # If both startTime and endTime are sent, time between startTime and endTime must be less than 90 days.
49
+ def withdraw_history!(coin: nil, status: nil, offset: nil, limit: nil, startTime: nil, endTime: nil,
50
+ recvWindow: nil, api_key: nil, api_secret_key: nil)
51
+ timestamp = Configuration.timestamp
52
+ params = {
53
+ coin: coin, status: status, offset: offset, limit: limit, startTime: startTime,
54
+ endTime: endTime, recvWindow: recvWindow, timestamp: timestamp,
55
+ }
56
+ Request.send!(api_key_type: :withdrawals, path: "/sapi/v1/capital/withdraw/history",
57
+ params: params.delete_if { |key, value| value.nil? }, method: :get,
58
+ security_type: :user_data, api_key: api_key, api_secret_key: api_secret_key)
59
+ end
47
60
  end
48
61
  end
49
62
  end
@@ -1,5 +1,5 @@
1
1
  module Binance
2
2
  module Api
3
- VERSION = "1.2.9"
3
+ VERSION = "1.2.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binance-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Peterson
@@ -237,5 +237,5 @@ requirements: []
237
237
  rubygems_version: 3.1.6
238
238
  signing_key:
239
239
  specification_version: 4
240
- summary: binance-ruby-1.2.9
240
+ summary: binance-ruby-1.2.10
241
241
  test_files: []