Module: CoveredCallExpiryOtmExit
- Defined in:
- lib/covered_call_expiry_otm_exit.rb
Instance Method Summary collapse
Instance Method Details
#explain ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/covered_call_expiry_otm_exit.rb', line 6 def explain template = <<-EOT Call Expires OTM Stock Sale %s (%s per share) - Net Outlay %s = Profit %s EOT template % [ stock_sale.to_money_s.rjust(12), proceeds_per_share.to_money_s, opening_position.net_outlay.to_money_s.rjust(12), profit.to_money_s.rjust(12) ] end |
#proceeds ⇒ Object
2 3 4 |
# File 'lib/covered_call_expiry_otm_exit.rb', line 2 def proceeds stock_sale end |