-## -## Same file for the spreads -## - collapse_key ||= pos.id %i.fa.fa-expand.collapse-expand.floaty-collapse{ id: "gameui-pos-detail-#{collapse_key}" } .maxwidth %table.bordered{ class: pos.long_or_short } %tbody.long-or-short-item %tr %td #{pp_amount pos.outer.strike} %td= pp_amount pos.outer.begin_price %td= pos.outer.begin_delta %td  -  %td= pp_amount pos.outer.end_price %td= pp_delta pos.outer.end_delta %tr %td #{pp_amount pos.inner.strike} %td= pp_amount pos.inner.begin_price %td= pp_delta pos.inner.begin_delta %td  -  %td= pp_amount pos.inner.end_price %td= pp_delta pos.inner.end_delta .header.d-flex %ul.mb-0 %li -## yes *100 max gain: #{pp_amount pos.max_gain} :: #{pp_amount pos.max_gain * 100 * pos.q} -# %li -# end_outer,inner_price: #{pp_amount pos.end_outer_price} -> #{pp_amount pos.end_inner_price} -#    -# -## yes *100 -# max loss: #{pp_amount pos.max_loss} :: #{pp_amount pos.max_loss * 100 * pos.q} %li Exposure: #{pp_amount pos.max_loss() *100*pos.q()} %li Breakeven: #{pp_amount pos.inner.strike + pos.max_gain()} - ## no *100 %li Net: #{pp_amount pos.net_amount} :: #{pp_amount pos.net_amount() *100*pos.q}    #{pp_percent pos.net_percent} - if 'prepare' == pos.status %ul.mb-0 %li next_gain_loss_amount: #{pp_amount pos.next_gain_loss_amount} \:: #{pp_amount pos.next_gain_loss_amount * 100 * pos.q}    #{pp_percent pos.next_gain_loss_amount/pos.max_loss*-1}