17:18:36.17[10]DEBUG:New RealtimePositionList was created for Si-6.15. Agent='21-3'. ForgateDate=05/21/2015 17:18:09
17:18:36.17[10]DEBUG:RealtimePositionList '21-3' have 2 positions, 0 active, 2 initial count. Timestamp 05/21/2015 17:18:05
17:18:36.18[10]INFO :Si-6.15:FORTS Фьючерсы: Add command RtOpenbyEq signal=SE_Long
17:18:36.18[10]DEBUG:Added command approve='True' comment='Вход по условию'
17:18:36.18[10]INFO :Si-6.15:FORTS Фьючерсы: Add command RtOpenbyEq signal=LE_Short
17:18:36.18[10]DEBUG:Added command approve='True' comment='Вход по условию'
17:18:36.19[10]DEBUG:RtUpdateWindows: Name='Hi-Lo_Combine_Trend' IsStarted=True IsStateChanging=False
17:18:36.19[10]INFO :127:Info:Script:(Context:TSLab.ScriptEngine.TemplateContext)(Script:21-3):Агент '21-3': Скрипт выполнен успешно за 9мс. (443 баров, время 21.05.2015 17:14:00)
17:18:36.19[10]INFO :Скрипт выполнен успешно за 9мс. (443 баров, время 21.05.2015 17:14:00)
17:18:36.19[10]DEBUG:FindActiveOrder for SE_Long is found order id=233093652, A=True, EX=False
17:18:36.19[10]INFO :Si-6.15:FORTS Фьючерсы: Check moving order 233093652: price 50129->50129=0, qty 5->5=0
17:18:36.19[10]DEBUG:FindActiveOrder for LE_Short is found order id=233093116, A=True, EX=False
17:18:36.19[10]INFO :Si-6.15:FORTS Фьючерсы: Check moving order 233093116: price 50480->50480=0, qty 5->5=0
17:18:48.87[30]DEBUG:[Quik] Connection status is Соединение разорвано. Code=QuikDisconnected(0)
17:18:48.87[30]INFO :[OpenQuik] New state: Loading, Old state: Connected
17:18:48.87[30]DEBUG:Datasource for '21-3' is connected. Cache contains 10 positions.
17:18:48.87[30]DEBUG:Datasource for '21-3' is connected. Cache contains 2 positions.
17:18:55.05[20]DEBUG:State 14. Bar is closed for Si-6.15:FORTS Фьючерсы, but no trades. Last: 05/21/2015 17:14:00, Interval: 1M, Server: 05/21/2015 17:18:55
17:19:08.58[MQ<NiTradeData>]INFO :Try to update server time from 05/21/2015 17:19:08 to 05/21/2015 17:14:13
17:19:10.65[20]DEBUG:State 15. Bar is closed for Si-6.15:FORTS Фьючерсы, but no trades. Last: 05/21/2015 17:14:00, Interval: 1M, Server: 05/21/2015 17:19:10
17:19:10.65[14]DEBUG:New RealtimePositionList was created for Si-6.15. Agent='21-3'. ForgateDate=05/21/2015 17:18:09
17:19:10.66[14]INFO :Can't replace commands because orders was updated!
17:19:10.66[14]DEBUG:RtUpdateWindows: Name='Hi-Lo_Combine_Trend' IsStarted=True IsStateChanging=False
17:19:10.66[14]INFO :127:Info:Script:(Context:TSLab.ScriptEngine.TemplateContext)(Script:21-3):Агент '21-3': Скрипт выполнен успешно за 10мс. (443 баров, время 21.05.2015 17:14:00)
17:19:10.66[14]INFO :Скрипт выполнен успешно за 10мс. (443 баров, время 21.05.2015 17:14:00)
17:19:14.04[30]DEBUG:[Quik] Connection status is . Code=QuikConnected(0)
17:19:14.04[30]DEBUG:[Quik] NI connected=True Quik loaded=True, Quik connected=True, Accounts=5, oldState=Loading
17:19:14.04[30]INFO :[OpenQuik] New state: Connected, Old state: Loading
17:19:14.04[30]INFO :[PreTrade] Pretrade settings is changed. Watchers = 0.
17:19:14.04[30]DEBUG:Datasource for '21-3' is connected. Cache contains 10 positions.
17:19:14.07[30]INFO :Si-6.15:FORTS Фьючерсы: Orders has been updated for '21-3', 19 total, 3 active. From 167 PO and 33 PT. Positions=10
17:19:14.07[30]DEBUG:Datasource for '21-3' is connected. Cache contains 2 positions.
17:19:14.17[30]INFO :Si-6.15:FORTS Фьючерсы: Orders has been updated for '21-3', 2 total, 2 active. From 2 PO and 0 PT. Positions=2
17:19:14.18[30]DEBUG:State 14. Data source was loaded completly. Reinitalization is needed.
17:19:14.18[30]DEBUG:State 15. Data source was loaded completly. Reinitalization is needed.
17:19:14.21[1]INFO :1:Info:DataSource:(DSName:OpenQuik):Вы подключились к поставщику данных 'OpenQuik'
17:19:14.71[9]DEBUG:State 14. Reinitialize: Starting...
17:19:14.71[9]DEBUG:State 14. Detach update to 'Si-6.15:FORTS Фьючерсы'
17:19:14.72[18]DEBUG:State 15. Reinitialize: Starting...
17:19:14.72[18]DEBUG:State 15. Detach update to 'Si-6.15:FORTS Фьючерсы'
17:19:14.76[9]DEBUG:State 16. Initialization is started.
17:19:14.76[9]DEBUG:GetMinuteBars for Si-6.15 interval=1 from=05/20/2015 23:30:00 to 05/23/2015 00:02:00
17:19:14.76[9]DEBUG:Wait to clear tasks for Si-6.15:FORTS Фьючерсы:1M.
17:19:16.79[18]ERROR:Ошибка при системном вызове. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED))
System.Runtime.InteropServices.COMException (0x80010100): Ошибка при системном вызове. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED))
at NiApiLib.TableClass.DeleteUpdateFilter(Int32 FilterId)
at TSLab.NetInvestorDataSource.TableWithSecurity.<UpdateFilter>b__5(Int32 id)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at TSLab.NetInvestorDataSource.TableWithSecurity.UpdateFilter(IList`1 secs)
at TSLab.NetInvestorDataSource.Subscriber.<UpdateFilter>b__7(TableWithSecurity tbl)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at TSLab.NetInvestorDataSource.Subscriber.UpdateFilter()
17:19:16.79[18]DEBUG:State 17. Initialization is started.
17:19:16.80[18]DEBUG:GetMinuteBars for Si-6.15 interval=1 from=05/20/2015 23:30:00 to 05/23/2015 00:02:00
17:19:16.80[18]DEBUG:Wait to clear tasks for Si-6.15:FORTS Фьючерсы:1M.
17:19:18.77[9]DEBUG:Tasks for Si-6.15:FORTS Фьючерсы:1M is cleared.
17:19:18.77[18]DEBUG:Tasks for Si-6.15:FORTS Фьючерсы:1M is cleared.
17:19:18.77[9]DEBUG:Make new task for Si-6.15:FORTS Фьючерсы interval 1M '05/20/2015 23:30:00':'05/23/2015 00:02:00'
17:19:18.77[9]DEBUG:Send request for Si-6.15:FORTS Фьючерсы reset True interval 1M '05/20/2015 17:07:00':'05/23/2015 00:02:00'
17:19:18.77[9]DEBUG:Set dateTo=03/02/2015 10:00:00 for Si-6.15:FORTS Фьючерсы becouse last bar date=05/21/2015 17:08:00
17:19:18.77[9]DEBUG:Try to send bars request for Si-6.15:FORTS Фьючерсы from=05/20/2015 17:07:00 to=03/02/2015 10:00:00
17:19:18.77[18]DEBUG:Make new task for Si-6.15:FORTS Фьючерсы interval 1M '05/20/2015 23:30:00':'05/23/2015 00:02:00'
17:19:18.77[18]DEBUG:Send request for Si-6.15:FORTS Фьючерсы reset True interval 1M '05/20/2015 17:07:00':'05/23/2015 00:02:00'
17:19:18.77[9]DEBUG:GetMinuteBars end for Si-6.15 interval=1 from=05/20/2015 23:30:00 to 05/23/2015 00:02:00
17:19:18.77[18]DEBUG:Set dateTo=03/02/2015 10:00:00 for Si-6.15:FORTS Фьючерсы becouse last bar date=05/21/2015 17:08:00
17:19:18.77[18]DEBUG:Try to send bars request for Si-6.15:FORTS Фьючерсы from=05/20/2015 17:07:00 to=03/02/2015 10:00:00
17:19:18.77[18]DEBUG:GetMinuteBars end for Si-6.15 interval=1 from=05/20/2015 23:30:00 to 05/23/2015 00:02:00