Пример #1
0
        internal void ApplyInternal(OptionExpired expired)
        {
            NumberOfContracts = 0;

            Expirations.Add(expired);

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