app/models/iro/priceitem.rb in iron_warbler-2.0.7.39 vs app/models/iro/priceitem.rb in iron_warbler-2.0.7.40

- old
+ new

@@ -9,10 +9,11 @@ store_in collection: 'iro_price_items' ## PUT, CALL, STOCK field :putCall, type: String ## kind field :symbol, type: String + field :description, type: String field :ticker, type: String # belongs_to :stock, inverse_of: :priceitems field :bid, type: Float field :bidSize, type: Integer @@ -31,10 +32,15 @@ field :totalVolume, type: Integer field :mark, type: Float field :exchangeName, type: String field :volatility, type: Float - field :expires_on, type: :date + field :expirationDate, type: :date + field :delta, type: Float + field :gamma, type: Float + field :theta, type: Float + field :openInterest, type: Integer + field :strikePrice, type: Float def self.my_find props={} lookup = { '$lookup': { 'from': 'iro_price_items', 'localField': 'date',