binance-ruby 0.2 → 0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/binance/api/account.rb +8 -0
- data/lib/binance/api/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 82044d8253bab602b2995c7f336b5b250dd9336ae43076825bb0e6f4591394c5
|
|
4
|
+
data.tar.gz: 653e377d488d101cf0515fbe953ec302de407c5194d13b401b269270f13deb83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbc73529569f2399b6eb5fbf82a291aafba066f5f9215546aa7fc4d7e44af80c5b3d53f6f7ccd956107bd2c30ba60c9f376b81a0bbbdeba9852f2f2e72db8cf2
|
|
7
|
+
data.tar.gz: f28e408a52548bb97a3ce047c9e91a0cccee2246a5a94edb46aa4b08c5850b0a2998f7de222d0072bdaac75b221d4767ad0855a76f46b32b079901121c5ed7fe
|
data/lib/binance/api/account.rb
CHANGED
|
@@ -2,6 +2,14 @@ module Binance
|
|
|
2
2
|
module Api
|
|
3
3
|
class Account
|
|
4
4
|
class << self
|
|
5
|
+
def fees!(recvWindow: 5000)
|
|
6
|
+
timestamp = Configuration.timestamp
|
|
7
|
+
params = { recvWindow: recvWindow, timestamp: timestamp }
|
|
8
|
+
Request.send!(api_key_type: :read_info, path: "/wapi/v3/assetDetail.html",
|
|
9
|
+
params: params.delete_if { |key, value| value.nil? },
|
|
10
|
+
security_type: :user_data)
|
|
11
|
+
end
|
|
12
|
+
|
|
5
13
|
def info!(recvWindow: 5000)
|
|
6
14
|
timestamp = Configuration.timestamp
|
|
7
15
|
params = { recvWindow: recvWindow, timestamp: timestamp }
|
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: '0.
|
|
4
|
+
version: '0.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:
|
|
11
|
+
date: 2019-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: codecov
|
|
@@ -186,9 +186,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
187
|
version: '0'
|
|
188
188
|
requirements: []
|
|
189
|
-
|
|
190
|
-
rubygems_version: 2.5.2
|
|
189
|
+
rubygems_version: 3.0.6
|
|
191
190
|
signing_key:
|
|
192
191
|
specification_version: 4
|
|
193
|
-
summary: binance-ruby-0.
|
|
192
|
+
summary: binance-ruby-0.3
|
|
194
193
|
test_files: []
|