internal void ApplyInternal(OptionExpired expired) { NumberOfContracts = 0; Expirations.Add(expired); ApplyClosedLogicIfApplicable(expired.When, expired.Id); }
internal void Apply(OptionExpired expired) { this.NumberOfContracts = 0; this.Expirations.Add(expired); this.Transactions.Add( Transaction.PLTx( this.Ticker, "Expiration reached" + (expired.Assigned ? ", ASSIGNED" : ""), this.Credit - this.Debit, expired.When, true ) ); }
protected void ApplyInternal(OptionExpired expired) { this.State.Apply(expired); }