sensei_eod_utils 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eod_services/instrument_type.rb +2 -2
- data/sensei_eod_utils.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: effb750357ee12b44963926d233f5db393b66fc8408ca0fe1d2c0e36e2bb23ef
|
4
|
+
data.tar.gz: e844d4644d4c07fc1460e55d98f08cb0f2c3252fba2b215f8eb78adc6938d31f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5df39e03e2736d0bfa9328ff2fad2330e330c8f3f86232b544bf564fdb033153d4395343c95abd41e9f964b204866985ddd4a5aa3f5713a6645516caf29bc56
|
7
|
+
data.tar.gz: 395fa25d3289cd7be9f936e3ae00bde9b2621fdbfd21b81717130de587d49a08d33a2ce57af705eeecef3de05b378d1f2d51481d2be11ffc28ce32710752c93b
|
@@ -20,9 +20,9 @@ module EodServices
|
|
20
20
|
def call(symbol)
|
21
21
|
fundamentals = EodFacade::Fundamentals.call(symbol)
|
22
22
|
|
23
|
-
if fundamentals['
|
23
|
+
if fundamentals['General']['Type'] == 'ETF'
|
24
24
|
EodModels::InstrumentType::ETF
|
25
|
-
elsif fundamentals['
|
25
|
+
elsif fundamentals['General']['Type'] == 'Common Stock'
|
26
26
|
EodModels::InstrumentType::Stock
|
27
27
|
elsif EodFacade::Options.call(symbol)
|
28
28
|
EodModels::InstrumentType::Option
|
data/sensei_eod_utils.gemspec
CHANGED