예제 #1
0
        /// <summary>
        /// Удалить генератор лога заявок, ранее зарегистрированный через <see cref="RegisterOrderLog"/>.
        /// </summary>
        /// <param name="generator">Генератор лога заявок.</param>
        public void UnRegisterOrderLog(OrderLogGenerator generator)
        {
            if (generator == null)
            {
                throw new ArgumentNullException("generator");
            }

            _marketDataAdapter.OrderLogGenerators.Remove(generator.SecurityId);
            UnRegisterOrderLog(FindSecurity(generator.SecurityId));
        }
 /// <summary>
 /// Удалить генератор лога заявок, ранее зарегистрированный через <see cref="RegisterOrderLog"/>.
 /// </summary>
 /// <param name="generator">Генератор лога заявок.</param>
 public void UnRegisterOrderLog(OrderLogGenerator generator)
 {
     SendInGeneratorMessage(generator, false);
 }
 /// <summary>
 /// Зарегистрировать генератор лога заявок.
 /// </summary>
 /// <param name="generator">Генератор лога заявок.</param>
 public void RegisterOrderLog(OrderLogGenerator generator)
 {
     SendInGeneratorMessage(generator, true);
 }
예제 #4
0
		/// <summary>
		/// To delete the orders log generator, earlier registered through <see cref="RegisterOrderLog"/>.
		/// </summary>
		/// <param name="generator">The orders log generator.</param>
		public void UnRegisterOrderLog(OrderLogGenerator generator)
		{
			SendInGeneratorMessage(generator, false);
		}
예제 #5
0
		/// <summary>
		/// To register the orders log generator.
		/// </summary>
		/// <param name="generator">The orders log generator.</param>
		public void RegisterOrderLog(OrderLogGenerator generator)
		{
			SendInGeneratorMessage(generator, true);
		}
예제 #6
0
 public void UnRegisterOrderLog(OrderLogGenerator generator)
 => UnSubscribeGenerator(generator);
예제 #7
0
 /// <summary>
 /// To register the orders log generator.
 /// </summary>
 /// <param name="generator">The orders log generator.</param>
 /// <returns>Subscription.</returns>
 //[Obsolete("Uses custom adapter implementation.")]
 public Subscription RegisterOrderLog(OrderLogGenerator generator)
 => SubscribeGenerator(generator);