Sha256: 203a5018a40bb4baa6bbd832ea6a49621754f2e251ac25b6c37cbccd85142e1d
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
json.ticker @stock.ticker json.last @stock.last json.max_pain do @max_pain.each do |date, maps| json.set! date do json.all do json.array! maps['all'] do |strike, value| json.strike strike json.value value end end json.summary do json.max_pain maps['summary']['value'] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iron_warbler-2.0.7.43 | app/views/iro/api/stocks/max_pain.json.jbuilder |
iron_warbler-2.0.7.42 | app/views/iro/api/stocks/max_pain.json.jbuilder |