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 +4 -4
- data/lib/binance/api.rb +6 -0
- data/lib/binance/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 190868ad61fe8c03e60269a1e9162094fafe2691fa6845dc46cbf0bf7a456c65
|
4
|
+
data.tar.gz: 35a0ec5120e37a65aef818fa1ddf2c7a4954a3f94fe32579e119cc4596a3a0e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/binance/api/version.rb
CHANGED
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.
|
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-
|
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.
|
240
|
+
summary: binance-ruby-1.3
|
241
241
|
test_files: []
|