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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d918eb208bd9778dd09c717bd87710fae5002b4d11682bb27f161758ae4faddd
4
- data.tar.gz: '09aedad416ac8d718008f2f74759db355098cdb779f15537db8a7788f1d46eef'
3
+ metadata.gz: effb750357ee12b44963926d233f5db393b66fc8408ca0fe1d2c0e36e2bb23ef
4
+ data.tar.gz: e844d4644d4c07fc1460e55d98f08cb0f2c3252fba2b215f8eb78adc6938d31f
5
5
  SHA512:
6
- metadata.gz: 90d16e452062cfd0373c33fe656f50ce5a02790c3e5f10658157c8b78c6c546fe39421b054e8ef0d459ddcbdcf524760307c7f18739738bdca63d43e958426c3
7
- data.tar.gz: 01246c956d93baed4878894a47469a1509fb571e273fe722793a5792aecc585b2cb28d599fcc420488c62e8378aad5aba6dbae9daccf64cc716edc83813cd956
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['type'] == 'ETF'
23
+ if fundamentals['General']['Type'] == 'ETF'
24
24
  EodModels::InstrumentType::ETF
25
- elsif fundamentals['type'] == 'Common Stock'
25
+ elsif fundamentals['General']['Type'] == 'Common Stock'
26
26
  EodModels::InstrumentType::Stock
27
27
  elsif EodFacade::Options.call(symbol)
28
28
  EodModels::InstrumentType::Option
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'sensei_eod_utils'
5
- s.version = '0.0.22'
5
+ s.version = '0.0.23'
6
6
  s.date = '2019-12-20'
7
7
  s.summary = 'Sensei trader utility functions and Eod api facade'
8
8
  s.authors = ['Nishant Shah']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensei_eod_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nishant Shah