Sha256: 3a1103f2256d12be80c27262d4f6924fb1cc2cff8edc8223776daf9850e6ca03

Contents?: true

Size: 1.57 KB

Versions: 21

Compression:

Stored size: 1.57 KB

Contents


      -# .StockCoordinatesW
      -#   .StockCoordinates{ style: "height: #{pos.purse.height}px " }

      -#     .grid-mark.mark0
      -#       .label= nearest_strike
      -#     - (1...@n_dollars).each_with_index do |idx|
      -#       .grid-mark{ class: "mark#{idx}", style: "left: -#{idx * u}px" }
      -#         .label
      -#           = nearest_strike + idx
      -#       .grid-mark{ class: "mark-#{idx}", style: "left: #{idx * u}px" }
      -#         .label
      -#           = nearest_strike - idx

      -#     .Origin{ style: "left: #{ ( nearest_strike - stock.last )* u}px" }
      -#       .label Last: #{pp_amount stock.last}
      -#       .c

      -#       - left  = "#{ (stock.last - pos.inner_strike) * u}px"
      -#       - width = "0px"
      -#       .PositionW{ style: "left: #{left} ; width: #{width} " }
      -#         .Position
      -#           .PositionC

      -#           - if pos.net_amount >= 0
      -#             .Net.NetPositive{ style: "width: #{ (pos.net_amount / 100) * u }px; right: 0" }
      -#               .label
      -#                 net
      -#                 = pp_amount pos.net_amount
      -#           - else
      -#             .Net.NetNegative{ style: "width: #{ (-1 * pos.net_amount / 100) * u }px; left: 100%" }
      -#               .label
      -#                 net
      -#                 = pp_amount pos.net_amount

      -#           .Breakeven{ style: "width: #{ pos.begin_inner_price * u }px" }
      -#             .label
      -#               Breakeven:
      -#               = pos.begin_inner_price
      -#   .c

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.43 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.42 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.41 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.40 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.39 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.38 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.37 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.36 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.35 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.34 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.33 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.32 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.31 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.30 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.29 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.28 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.27 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.26 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.25 app/views/iro/positions/roll.haml-trash
iron_warbler-2.0.7.24 app/views/iro/positions/roll.haml-trash