41 base.ProcessFill(portfolio, security, fill);
51 var baseResult = base.ProcessCloseTradeProfit(portfolio, security, fill);
56 var option = (
Option)security;
59 var underlying = option.Underlying;
61 var cashQuantity = -option.GetIntrinsicValue(underlying.Close) * option.ContractUnitOfTrade * optionQuantity;
62 if (cashQuantity != decimal.Zero)