Example #1
0
        internal void ApplyInternal(OptionExpired expired)
        {
            NumberOfContracts = 0;

            Expirations.Add(expired);

            ApplyClosedLogicIfApplicable(expired.When, expired.Id);
        }
Example #2
0
        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
                    )
                );
        }
Example #3
0
 protected void ApplyInternal(OptionExpired expired)
 {
     this.State.Apply(expired);
 }