StopLimit NotImplementedException при тестировании на рейл-тайме

StopLimit NotImplementedException при тестировании на рейл-тайме
Atom
8/24/2011
President


Тестирую на рейл-тайме
Создаю стоп-ордер:
Code
			Order order = new Order
			{
				Type = OrderTypes.Conditional,
				Volume = volume,
				Security = this.Security,
				Price = price,
				Direction =  direction,
				Portfolio = this.Portfolio,
				StopCondition = new QuikStopCondition
				{
					Type = QuikStopConditionTypes.StopLimit,
					StopPrice = triggerPrice,
				},
			};


Успешно (без эксепшнов) его регистрирую.
И через долю секунды получаю в логах:
24.08.2011 13:28:42.341 Trader_ProcessDataError: System.NotImplementedException: The method or operation is not implemented.
at StockSharp.BusinessEntities.StopCondition.TryActivate(MarketDepth depth)
at StockSharp.Algo.Testing.MarketEmulator.#=qgKvDWPOBB7ObhiaHP7jce7lpsu5eVqNQfQhu441i_$s=(Order #=qghTCyYil3z9plTAIH0h7ZQ==)
at StockSharp.Algo.Testing.MarketEmulator.#=qaJMk0fYqrJJLimDSONRqFg==(SynchronizedDictionary`2 #=qfRrq$bOd7VwETPAhe7MxVA==)
at Ecng.Collections.CollectionHelper.SyncDo[TCollection](TCollection collection, Action`1 action)
at StockSharp.Algo.Testing.MarketEmulator.Emulate()
at StockSharp.Algo.Testing.MarketEmulator.UpdateQuotes(IEnumerable`1 marketDepths)
at StockSharp.Algo.Testing.RealTimeEmulationTrader`1.#=qnZb_iUxWIG3iMpl0nVUI0AOWio8OvyiTxlJhdUR8tbU=(IEnumerable`1 #=qURBlmcAjMgnbMDq30VUTsQ==)
at Ecng.Common.DelegateHelper.SafeInvoke[T](Action`1 handler, T arg)
at StockSharp.Algo.BaseTrader.#=q9x4U4UlSOkyZ3QjrnoQk8CciLYdldVF7rYtOidPxVPc=.#=qyxxb3dzH9Y7veo3ugDxAoQ==(IEnumerable`1 #=qBCmpU1le4ErdfKR6lMTszQ==)


PS. версия 3.2.6



Thanks:


Church

Avatar
Date: 8/24/2011
Reply


Как нам известно, EmulationTrader не поддерживает стоп-ордера. :(
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy