6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/covered_call_expiry_itm_exit.rb', line 6
def explain
template = " Call Expires ITM\n Exercise %s (inc %s Assignment Fee)\n= Net Proceeds %s (%s per share)\n- Net Outlay %s\n= Profit %s\n\n EOT\n\n template % [\n exercise.to_money_s.rjust(12), \n commission.option_assignment.to_money_s,\n proceeds.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"
|