bitflyer 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 1fe1a563928289a8e8aaef7cbe25549dd18810ef
4
- data.tar.gz: 249c561de32e3d2eff443dbe3454cbb36d5dc900
3
+ metadata.gz: 3c7230657c7e3c23d82cd86c43e7ee395728d698
4
+ data.tar.gz: 48483bd3a6b720dc84e603e60b22a3355d840cc9
5
5
  SHA512:
6
- metadata.gz: 7060497afcac7294de5a9c1f8639110eceb8f5ae4c183ca8f46eebb49a17987dd18a39025d944fb64fa2971c8aae8f5691b4392094abce2b664c69b0b07012b5
7
- data.tar.gz: 2766ff1aa67e219dbf46ec8823feee55cd83a3dcaf7e84e251373e96265d12c2a36e2bb3a9e2083b0e724e370d3852dbdecac39647f6ef3ec99c4dc4caeb60d6
6
+ metadata.gz: 5651bfe952064840fc814fe34dea588f3d6e6a5a6637bf66a89ff1c156915584a3320257aaf847af56e3eb4c9871781a057249079a8fb3ea5b50a113fbf38046
7
+ data.tar.gz: f6cdbb2be7d609f9c1ba336d6d8305af97afc4a0773a0c7044f9648204fb4a839cd784388b401961084801a9dd71ff54c8593eccaab614cd32aca0b854b64fe1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitflyer (0.1.0)
4
+ bitflyer (0.1.1)
5
5
  faraday (~> 0.12.2)
6
6
  faraday_middleware (~> 0.11.0.1)
7
7
  pubnub (~> 4.0.22)
data/README.md CHANGED
@@ -15,6 +15,8 @@ gem install bitflyer
15
15
 
16
16
  ## Usage
17
17
 
18
+ See https://lightning.bitflyer.jp/docs for details.
19
+
18
20
  ### HTTP API
19
21
 
20
22
  #### Example
@@ -29,7 +31,8 @@ p private_client.positions # will print your positions
29
31
 
30
32
  ### Realtime API
31
33
 
32
- API format is like `{event_name}_{product_code}`.
34
+ Accessor format is like `{event_name}_{product_code}`.
35
+ You can set lambda to get realtime events.
33
36
 
34
37
  #### `event_name`
35
38
  - board_snapshot
@@ -74,7 +74,7 @@ module Bitflyer
74
74
  @connection.post('/v1/me/cancelchildorder', body).body
75
75
  end
76
76
 
77
- def send_parent_order(order_method: nil, minute_to_expire: nil, time_in_force: 'GTC', parameters: parameters)
77
+ def send_parent_order(order_method: nil, minute_to_expire: nil, time_in_force: 'GTC', parameters: {})
78
78
  body = {
79
79
  order_method: order_method,
80
80
  minute_to_expire: minute_to_expire,
@@ -1,3 +1,3 @@
1
1
  module Bitflyer
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitflyer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuji Ueki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-27 00:00:00.000000000 Z
11
+ date: 2017-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday