sensei_eod_utils 0.0.9 → 0.0.10

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: 51ea512e09929ea8729c6b85b837eba7fb846e96821a4ef1d0956018ac236861
4
- data.tar.gz: 3e60bfb5a170fdab288fee9adf34be72464518e4cc9a1261f858981c7a8f22e3
3
+ metadata.gz: 9d5ef3c880493aa1412b09e9378922cdaa2762bb53ecf6e3b20e73e936197c4f
4
+ data.tar.gz: 2aef9b632c860f9b2d60a9f6c8460f58951a830c9fcf4afaff82606ad5bcaa4f
5
5
  SHA512:
6
- metadata.gz: b9db9ab147dbbfa557c357e11edd85c6bb989e743b66d8128261e35147f1d8eafcc07ec3e6455fa6ce25c274cc2673a9d9f4581e424f5e1be4e48f79a5224172
7
- data.tar.gz: 6b6a97e98491acf6aa09731b39804758754d6cea56a04c19dd6dacfb52215e9e71cb05dd4d8232016cf6181bec3bab5bca1370707598b27f53c7da27d1454f32
6
+ metadata.gz: bb313e8c21940d5fe8f79bc5e4131a49ad89ee6f26c4362fb5c7b9a10a47401419276f6b4e0583f6eb3f8e757115e208b00ae4de1c4a7852fa7941b09f6ae07f
7
+ data.tar.gz: fe0506c15059096065b883e65d36774354d6666ab330cad9136e7301f816bff44db1f26e0abe99536833c0c05a92605f6de19b8868921925e39624973942be3c
@@ -8,7 +8,7 @@ module EodServices
8
8
  # rubocop:enable Metrics/LineLength
9
9
 
10
10
  def contract_symbol(underlying:, expiry:, type:, strike:)
11
- return underlying if type == OptionType::STOCK
11
+ return underlying if type == EodModels::OptionType::STOCK
12
12
 
13
13
  underlying + expiration(expiry) + type + padded_strike(strike)
14
14
  end
@@ -29,7 +29,7 @@ module EodServices
29
29
  match = contract_symbol.match(CONTRACT_REGEX)
30
30
  return match[:option_type] if match
31
31
 
32
- OptionType::STOCK
32
+ EodModels::OptionType::STOCK
33
33
  end
34
34
 
35
35
  private
@@ -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.9'
5
+ s.version = '0.0.10'
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nishant Shah