binance-ruby 1.2.10 → 1.3

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: b7aeec9cb5b5ae2a051736b1476f4f72576afb66f73034ddfc49ca19f8688a67
4
- data.tar.gz: 1071ac47ada9058de034ca589ff513c2e9fdece3ff5bfba7200b720ac5d9a8c4
3
+ metadata.gz: 190868ad61fe8c03e60269a1e9162094fafe2691fa6845dc46cbf0bf7a456c65
4
+ data.tar.gz: 35a0ec5120e37a65aef818fa1ddf2c7a4954a3f94fe32579e119cc4596a3a0e3
5
5
  SHA512:
6
- metadata.gz: 59d15089228fff6d726b87f48fc691564cd8863d7c7476f9999b55bc03b5d789d419c479eb371031d670fd71014cd4a213d186674fbcb96cc7d7e174c2f59987
7
- data.tar.gz: cefe98e599a4ca202ce0f6f99ff1904dc4e1b91562819d2af84a3ed715c664968ec2ede3841e6fe230c373cd59f3cb173f4994bfd0e192781d094e841d477267
6
+ metadata.gz: 4aa2390fffc1850125cf4dcd6beb35c54e4b182bd0d2e0fa88a9fae9f41290440d05f4bf4b8279d43bed7fd4d5239a5f7eb7121014b47d0392da570a4f3ca496
7
+ data.tar.gz: 66b7b1a9ce5f209dd7dfcceac63751cf24856a0f4e6c8a66bd8a4b9fba7cc56729d840b0d22e4a8e79457efcf42ac506b474bcaa00ece5896e8b6139b9996d3f
data/lib/binance/api.rb CHANGED
@@ -1,6 +1,12 @@
1
1
  module Binance
2
2
  module Api
3
3
  class << self
4
+ def all_coins_info!(recvWindow: nil, api_key: nil, api_secret_key: nil)
5
+ params = { recvWindow: recvWindow }
6
+ Request.send!(api_key_type: :read_info, path: "/sapi/v1/capital/config/getall", params: params,
7
+ api_key: api_key, api_secret_key: api_secret_key)
8
+ end
9
+
4
10
  # Valid limits:[5, 10, 20, 50, 100, 500, 1000]
5
11
  def candlesticks!(endTime: nil, interval: nil, limit: 500, startTime: nil, symbol: nil, api_key: nil, api_secret_key: nil)
6
12
  raise Error.new(message: "interval is required") unless interval
@@ -1,5 +1,5 @@
1
1
  module Binance
2
2
  module Api
3
- VERSION = "1.2.10"
3
+ VERSION = "1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binance-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.10
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Peterson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-03 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov
@@ -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.10
240
+ summary: binance-ruby-1.3
241
241
  test_files: []