Повторный запуск серии свечек
Здравствуйте. Скажите пожалуйста почему не получается запустить серию свечек повторно. То есть запустить CandleManager.Start(CandleSeries); остановить CandleManager.Stop(CandleSeries); и при следующем запуске CandleManager.Start(CandleSeries); выбрасывает исключение с сообщением "Серия TimeFrameCandle_SBER@QJSIM_00-01-00 не была остановлена".
Лог:
2017/12/10 21:36:46.135| |LuaServer |OnInit
2017/12/10 21:36:46.149| |FixServer |Server 0.0.0.0:5001 started.
2017/12/10 21:36:46.150| |FixServer |FixServer started.
2017/12/10 21:36:46.151| |FixServer |FixServer outgoing thread started.
2017/12/10 21:36:46.152| |LuaServer |OnInit done
2017/12/10 21:36:46.157| |LuaServer |Main
2017/12/10 21:37:08.501| |FixServer |Connected '127.0.0.1:7415' to '0.0.0.0:5001'.
2017/12/10 21:37:08.514| |FixServer |Received first byte from '127.0.0.1:7415'.
2017/12/10 21:37:08.517| |FixServer |Connected '127.0.0.1:7416' to '0.0.0.0:5001'.
2017/12/10 21:37:08.517| |FixServer |Received first byte from '127.0.0.1:7416'.
2017/12/10 21:37:08.526| |FixServer |From : Logon
2017/12/10 21:37:08.526| |FixServer |From : Logon
2017/12/10 21:37:08.529| |FixServer |Клиент Quik (127.0.0.1:7416) авторизован.
2017/12/10 21:37:08.529| |FixServer |Клиент Quik (127.0.0.1:7415) авторизован.
2017/12/10 21:37:08.581| |FixServer |Отправка Logon клиенту.
2017/12/10 21:37:08.581| |FixServer |Отправка Logon клиенту.
2017/12/10 21:37:08.585| |FixServer |Сессия запущена.
2017/12/10 21:37:08.586| |FixServer |Сессия запущена.
2017/12/10 21:37:08.611| |FixServer |From Quik 127.0.0.1:7415: RequestForPositions
2017/12/10 21:37:08.616| |FixServer |From Quik 127.0.0.1:7416: SecurityListRequest
2017/12/10 21:37:08.625| |FixServer |From Quik 127.0.0.1:7415: OrderMassStatusRequest
2017/12/10 21:37:08.626| |LuaServer |Request: Type = PortfolioLookup TrId = 77828327 Value = SecId = OrdType = IsSubscribe = False DataType = Level1 Arg=
2017/12/10 21:37:08.626| |LuaServer |LookupPortfolios
2017/12/10 21:37:08.635| |LuaServer |LookupPortfolios done
2017/12/10 21:37:08.639| |LuaServer |LookupPositions
2017/12/10 21:37:08.640| |LuaServer |LookupPositions done
2017/12/10 21:37:08.640| |LuaServer |Request: Type = OrderStatus TrId = 77828328 Value = SecId = OrdType = IsSubscribe = False DataType = Level1 Arg=
2017/12/10 21:37:08.641| |LuaServer |LookupStopOrders
2017/12/10 21:37:08.641| |LuaServer |Stop orders count: 0
2017/12/10 21:37:08.641| |LuaServer |LookupStopOrders done
2017/12/10 21:37:08.641| |LuaServer |LookupOrders
2017/12/10 21:37:08.641| |LuaServer |Orders count: 2
2017/12/10 21:37:08.653| |LuaServer |LookupOrders done
2017/12/10 21:37:08.653| |LuaServer |LookupTrades
2017/12/10 21:37:08.653| |LuaServer |Own trades count: 2
2017/12/10 21:37:08.657| |LuaServer |LookupTrades done
2017/12/10 21:37:08.657| |LuaServer |Request: Type = SecurityLookup TrId = 77828329 Value = SecId = S#:@, Native:,Type: OrdType = IsSubscribe = False DataType = Level1 Arg=
2017/12/10 21:37:08.667| |LuaServer |LookupSecurities
2017/12/10 21:37:08.771|Error |LuaServer |Пустой код инструмента для класса EQRP_INFO.
2017/12/10 21:37:08.862|Error |LuaServer |Пустой код инструмента для класса CROSSRATE.
2017/12/10 21:37:08.882| |LuaServer |LookupSecurities done
2017/12/10 21:37:13.751| |FixServer |From Quik 127.0.0.1:7416: MarketDataRequest
2017/12/10 21:37:13.763| |LuaServer |Request: Type = MarketData TrId = 77828331 Value = SecId = S#:SBER@QJSIM, Native:,Type: OrdType = IsSubscribe = True DataType = CandleTimeFrame Arg=00:01:00
2017/12/10 21:37:13.768| |LuaServer |History count: 1047
2017/12/10 21:37:22.567| |FixServer |From Quik 127.0.0.1:7416: MarketDataRequest
2017/12/10 21:37:22.571| |LuaServer |Request: Type = MarketData TrId = 77828330 Value = SecId = S#:SBER@QJSIM, Native:,Type: OrdType = IsSubscribe = False DataType = CandleTimeFrame Arg=00:01:00
2017/12/10 21:37:34.076|Error |FixServer |System.IO.IOException: Поток вернул 0 байт.
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.ReadTag()
в #=q9jjF0rShk_P$QjKJbR_t9KtL_LAcvOuLcu8qKTbdQjNL9RUoSXtm7G_0f0kZK_vD.#=q_BxK4883$d40zT4_vadAFQ==(IFixReader #=q4YpKuBOKElkfjmCFQCCgPg==, FixTags #=q49RVA7DyMhhXn1hmnr$3PA==)
в #=q9jjF0rShk_P$QjKJbR_t9KtL_LAcvOuLcu8qKTbdQjNL9RUoSXtm7G_0f0kZK_vD.#=q4YDirT83UXIVRGcVRHBi9w==(IFixReader #=q4YpKuBOKElkfjmCFQCCgPg==, Boolean #=qp7sQMHTOTEBLE0oDUC$7q4hMQr4AdMa9QJIitKPAMd8=, String #=q_kYfzO6LmfI$IqUNby1xgG27GIMvyqIaHLzswPktl3s=)
в StockSharp.Fix.FixServer.#=q_V3UoY7GlFQgfE2XEcU2RQ==(IFixReader #=q4YpKuBOKElkfjmCFQCCgPg==, FixSession[] #=qVBpqB1WPFGMLRbVu60D_lQ==, #=qvi3samYfFYOn$Ok9aF0JzawWgCT2Sl$nfbiRf2rpLZ1mDyXxvl2BewjvC8Bu_wci& #=qZ3WC9rea5HgnyaocSE_amg==, TcpClient #=qt3W4yQvPkNQrq8EP_2ESig==, EndPoint #=q$CaQ5dA8ZKPPkTrc4pDHdA==, String& #=qlWYbDnGmbFfQ5IfwPljYug==, Boolean& #=qyctFrSE_oF09EPxtBpbXug==)
в StockSharp.Fix.FixServer.#=qR9V$HD40pX962VV6$W3YEIpq_wSsH9ht3ylQu_FQxqA=.#=qM0wkN31DSUvU$xDEi3IAsg==(IAsyncResult #=qOSOEOTHlsUVPUTGPk5Os4w==)
2017/12/10 21:37:34.076|Error |FixServer |System.IO.IOException: Поток вернул 0 байт.
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.ReadTag()
в #=q9jjF0rShk_P$QjKJbR_t9KtL_LAcvOuLcu8qKTbdQjNL9RUoSXtm7G_0f0kZK_vD.#=q_BxK4883$d40zT4_vadAFQ==(IFixReader #=q4YpKuBOKElkfjmCFQCCgPg==, FixTags #=q49RVA7DyMhhXn1hmnr$3PA==)
в #=q9jjF0rShk_P$QjKJbR_t9KtL_LAcvOuLcu8qKTbdQjNL9RUoSXtm7G_0f0kZK_vD.#=q4YDirT83UXIVRGcVRHBi9w==(IFixReader #=q4YpKuBOKElkfjmCFQCCgPg==, Boolean #=qp7sQMHTOTEBLE0oDUC$7q4hMQr4AdMa9QJIitKPAMd8=, String #=q_kYfzO6LmfI$IqUNby1xgG27GIMvyqIaHLzswPktl3s=)
в StockSharp.Fix.FixServer.#=q_V3UoY7GlFQgfE2XEcU2RQ==(IFixReader #=q4YpKuBOKElkfjmCFQCCgPg==, FixSession[] #=qVBpqB1WPFGMLRbVu60D_lQ==, #=qvi3samYfFYOn$Ok9aF0JzawWgCT2Sl$nfbiRf2rpLZ1mDyXxvl2BewjvC8Bu_wci& #=qZ3WC9rea5HgnyaocSE_amg==, TcpClient #=qt3W4yQvPkNQrq8EP_2ESig==, EndPoint #=q$CaQ5dA8ZKPPkTrc4pDHdA==, String& #=qlWYbDnGmbFfQ5IfwPljYug==, Boolean& #=qyctFrSE_oF09EPxtBpbXug==)
в StockSharp.Fix.FixServer.#=qR9V$HD40pX962VV6$W3YEIpq_wSsH9ht3ylQu_FQxqA=.#=qM0wkN31DSUvU$xDEi3IAsg==(IAsyncResult #=qOSOEOTHlsUVPUTGPk5Os4w==)
2017/12/10 21:37:34.077| |FixServer |Disconnect Quik (127.0.0.1:7416)
2017/12/10 21:37:34.077| |FixServer |Disconnect Quik (127.0.0.1:7415)
Проект вложен.