ib-api 972.3 → 972.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/ib/support.rb +4 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8adaf6267b470da6c3e9918f11209d0ad63797a4facb61d2f561291a5435be4
4
- data.tar.gz: 90ae6945b0cfa5dfc4c18b49d4d7fc65296a1b360abbf6e22a6a360c1ecebdb0
3
+ metadata.gz: 308cf77f0e3710e72998e8f645c7fd1465d7be1831a9ddc48b673499e1533709
4
+ data.tar.gz: 7695bd42bf2d174dd124fc93bb2786d77f0301ef63a62f6918c6115dd6aca5df
5
5
  SHA512:
6
- metadata.gz: d9000425dd681aa181d70c81f6ab02705aba623d0c20fa124fabc652d0a9061ffd655980cc7ae307a9db8412ccb795149dcca4ebcb0239c7051da979298c25e5
7
- data.tar.gz: 182b84997e82f20134187f4879f3157ad744aa3dd08bc909b6b901beab5817d90d973626b7a67be3da02ee495e4562bf479de635d8ab3897a9b073d5aaa8e33a
6
+ metadata.gz: 3f9da9a7fc9cef3ff061cc48c0f3508be2b7111f70fe65111cf8683efb03b33e7a80ad2a56093206bed15223adb6e2155c104db1e3f5a36cff52faf46a82e064
7
+ data.tar.gz: f7d6ac4e1a73efdeed9032e6302df00efa3881ffaa98ca6ff557cc9c989d89c245e8a7782ecf0be0ba75f5cea938d839090ac92ca696fa78fef8e8b514b5d769
data/VERSION CHANGED
@@ -1 +1 @@
1
- 972.3
1
+ 972.3.1
data/lib/ib/support.rb CHANGED
@@ -154,14 +154,16 @@ module IBSupport
154
154
  end
155
155
 
156
156
 
157
- def read_bar # read a standard bar (Historical data bars)
157
+ def read_bar # read a Historical data bar
158
+ # ** historicalDataUpdate: time open close high low ** covered hier
159
+ # historicalData time open high low close <- covered in messages/incomming
158
160
  { :time => read_int_date, # conversion of epoche-time-integer to Dateime
159
161
  # requires format_date in request to be "2"
160
162
  # (outgoing/bar_requests # RequestHistoricalData#Encoding)
161
163
  :open => read_float,
164
+ :close => read_float,
162
165
  :high => read_float,
163
166
  :low => read_float,
164
- :close => read_float,
165
167
  :wap => read_float,
166
168
  :volume => read_int,
167
169
  # :has_gaps => read_string, # only in ServerVersion < 124
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ib-api
3
3
  version: !ruby/object:Gem::Version
4
- version: '972.3'
4
+ version: 972.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hartmut Bischoff
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-04 00:00:00.000000000 Z
11
+ date: 2021-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler