Sha256: 63e95ecf6f6fe843bf069eb9414a35ff1e47170e576ae579df6739d879d0c97a
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 KB
Contents
-## Same file for the spreads - collapse_key ||= pos.id %i.fa.fa-expand.collapse-expand.floaty-collapse{ id: "gameui-pos-detail-#{collapse_key}" } .maxwidth %ul.m-0.p-0 - if !pos.persisted? %li <b>expires_on:</b> #{pos.expires_on} %li <b>outer,inner_strike:</b> #{pp_amount pos.outer_strike} -> #{pp_amount pos.inner_strike} %li <b>next_gain_loss_amount:</b> #{pp_amount pos.next_gain_loss_amount} \:: #{pp_amount pos.next_gain_loss_amount * 100 * pos.q} <i>#{pp_percent pos.next_gain_loss_amount/pos.max_loss*-1}</i> %li <b>outer,inner_strike:</b> #{pp_amount pos.outer_strike} -> #{pp_amount pos.inner_strike} %li <b>begin_outer,inner_price:</b> #{pp_amount pos.begin_outer_price} -> #{pp_amount pos.begin_inner_price} -## yes *100 <b>max gain:</b> #{pp_amount pos.max_gain} :: #{pp_amount pos.max_gain * 100 * pos.q} %li <b>end_outer,inner_price:</b> #{pp_amount pos.end_outer_price} -> #{pp_amount pos.end_inner_price} -## yes *100 <b>max loss:</b> #{pp_amount pos.max_loss} :: #{pp_amount pos.max_loss * 100 * pos.q} %li <b>Exposure:</b> #{pp_amount pos.max_loss() *-1*100*pos.q()} %li <b>Breakeven:</b> #{pp_amount pos.max_gain} - ## no *100 %li <b>Net:</b> #{pp_amount pos.net_amount} :: #{pp_amount pos.net_amount * pos.q} <i>#{pp_percent pos.net_percent}</i>
Version data entries
3 entries across 3 versions & 1 rubygems