Module: CoveredCallExpiryOtmExit

Defined in:
lib/covered_call_expiry_otm_exit.rb

Instance Method Summary collapse

Instance Method Details

#explainObject



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 = "  Call Expires OTM\n  Stock Sale %s (%s per share)\n- Net Outlay %s\n=     Profit %s\n\n\n  EOT\n\n  template % [\n    stock_sale.to_money_s.rjust(12), \n    proceeds_per_share.to_money_s, \n    opening_position.net_outlay.to_money_s.rjust(12), \n    profit.to_money_s.rjust(12)\n  ]\nend\n"

#proceedsObject



2
3
4
# File 'lib/covered_call_expiry_otm_exit.rb', line 2

def proceeds
  stock_sale
end