ish_models 0.0.33.150 → 0.0.33.151

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/warbler/option_watch.rb +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98158831447240516d9eb317044eac6747061dc9ee4573c52eef3bd0b08b1199
4
- data.tar.gz: e4329aed6a4e1a2eae21d26bc7e61191490060c3d6d35ed7854e576d3e617f21
3
+ metadata.gz: 6c1a8feb3d93c76b4cc923c63ec58f7c07b6ef717b5fb1e6ab3887e0b1afa79a
4
+ data.tar.gz: a37d65e4328947be9d323288ca68d526c17099eefd22b8a9660963b153ea6f68
5
5
  SHA512:
6
- metadata.gz: 3c2aa703154a0a19a801427a90ad5b5de20b3229eecb062aabca5c40fe83e76e3ce045dfbb1e844dc2442a3c890103b334ecdfddaeab52ef1c9f78427b87e5ff
7
- data.tar.gz: 8a2718dccdb593131098e2f93375b4f8668120e567076c60432e143d35542ede6fa1b08a3dbe445cb2e1af564d7f06854843bee5d8d3c2b88325827772f16cee
6
+ metadata.gz: ad692619a0b561c876c23c2dd541bf93f894885a8c3f3a8aee9718dfb8c6e1c5f5de68acebc61955f5e2765320fe7ca12042b80b69700fb9db3f65a4e97239ca
7
+ data.tar.gz: c5cee4bb7423bbe1dfde9faea1eb1ec48f7ab9cf570c1c5377c29237ff4667416d42db1e15f3a186cdcb12f875e6b24ea55f0d8bb3a6a9a2647c4df03b9d832a
@@ -10,10 +10,14 @@ class Warbler::OptionWatch
10
10
  validates :ticker, presence: true
11
11
  # field :symbol # like NVDA_021822C230
12
12
 
13
- ## Strike isn't called price!
13
+ ## Strike isn't the same as price!
14
14
  field :strike, :type => Float
15
15
  validates :strike, presence: true
16
16
 
17
+ ## What is the price of the option at some strike?
18
+ field :price, type: Float
19
+ validates :price, presence: true
20
+
17
21
  field :contractType
18
22
  validates :contractType, presence: true
19
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.150
4
+ version: 0.0.33.151
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox