﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Ошибки при работе с Alfa-Direct</title>
  <id>~/topic/5244/oshibki-pri-rabote-s-alfa-direct/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-05-02T09:58:50Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=5244" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/34263/</id>
    <title type="text">Добрый день! Есть проблема: Гидра при работе c Alfa-Direct постоянно сыпет ошибками. Данные не скачи...</title>
    <published>2016-02-15T15:03:17Z</published>
    <updated>2016-02-15T15:12:30Z</updated>
    <author>
      <name>Shadance</name>
      <uri>https://stocksharp.com/users/95012/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Добрый день!&lt;br /&gt;Есть проблема: Гидра при работе c Alfa-Direct постоянно сыпет ошибками.&lt;br /&gt;Данные не скачивает.&lt;br /&gt;Привожу куски с ошибками вырезки из лога, в основном ошибки постоянно повторяются&lt;br /&gt;Полный лог весит более 100мб.&lt;br /&gt;Гидра была установлена через автообновление из раздела download сайта.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:plain"&gt;
15:10:56.641|Error  |AlfaDirect|error getting value curr_code=(CurrencyTypes)columns[14], count=17, str=, error=System.InvalidCastException: Cannot convert  to StockSharp.Messages.CurrencyTypes. ---&amp;gt; System.ArgumentException: Требуется задать действительную информацию для разбора данной строки.
   в System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   в System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult&amp;amp; parseResult)
   в System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   --- Конец трассировки внутреннего стека исключений ---
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   в Ecng.Common.Converter.To[T](Object value)
   в StockSharp.AlfaDirect.Native.FieldList.FieldCurrency.GetValueInternal(String str)
   в StockSharp.AlfaDirect.Native.FieldList.Field`1.GetValue(String[] columns)
15:10:56.642|Error  |AlfaDirect|error getting value curr_code=(CurrencyTypes)columns[14], count=17, str=, error=System.InvalidCastException: Cannot convert  to StockSharp.Messages.CurrencyTypes. ---&amp;gt; System.ArgumentException: Требуется задать действительную информацию для разбора данной строки.
   в System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   в System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult&amp;amp; parseResult)
   в System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   --- Конец трассировки внутреннего стека исключений ---
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   в Ecng.Common.Converter.To[T](Object value)
   в StockSharp.AlfaDirect.Native.FieldList.FieldCurrency.GetValueInternal(String str)
   в StockSharp.AlfaDirect.Native.FieldList.Field`1.GetValue(String[] columns)
15:10:56.642|Error  |AlfaDirect|error getting value curr_code=(CurrencyTypes)columns[14], count=17, str=, error=System.InvalidCastException: Cannot convert  to StockSharp.Messages.CurrencyTypes. ---&amp;gt; System.ArgumentException: Требуется задать действительную информацию для разбора данной строки.
   в System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   в System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult&amp;amp; parseResult)
   в System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   --- Конец трассировки внутреннего стека исключений ---
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   в Ecng.Common.Converter.To[T](Object value)
   в StockSharp.AlfaDirect.Native.FieldList.FieldCurrency.GetValueInternal(String str)
   в StockSharp.AlfaDirect.Native.FieldList.Field`1.GetValue(String[] columns)
15:10:56.642|Error  |AlfaDirect|error getting value curr_code=(CurrencyTypes)columns[14], count=17, str=, error=System.InvalidCastException: Cannot convert  to StockSharp.Messages.CurrencyTypes. ---&amp;gt; System.ArgumentException: Требуется задать действительную информацию для разбора данной строки.
   в System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   в System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult&amp;amp; parseResult)
   в System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   --- Конец трассировки внутреннего стека исключений ---
17:11:06.809|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
17:11:06.809|Error  |AlfaDirect|System.InvalidOperationException: Subscribed
17:11:06.809|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
17:11:06.809|Error  |AlfaDirect|System.InvalidOperationException: Subscribed

18:10:26.724|Error  |AlfaTrader|System.InvalidOperationException: Не найден place_code для запроса свечек.
   в StockSharp.AlfaDirect.Native.AlfaWrapper.LookupCandles(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.ProcessMarketDataMessage(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.OnSendInMessage(Message message)
   в StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
18:10:26.724|Error  |AlfaDirect|System.InvalidOperationException: Не найден place_code для запроса свечек.
   в StockSharp.AlfaDirect.Native.AlfaWrapper.LookupCandles(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.ProcessMarketDataMessage(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.OnSendInMessage(Message message)
   в StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
18:10:26.787|Error  |AlfaDirect|StockSharp.AlfaDirect.AlfaException: Код ошибки stcClientError Сообщение Не найден такой инструмент.
   в StockSharp.AlfaDirect.Native.AlfaWrapper.ThrowInError(tagStateCodes code, String message)
   в StockSharp.AlfaDirect.Native.AlfaWrapper.LookupCandles(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.ProcessMarketDataMessage(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.OnSendInMessage(Message message)
   в StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
18:10:26.787|Error  |AlfaTrader|StockSharp.AlfaDirect.AlfaException: Код ошибки stcClientError Сообщение Не найден такой инструмент.
   в StockSharp.AlfaDirect.Native.AlfaWrapper.ThrowInError(tagStateCodes code, String message)
   в StockSharp.AlfaDirect.Native.AlfaWrapper.LookupCandles(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.ProcessMarketDataMessage(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.OnSendInMessage(Message message)
   в StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
18:10:26.787|Error  |AlfaDirect|StockSharp.AlfaDirect.AlfaException: Код ошибки stcClientError Сообщение Не найден такой инструмент.
   в StockSharp.AlfaDirect.Native.AlfaWrapper.ThrowInError(tagStateCodes code, String message)
   в StockSharp.AlfaDirect.Native.AlfaWrapper.LookupCandles(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.ProcessMarketDataMessage(MarketDataMessage message)
   в StockSharp.AlfaDirect.AlfaDirectMessageAdapter.OnSendInMessage(Message message)
   в StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
18:10:26.787|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaDirect|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaDirect|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaDirect|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaDirect|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaTrader|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaDirect|System.InvalidOperationException: Subscribed
18:10:26.787|Error  |AlfaTrader|System.InvalidOperationException: Subscribed

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>