Sha256: 6184fef5526c8c5c55977345a6ddb04c90bbd6d4f08f39b7bb83c5368d257a9e

Contents?: true

Size: 420 Bytes

Versions: 49

Compression:

Stored size: 420 Bytes

Contents

#
# ishapi / option_price_items / index
#

json.array! @outs do |out|
  json.strikePrice opi.strikePrice
  json.symbol     opi.symbol
  json.bid        opi.bid
  json.ask        opi.ask
  json.natural    ((opi.bid + opi.ask )/2).round(3)
  json.last       opi.last
  # json.lastPrice  opi.lastPrice
  # json.open opi.openPrice
  json.timestamp opi.timestamp.strftime('%H:%M:%S')
  json.seconds   opi.timestamp.to_i
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
ishapi-0.1.8.274 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.273 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.272 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.271 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.270 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.269 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.268 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.267 app/views/ishapi/option_price_items/index.jbuilder
ishapi-0.1.8.266 app/views/ishapi/option_price_items/index.jbuilder