ib-api 972.3 → 972.3.1
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/VERSION +1 -1
- data/lib/ib/support.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 308cf77f0e3710e72998e8f645c7fd1465d7be1831a9ddc48b673499e1533709
|
4
|
+
data.tar.gz: 7695bd42bf2d174dd124fc93bb2786d77f0301ef63a62f6918c6115dd6aca5df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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:
|
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-
|
11
|
+
date: 2021-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|