Скачал 4.2.2 в SampleHistoryTesting, хотел потестировать как теперь тестер работает со стаканами,
поменял : var timeFrame = TimeSpan.FromMilliseconds(10);
трейдер вылетает , вот что пишет в лог :
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Connect
0001/01/01 00:00:00.000| |HistoryEmulationTrader|RCM: Connecting PrevState = -1 CurrState = -1.
0001/01/01 00:00:00.000| |HistoryEmulationTrader|StartExport
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Connect,T=0001/01/01 00:00:00.000
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Portfolio,T=2014/01/10 19:19:48.441,Name=test account
2014/01/10 19:19:48.441|Debug |HistoryEmulationTrader|BP:Time,T=2013.10.01 00:00:00.000,ID=
2013/10/01 00:00:00.000| |HistoryEmulationTrader|RCM: Trader ConnectionState = Connected CurrState = Connected PrevState = -1
2013/10/01 00:00:00.000| |HistoryEmulationTrader|Создан новый портфель test account.
2014/01/10 19:19:48.538|Debug |#=qc_tQ9SI0DvMToFj2FKGvwm2v$yDNbhn_NJy85cgjG6s=| --> Security,T=2014/01/10 19:19:48.452,SecId=S#:RIZ3@FORTS, Native:
2013/10/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Security,T=2014/01/10 19:19:48.452,SecId=S#:RIZ3@FORTS, Native:
2014/01/10 19:19:48.452|Debug |HistoryEmulationTrader|BP:SecurityLookupResult,T=0001/01/01 00:00:00.000
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Изменение состояния эмуляции Stopped -> Starting
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Level1,T=2014/01/10 19:19:48.468,Sec=S#:RIZ3@FORTS, Native:,Changes=StepPrice=2,MinPrice=10,MaxPrice=1000000,MarginBuy=10000,MarginSell=10000
2014/01/10 19:19:48.468|Debug |HistoryEmulationTrader|BP:MarketData,T=0001/01/01 00:00:00.000,Sec=S#:RIZ3@FORTS, Native:,Types=MarketDepth
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Инструмент RIZ3@FORTS зарегистрирован на получение рыночных данных для MarketDepth.
2014/01/10 19:19:48.693|Debug |#=qc_tQ9SI0DvMToFj2FKGvwm2v$yDNbhn_NJy85cgjG6s=| --> Security,T=2014/01/10 19:19:48.658,SecId=S#:RIZ3@FORTS, Native:
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Изменение состояния эмуляции Starting -> Started
0001/01/01 02:00:00.000|Debug |SS_RIZ3@FORTS_test account|Переход из состояния Stopped в Started.
0001/01/01 02:00:00.000| |SS_RIZ3@FORTS_test account|Стратегия запущена. [0,-1]. Позиция при старте 0.
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:SecurityLookupResult,T=0001/01/01 00:00:00.000
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Portfolio,T=2014/01/10 19:19:48.658,Name=test account
2014/01/10 19:19:48.658|Debug |HistoryEmulationTrader|BP:Security,T=2014/01/10 19:19:48.658,SecId=S#:RIZ3@FORTS, Native:
2014/01/10 19:19:48.658|Debug |HistoryEmulationTrader|BP:Level1,T=2014/01/10 19:19:48.658,Sec=S#:RIZ3@FORTS, Native:,Changes=StepPrice=2,MinPrice=10,MaxPrice=1000000,MarginBuy=10000,MarginSell=10000
2014/01/10 19:19:48.658|Debug |HistoryEmulationTrader|BP:MarketData,T=0001/01/01 00:00:00.000,Sec=S#:RIZ3@FORTS, Native:,Types=Trades
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Инструмент RIZ3@FORTS зарегистрирован на получение рыночных данных для Trades.
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Connect,T=0001/01/01 00:00:00.000
2014/01/10 19:19:48.905| |HistoryMessageAdapter|Loading 01.10.2013 0:00:00 Events: 0
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:MarketDataError,T=0001/01/01 00:00:00.000,Error=Exception of type 'System.OutOfMemoryException' was thrown.
0001/01/01 00:00:00.000|Error |HistoryEmulationTrader|System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.Generic.List`1.set_Capacity(Int32 value)
at System.Collections.Generic.List`1.Add(T item)
at StockSharp.Algo.Testing.HistoryMessageAdapter.#=qrW$Q8LXYr0BMhWw22gu$8w==(DateTime #=qlDFDc7x9gBhsjDL_CPSTpw==)
at StockSharp.Algo.Storages.InMemoryMarketDataStorage`1.Load(DateTime date)
at StockSharp.Algo.Storages.InMemoryMarketDataStorage`1.#=qB4Y8x19uag8nNfdDhgwKkSBNgtQiXVNRdUhC6dBcmfLoxNuU1cZXavJ2_EH97BGwsUKNovDbqLY4coR$JXAHDg==(DateTime #=qLFAs8ib8LZXZprQU5_t6eg==)
at StockSharp.Algo.Storages.BasketMarketDataStorage.Load(DateTime date)
at StockSharp.Algo.Testing.HistoryMessageAdapter.#=qC0_SrmH7qtAHMJZD2oNPFg==()
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Изменение состояния эмуляции Stopped -> Stopping
0001/01/01 00:00:00.000|Debug |HistoryEmulationTrader|BP:Disconnect,T=0001/01/01 00:00:00.000
0001/01/01 00:00:00.000|Error |HistoryEmulationTrader|System.InvalidOperationException: Подключение в состоянии Connected получило неожиданное сообщение типа 'DisconnectMessage'.
0001/01/01 00:00:00.000| |HistoryEmulationTrader|Изменение состояния эмуляции Stopping -> Stopped