Такая:
Код
System.InvalidCastException: Cannot convert to type System.Int32. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Ecng.Common.Converter.To(Object value, Type destinationType)
--- End of inner exception stack trace ---
at Ecng.Common.Converter.To(Object value, Type destinationType)
at Ecng.Common.Converter.To[T](Object value)
at #=q5LFANYN7f3iTeKX0XY37G3MCFh6ssDxJFds_xyC6mBT8nbyEKkE7EGKJf8YvuNDW..ctor(String #=qJAcLPT7jsEp595MqXaHx3w==)
at #=q2ZGMCiy28cSg5cVg$QB$7Ucjybv1FuvvcWRvooC9WRU=.#=qjmrpltWqpL3ImeA$C3BWVg==(String #=qm$yqmJ3MFC7x2fG0pjFjwQ==, #=q1fow$goWqZqbVKnLXSXeOU_$rSdBZ77AJOwvrMf6KAPP6jPIWUj_jRBWFI4nt70z #=qun_ai3TFv1I2$Cy1GDrY_Q==)
at #=qaacjxd231i3kLTD6zh8CIl4pIJ24UTUivm2pyzFcsfxYHuKy4YkyjopMIsU8GJOc.#=qwYgWw23ao5gW9BRjVk5ENg==(String #=qyqa8_9ieSoRx_OY0H60MTQ==)
Или такая:
Код
2013-11-13 02:25:32,261 [IQFeed response thread] ERROR - Trader ProcessDataError
System.InvalidCastException: Cannot convert to type System.Decimal. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToDecimal(String value, IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Ecng.Common.Converter.To(Object value, Type destinationType)
--- End of inner exception stack trace ---
at Ecng.Common.Converter.To(Object value, Type destinationType)
at Ecng.Common.Converter.To[T](Object value)
at #=qV8Nvcvcg4w$KVMDydP6IiGrOfSaQaZ68r63dk0H58wglE_ry5JaCz6f4yqXj7pn9G70yfl8Gq3x1plBdk1xPWQ==..ctor(String #=qKFjjhJd0czbMWE2KSwwYvg==)
at #=q2ZGMCiy28cSg5cVg$QB$7Ucjybv1FuvvcWRvooC9WRU=.#=qjmrpltWqpL3ImeA$C3BWVg==(String #=qm$yqmJ3MFC7x2fG0pjFjwQ==, #=q1fow$goWqZqbVKnLXSXeOU_$rSdBZ77AJOwvrMf6KAPP6jPIWUj_jRBWFI4nt70z #=qun_ai3TFv1I2$Cy1GDrY_Q==)
at #=qaacjxd231i3kLTD6zh8CIl4pIJ24UTUivm2pyzFcsfxYHuKy4YkyjopMIsU8GJOc.#=qwYgWw23ao5gW9BRjVk5ENg==(String #=qyqa8_9ieSoRx_OY0H60MTQ==)
Предполагаю, что на каждую сделку генерируется по такой ошибке: много таких ошибок. Может нужно региональные параметры задать? Качаю данные через S# API 4.1.19.1. IQFeed версии 5.1.0.5.