Quik Luа ошибки
Atom Ответить
26.06.2018


При установке соединения вылетают ошибки. Подскажите, что делать.

Код
System.InvalidOperationException: Сообщение 'Execution,T(L)=2018/06/26 16:28:13.543,T(S)=2018/06/26 10:13:43.254,(Transaction),Sec=S#:SiU8@FORTS, Native:,Type:,Ord=31309500517/0/11,Fail=,Price=63385,OrdVol=5,TrVol=,Bal=0,TId=,Pf=76640c3,TPrice=,UId=,State=Done' привело к ошибке обработки. ---> System.ArgumentException: Элемент с тем же ключом уже был добавлен.
в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
в System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
в System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
в Ecng.Collections.SynchronizedDictionary`2.Add(TKey key, TValue value)
в StockSharp.Algo.EntityCache.ProcessOrderMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Tuple`3& pfInfo)
в StockSharp.Algo.Connector.ProcessOrderMessage(Order o, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessTransactionMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessExecutionMessage(ExecutionMessage message)
в StockSharp.Algo.Connector.OnProcessMessage(Message message)
--- Конец трассировки внутреннего стека исключений ---

System.InvalidOperationException: Сообщение 'Execution,T(L)=2018/06/26 16:28:13.544,T(S)=2018/06/26 10:19:39.852,(Transaction),Sec=S#:SiU8@FORTS, Native:,Type:,Ord=31309652689/0/13,Fail=,Price=63396,OrdVol=5,TrVol=,Bal=0,TId=,Pf=76640c3,TPrice=,UId=,State=Done' привело к ошибке обработки. ---> System.ArgumentException: Элемент с тем же ключом уже был добавлен.
в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
в System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
в System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
в Ecng.Collections.SynchronizedDictionary`2.Add(TKey key, TValue value)
в StockSharp.Algo.EntityCache.ProcessOrderMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Tuple`3& pfInfo)
в StockSharp.Algo.Connector.ProcessOrderMessage(Order o, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessTransactionMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessExecutionMessage(ExecutionMessage message)
в StockSharp.Algo.Connector.OnProcessMessage(Message message)
--- Конец трассировки внутреннего стека исключений ---

System.InvalidOperationException: Сообщение 'Execution,T(L)=2018/06/26 16:28:13.546,T(S)=2018/06/26 13:13:14.257,(Transaction),Sec=S#:SiU8@FORTS, Native:,Type:,Ord=31315014205/0/19,Fail=,Price=63575,OrdVol=5,TrVol=,Bal=0,TId=,Pf=76640c3,TPrice=,UId=,State=Done' привело к ошибке обработки. ---> System.ArgumentException: Элемент с тем же ключом уже был добавлен.
в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
в System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
в System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
в Ecng.Collections.SynchronizedDictionary`2.Add(TKey key, TValue value)
в StockSharp.Algo.EntityCache.ProcessOrderMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Tuple`3& pfInfo)
в StockSharp.Algo.Connector.ProcessOrderMessage(Order o, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessTransactionMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessExecutionMessage(ExecutionMessage message)
в StockSharp.Algo.Connector.OnProcessMessage(Message message)
--- Конец трассировки внутреннего стека исключений ---

System.InvalidOperationException: Сообщение 'Execution,T(L)=2018/06/26 16:28:13.547,T(S)=2018/06/26 13:25:49.626,(Transaction),Sec=S#:SiU8@FORTS, Native:,Type:,Ord=31315397512/0/21,Fail=,Price=63565,OrdVol=5,TrVol=,Bal=0,TId=,Pf=76640c3,TPrice=,UId=,State=Done' привело к ошибке обработки. ---> System.ArgumentException: Элемент с тем же ключом уже был добавлен.
в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
в System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
в System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
в Ecng.Collections.SynchronizedDictionary`2.Add(TKey key, TValue value)
в StockSharp.Algo.EntityCache.ProcessOrderMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Tuple`3& pfInfo)
в StockSharp.Algo.Connector.ProcessOrderMessage(Order o, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessTransactionMessage(Order order, Security security, ExecutionMessage message, Int64 transactionId, Boolean isStatusRequest)
в StockSharp.Algo.Connector.ProcessExecutionMessage(ExecutionMessage message)
в StockSharp.Algo.Connector.OnProcessMessage(Message message)
--- Конец трассировки внутреннего стека исключений ---


Цитата:
2018/06/26 16:44:56.009| |FixServer |Disconnect quik (127.0.0.1:52117)
2018/06/26 16:47:44.594| |FixServer |Connected '127.0.0.1:52144' to '0.0.0.0:5001'.
2018/06/26 16:47:44.612| |FixServer |Received first byte from '127.0.0.1:52144'.
2018/06/26 16:47:44.614| |FixServer |From : Logon
2018/06/26 16:47:44.614| |FixServer |Клиент quik (127.0.0.1:52144) авторизован.
2018/06/26 16:47:44.616| |FixServer |Отправка Logon клиенту.
2018/06/26 16:47:44.616| |FixServer |Сессия запущена.
2018/06/26 16:47:44.618| |FixServer |Connected '127.0.0.1:52145' to '0.0.0.0:5001'.
2018/06/26 16:47:44.618| |FixServer |Received first byte from '127.0.0.1:52145'.
2018/06/26 16:47:44.619| |FixServer |From : Logon
2018/06/26 16:47:44.619| |FixServer |Клиент quik (127.0.0.1:52145) авторизован.
2018/06/26 16:47:44.620| |FixServer |Отправка Logon клиенту.
2018/06/26 16:47:44.620| |FixServer |Сессия запущена.
2018/06/26 16:47:44.668| |FixServer |From quik 127.0.0.1:52144: RequestForPositions
2018/06/26 16:47:44.668| |LuaServer |Request: Type='PortfolioLookup' TrId='60458856' Value='' SecId='' OrdType='' IsSubscribe='False' DataType='Level1' Arg='' From='' To=''
2018/06/26 16:47:44.668| |LuaServer |LookupPortfolios
2018/06/26 16:47:44.668| |FixServer |From quik 127.0.0.1:52144: OrderMassStatusRequest
2018/06/26 16:47:44.669| |LuaServer |LookupPortfolios done
2018/06/26 16:47:44.669| |LuaServer |LookupPositions
2018/06/26 16:47:44.669| |LuaServer |LookupPositions done
2018/06/26 16:47:44.669| |LuaServer |Request: Type='OrderStatus' TrId='60458857' Value='' SecId='' OrdType='' IsSubscribe='False' DataType='Level1' Arg='' From='' To=''
2018/06/26 16:47:44.669| |LuaServer |LookupStopOrders
2018/06/26 16:47:44.669| |LuaServer |Stop orders count: 6
2018/06/26 16:47:44.670| |LuaServer |LookupStopOrders done
2018/06/26 16:47:44.670| |LuaServer |LookupOrders
2018/06/26 16:47:44.670| |LuaServer |Orders count: 17
2018/06/26 16:47:44.670| |LuaServer |LookupOrders done
2018/06/26 16:47:44.670| |LuaServer |LookupTrades
2018/06/26 16:47:44.670| |LuaServer |Own trades count: 27
2018/06/26 16:47:44.672| |LuaServer |LookupTrades done
2018/06/26 16:48:44.668| |FixServer |From quik 127.0.0.1:52145: TestRequest
2018/06/26 16:48:44.669| |FixServer |From quik 127.0.0.1:52144: TestRequest
2018/06/26 16:49:44.710| |FixServer |From quik 127.0.0.1:52145: TestRequest
2018/06/26 16:49:44.710| |FixServer |From quik 127.0.0.1:52144: TestRequest
2018/06/26 16:50:44.742| |FixServer |From quik 127.0.0.1:52145: TestRequest
2018/06/26 16:50:44.743| |FixServer |From quik 127.0.0.1:52144: TestRequest
2018/06/26 16:51:14.848|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()
в #=ztFS8p2SET7SAM_XEsuP9CEA=.#=zFb38KRc=(IFixReader #=zJKDS$9Y=, FixTags #=zlGqaORU2Tc7c)
в #=ztFS8p2SET7SAM_XEsuP9CEA=.#=zAIaas_s=(IFixReader #=zJKDS$9Y=, Boolean #=zZkIVMwVuv4lS, String #=zwOqpTs4=)
в StockSharp.Fix.FixServer.#=zLwh1hVg=(IFixReader #=zJKDS$9Y=, FixSession[] #=zojXlxqBTBsJK, #=zWR326rOYXxB8zJj_MixR5SA=& #=z8Rp7iS0zCqb5, TcpClient #=z7nxEYec=, EndPoint #=zRW5vdTv5kt8g, String& #=zovw8sgZIYmjE, Boolean& #=z0gOIRGc=)
в StockSharp.Fix.FixServer.#=zw_pJYhwRHbk5VtiJQeEIEkA=.#=zqAn9CrW23tPuCdSLMQ==()
2018/06/26 16:51:14.848|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()
в #=ztFS8p2SET7SAM_XEsuP9CEA=.#=zFb38KRc=(IFixReader #=zJKDS$9Y=, FixTags #=zlGqaORU2Tc7c)
в #=ztFS8p2SET7SAM_XEsuP9CEA=.#=zAIaas_s=(IFixReader #=zJKDS$9Y=, Boolean #=zZkIVMwVuv4lS, String #=zwOqpTs4=)
в StockSharp.Fix.FixServer.#=zLwh1hVg=(IFixReader #=zJKDS$9Y=, FixSession[] #=zojXlxqBTBsJK, #=zWR326rOYXxB8zJj_MixR5SA=& #=z8Rp7iS0zCqb5, TcpClient #=z7nxEYec=, EndPoint #=zRW5vdTv5kt8g, String& #=zovw8sgZIYmjE, Boolean& #=z0gOIRGc=)
в StockSharp.Fix.FixServer.#=zw_pJYhwRHbk5VtiJQeEIEkA=.#=zqAn9CrW23tPuCdSLMQ==()
2018/06/26 16:51:14.848| |FixServer |Disconnect quik (127.0.0.1:52144)
2018/06/26 16:51:14.848| |FixServer |Disconnect quik (127.0.0.1:52145)



Спасибо:




0 Ответов


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy