コード例 #1
0
        /// <summary>Send details about pending orders</summary>
        private void SendPendingPositions()
        {
            // Only send differences
            if (Pending.SequenceEqual(m_last_pending_orders))
            {
                return;
            }

            // Post update
            var list = Pending.ToArray();

            if (Post(new InMsg.PendingOrdersUpdate(list)))
            {
                m_last_pending_orders = list;
            }
        }