sensei_eod_utils 0.0.16 → 0.0.17

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: 3b592ae4b6175ca8cf6fb9f6a6c9a1beee9384298153215b2ca257cd3ca91694
4
- data.tar.gz: a6e7fb7b9331bbeaeddad9a1c4e91e73efe62f674bc05b27c93c9c20fd7ae174
3
+ metadata.gz: fe56c4ad4360909ab4c60eecc79ca7a6c62ce7ba11680445641e174946c67b9e
4
+ data.tar.gz: b463878e8799e153f8bb656cefe4f1c47feafa6a7852f8f5f2ad9d975d4f827d
5
5
  SHA512:
6
- metadata.gz: 82d9f9c39fc81370fe4b43e7efbc9e172bf9584e3e6cacd106eb697520e963c2c6639b6056170d04a3ef7b8eb6ee335f85ecc0afa6094a3441dc26fe52fb2141
7
- data.tar.gz: f0450c3948cda7464cd0b4d9ce56f491ce56e80e3cf4dc60e67785bfa0495a7a0ae1ea9a3941c0661e613b2dd049564a7443b5661c7e088f09f7d15fc93ea24e
6
+ metadata.gz: 00dfbcca4d3a9291e3060782be9462df8d1196778f912faf122b64dffb9c630748521e291814762d564c9368c96ae3e196adc0c936afab06ec61e9f8016f9d3e
7
+ data.tar.gz: 2af25bd0255ebf0e1e8f908884fa7139ae12ed2e2d83927a3923dd891c54482206fc76b7e0e163fbc4d6e67730607ad076e0bea91ed422d2cbefcdc3cbc7d3f4
@@ -59,9 +59,9 @@ module EodFacade
59
59
  def contract_type(symbol)
60
60
  option_type = EodServices::Contract.contract_type(symbol)
61
61
  case option_type
62
- when OptionType::CALL
62
+ when EodModels::OptionType::CALL
63
63
  'CALL'
64
- when OptionType::PUT
64
+ when EodModels::OptionType::PUT
65
65
  'PUT'
66
66
  else
67
67
  raise ArgumentError,
@@ -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.16'
5
+ s.version = '0.0.17'
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.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nishant Shah