{"action":"closed","issue":{"url":"https://api.github.com/repos/StockSharp/StockSharp/issues/72","labels_url":"https://api.github.com/repos/StockSharp/StockSharp/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/StockSharp/StockSharp/issues/72/comments","events_url":"https://api.github.com/repos/StockSharp/StockSharp/issues/72/events","html_url":"https://github.com/StockSharp/StockSharp/issues/72","id":73876314,"number":72,"title":"Ошибка при импорте данных в Гирде","user":{"login":"Sergey-Dvortsov","id":10364235,"avatar_url":"https://avatars.githubusercontent.com/u/10364235?v=3","gravatar_id":"","url":"https://api.github.com/users/Sergey-Dvortsov","html_url":"https://github.com/Sergey-Dvortsov","followers_url":"https://api.github.com/users/Sergey-Dvortsov/followers","following_url":"https://api.github.com/users/Sergey-Dvortsov/following{/other_user}","gists_url":"https://api.github.com/users/Sergey-Dvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/Sergey-Dvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sergey-Dvortsov/subscriptions","organizations_url":"https://api.github.com/users/Sergey-Dvortsov/orgs","repos_url":"https://api.github.com/users/Sergey-Dvortsov/repos","events_url":"https://api.github.com/users/Sergey-Dvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/Sergey-Dvortsov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T07:16:29Z","updated_at":"2015-05-07T07:23:25Z","closed_at":"2015-05-07T07:23:25Z","body":"При импорте инструментов в Гидре возникает ошибка \"Cannot convert Stock to System.Decimal\"\r\n\r\n![import_err](https://cloud.githubusercontent.com/assets/10364235/7510185/151fa080-f4a2-11e4-90df-1857064d331d.png)\r\n\r\nДанные файла для импорта:\r\n \r\nInst1;Board1;Name1;1;1;Stock\r\nInst2;Board2;Name2;10;1;Future\r\n\r\nЛог:\r\n\r\n10:12:24.694|Error  |S#.Data (Hydra)|System.InvalidCastException: Cannot convert Stock to System.Decimal. ---> System.FormatException: Входная строка имела неверный формат.\r\n   в System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)\r\n   в System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)\r\n   в System.Decimal.Parse(String s, NumberStyles style, IFormatProvider provider)\r\n   в Ecng.Common.Converter.To(Object value, Type destinationType)\r\n   --- Конец трассировки внутреннего стека исключений ---\r\n   в Ecng.Common.Converter.To(Object value, Type destinationType)\r\n   в StockSharp.Hydra.Panes.ImportPane.FieldMapping.ApplyValue(Object instance, Object value)\r\n   в StockSharp.Hydra.Panes.ImportPane.FieldMapping.ApplyFileValue(Object instance, String value)\r\n   в CallSite.Target(Closure , CallSite , FieldMapping , Object , String )\r\n   в StockSharp.Hydra.Panes.ImportPane.<>c__DisplayClass18e.<OnDoWork>b__18d()\r\n   в Ecng.Common.Converter.<>c__DisplayClassf.<DoInCulture>b__e()\r\n   в Ecng.Common.Converter.DoInCulture[T](CultureInfo cultureInfo, Func`1 func)\r\n   в Ecng.Common.Converter.DoInCulture(CultureInfo cultureInfo, Action action)\r\n   в StockSharp.Hydra.Panes.ImportPane.OnDoWork(Object sender, DoWorkEventArgs e)\r\n   в System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)\r\n   в System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)\r\n"}}