Sha256: b9e82f0bc8b805fb482e61bd0cd66ac9ee538e06b2eb7777839019ff64079b93

Contents?: true

Size: 647 Bytes

Versions: 2

Compression:

Stored size: 647 Bytes

Contents

.iro-max-pain.max-width
  .header
    %h2.title max pain for #{@ticker} on #{params[:date]}

  -# = @all_items.inspect

  %ul
    - flag = false
    - @calls_items.each do |_t|
      - item = @all_items[_t[:strikePrice]]
      - if !flag && item[:puts_subtotal] < item[:calls_subtotal]
        %hr
        - flag = true
      %li
        -# = item.inspect
        = item[:strikePrice]
        %ul
          %li calls oi: #{item[:calls_oi]}
          %li Call pain: #{number_to_currency item[:calls_subtotal], precision: 0}
          %li puts oi: #{item[:puts_oi]}
          %li Put pain: #{number_to_currency item[:puts_subtotal], precision: 0}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ish_manager-0.1.8.460 app/views/ish_manager/iro_watches/max_pain.haml
ish_manager-0.1.8.459 app/views/ish_manager/iro_watches/max_pain.haml