ruby_bitbankcc 0.1.6 → 0.2.0
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 +4 -4
- data/README.md +1 -0
- data/lib/ruby_bitbankcc/bitbankcc.rb +4 -0
- data/lib/ruby_bitbankcc/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afb38f03e661e2ab3ddbce163a78268f15d72a46ab3c28bf628564eac47f7641
|
|
4
|
+
data.tar.gz: a3187a966d38b5f19d3e1fa811e4b22575525e4093bc1ea6f496e596aefed72d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fd3224589d094479219a861e192fcb9ddaf4f22c99d57f89455340e0be5be56e9ff17db2cf43e1ccee4f6edc7f3f5fd3eb909ffa3dc29e08f8396c605d187d1
|
|
7
|
+
data.tar.gz: dab92b85c7b6ee94f25beb0575b9741ff9c7cd6e99f88c3f21f02944995a49dd3437c2a219a08677d009401e884008f397f4e71662505129836587c8d143c585
|
data/README.md
CHANGED
|
@@ -29,6 +29,7 @@ bbcc.read_transactions('btc_jpy')
|
|
|
29
29
|
bbcc.read_ticker('btc_jpy')
|
|
30
30
|
bbcc.read_order_books('btc_jpy')
|
|
31
31
|
bbcc.read_balance()
|
|
32
|
+
bbcc.read_circuit_break_info('btc_jpy')
|
|
32
33
|
bbcc.read_active_orders('btc_jpy')
|
|
33
34
|
# you can omit last post_only (omit means false)
|
|
34
35
|
bbcc.create_order('btc_jpy', "0.001", 130000, 'buy', 'limit', false)
|
|
@@ -146,6 +146,10 @@ class Bitbankcc
|
|
|
146
146
|
RestClient.get @@base_public_url + "/#{pair}/transactions" + (date.empty? ? '' : '/' + date)
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
+
def read_circuit_break_info(pair)
|
|
150
|
+
RestClient.get @@base_public_url + "/#{pair}/circuit_break_info"
|
|
151
|
+
end
|
|
152
|
+
|
|
149
153
|
private
|
|
150
154
|
def http_request(uri, request)
|
|
151
155
|
https = Net::HTTP.new(uri.host, uri.port)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_bitbankcc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bitbankcc
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -80,7 +80,7 @@ dependencies:
|
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
|
-
description:
|
|
83
|
+
description:
|
|
84
84
|
email:
|
|
85
85
|
- system@bitcoinbank.co.jp
|
|
86
86
|
executables: []
|
|
@@ -101,7 +101,7 @@ homepage: https://github.com/bitbankinc/ruby_bitbankcc
|
|
|
101
101
|
licenses: []
|
|
102
102
|
metadata:
|
|
103
103
|
allowed_push_host: https://rubygems.org
|
|
104
|
-
post_install_message:
|
|
104
|
+
post_install_message:
|
|
105
105
|
rdoc_options: []
|
|
106
106
|
require_paths:
|
|
107
107
|
- lib
|
|
@@ -116,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
117
|
version: '0'
|
|
118
118
|
requirements: []
|
|
119
|
-
rubygems_version: 3.0.3
|
|
120
|
-
signing_key:
|
|
119
|
+
rubygems_version: 3.0.3.1
|
|
120
|
+
signing_key:
|
|
121
121
|
specification_version: 4
|
|
122
122
|
summary: This is ruby client of bitbankcc api
|
|
123
123
|
test_files: []
|