app/models/iro/priceitem.rb in iron_warbler-2.0.7.37 vs app/models/iro/priceitem.rb in iron_warbler-2.0.7.38

- old
+ new

@@ -1,16 +1,17 @@ ## -## specifically Option or Stock priceitem? +## Specifically Option or Stock priceitem? +## Priceitems are intra-day! See Datapoint for daily data ## class Iro::Priceitem include Mongoid::Document include Mongoid::Timestamps store_in collection: 'iro_price_items' ## PUT, CALL, STOCK - field :putCall, type: String + field :putCall, type: String ## kind field :symbol, type: String field :ticker, type: String # belongs_to :stock, inverse_of: :priceitems field :bid, type: Float @@ -22,9 +23,10 @@ field :openPrice, type: Float field :lowPrice, type: Float field :highPrice, type: Float field :closePrice, type: Float + field :quote_at, type: DateTime field :quoteTimeInLong, type: Integer field :timestamp, type: Integer field :totalVolume, type: Integer field :mark, type: Float field :exchangeName, type: String