Beispiel #1
0
        private void OnRtnCancel(object sender, OrderArgs e)//将撤单回报分发给各个合约
        {
            AContract contract = Contracts.Find(
                delegate(AContract c) { return(string.Compare(c.Instrument.InstrumentID, e.Value.InstrumentID) == 0); }
                );

            if (contract != null)
            {
                contract.OnRtnCancel(sender, e);
            }
        }