API 4.2.2.10. Ошибки при загрузке хранилища изменений инструментов
Код
2014-02-21 21:12:36,353 [30] ERROR - Ошибка при поднятии SecurityChangeStorage за 24.12.2013
System.InvalidOperationException: Неизвестное изменение -7 инструмента.
at #=qR6yHTgEwOvaICRK6kwkOHfTc6R7bKoxQTFJTvcFYnvZSap8e4XOlgCgnqCoghBA8HxjCe_slzjuHtfeh5M8ITw==.#=q4qbW0Tsv6LseqOQJsP1dgA==(#=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g== #=qUmzjAza7_DN7by_yC1tAZA==)
at #=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g==.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at AlgoTrading.Model.Core.MdvManagement.MdvBuilding.MarketDataToMdvConverter.Convert() in e:\AlgoTrading3.b173\SourceCode\Applications\AlgoTrading\Model\Core\MdvManagement\MdvBuilding\MarketDataToMdvConverter.cs:line 61
2014-02-21 21:12:36,369 [30] ERROR - Ошибка при поднятии SecurityChangeStorage за 25.12.2013
System.OverflowException: Value was either too large or too small for an Int32.
at System.Decimal.ToInt32(Decimal d)
at System.Decimal.op_Explicit(Decimal value)
at #=qR6yHTgEwOvaICRK6kwkOHfTc6R7bKoxQTFJTvcFYnvZSap8e4XOlgCgnqCoghBA8HxjCe_slzjuHtfeh5M8ITw==.#=q4qbW0Tsv6LseqOQJsP1dgA==(#=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g== #=qUmzjAza7_DN7by_yC1tAZA==)
at #=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g==.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at AlgoTrading.Model.Core.MdvManagement.MdvBuilding.MarketDataToMdvConverter.Convert() in e:\AlgoTrading3.b173\SourceCode\Applications\AlgoTrading\Model\Core\MdvManagement\MdvBuilding\MarketDataToMdvConverter.cs:line 61
2014-02-21 21:12:36,378 [30] ERROR - Ошибка при поднятии SecurityChangeStorage за 26.12.2013
System.InvalidOperationException: Неизвестное изменение 264797919 инструмента.
at #=qR6yHTgEwOvaICRK6kwkOHfTc6R7bKoxQTFJTvcFYnvZSap8e4XOlgCgnqCoghBA8HxjCe_slzjuHtfeh5M8ITw==.#=q4qbW0Tsv6LseqOQJsP1dgA==(#=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g== #=qUmzjAza7_DN7by_yC1tAZA==)
at #=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g==.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at AlgoTrading.Model.Core.MdvManagement.MdvBuilding.MarketDataToMdvConverter.Convert() in e:\AlgoTrading3.b173\SourceCode\Applications\AlgoTrading\Model\Core\MdvManagement\MdvBuilding\MarketDataToMdvConverter.cs:line 61
2014-02-21 21:12:36,388 [30] ERROR - Ошибка при поднятии SecurityChangeStorage за 27.12.2013
System.InvalidOperationException: Неизвестное изменение -2 инструмента.
at #=qR6yHTgEwOvaICRK6kwkOHfTc6R7bKoxQTFJTvcFYnvZSap8e4XOlgCgnqCoghBA8HxjCe_slzjuHtfeh5M8ITw==.#=q4qbW0Tsv6LseqOQJsP1dgA==(#=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g== #=qUmzjAza7_DN7by_yC1tAZA==)
at #=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g==.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at AlgoTrading.Model.Core.MdvManagement.MdvBuilding.MarketDataToMdvConverter.Convert() in e:\AlgoTrading3.b173\SourceCode\Applications\AlgoTrading\Model\Core\MdvManagement\MdvBuilding\MarketDataToMdvConverter.cs:line 61
2014-02-21 21:12:36,398 [30] ERROR - Ошибка при поднятии SecurityChangeStorage за 30.12.2013
System.InvalidOperationException: Неизвестное изменение -3 инструмента.
at #=qR6yHTgEwOvaICRK6kwkOHfTc6R7bKoxQTFJTvcFYnvZSap8e4XOlgCgnqCoghBA8HxjCe_slzjuHtfeh5M8ITw==.#=q4qbW0Tsv6LseqOQJsP1dgA==(#=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g== #=qUmzjAza7_DN7by_yC1tAZA==)
at #=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g==.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at AlgoTrading.Model.Core.MdvManagement.MdvBuilding.MarketDataToMdvConverter.Convert() in e:\AlgoTrading3.b173\SourceCode\Applications\AlgoTrading\Model\Core\MdvManagement\MdvBuilding\MarketDataToMdvConverter.cs:line 61
2014-02-21 21:12:36,411 [30] ERROR - Ошибка при поднятии SecurityChangeStorage за 06.01.2014
System.InvalidOperationException: Неизвестное изменение -1 инструмента.
at #=qR6yHTgEwOvaICRK6kwkOHfTc6R7bKoxQTFJTvcFYnvZSap8e4XOlgCgnqCoghBA8HxjCe_slzjuHtfeh5M8ITw==.#=q4qbW0Tsv6LseqOQJsP1dgA==(#=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g== #=qUmzjAza7_DN7by_yC1tAZA==)
at #=q2cJv1AcR5TpN5xg6T2Vd3_nWeWeLVviCYNn_YCvzD71J$BaY30yBbXg0LiRTAmzTl2csn1stTgySv0jbZZwS2g==.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at AlgoTrading.Model.Core.MdvManagement.MdvBuilding.MarketDataToMdvConverter.Convert() in e:\AlgoTrading3.b173\SourceCode\Applications\AlgoTrading\Model\Core\MdvManagement\MdvBuilding\MarketDataToMdvConverter.cs:line 61
Может лучше не кидать ошибки в этих случаях? А просто не подгружать изменения, которые не удалось считать?