﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">SampleHistoryTesting</title>
  <id>~/topic/14845/samplehistorytesting/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-07T19:58:36Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=14845" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/54395/</id>
    <title type="text">Если в примере выбрать finam(свечи) то ошибка: System.InvalidOperationException HResult=0x80131509 С...</title>
    <published>2020-12-16T19:37:05Z</published>
    <updated>2020-12-16T19:37:05Z</updated>
    <author>
      <name>VladOA</name>
      <uri>https://stocksharp.ru/users/5989/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Если в примере выбрать finam(свечи) то ошибка: &lt;br /&gt;&lt;br /&gt;System.InvalidOperationException&lt;br /&gt;  HResult=0x80131509&lt;br /&gt;  Сообщение = Sequence contains no elements&lt;br /&gt;  Источник = System.Linq&lt;br /&gt;  Трассировка стека:&lt;br /&gt;   at System.Linq.ThrowHelper.ThrowNoElementsException()&lt;br /&gt;   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)&lt;br /&gt;   at StockSharp.Algo.Testing.BaseEmulationConnector.get_EmulationAdapter()&lt;br /&gt;   at SampleHistoryTesting.MainWindow.StartBtnClick(Object sender, RoutedEventArgs e) in D:\(Inst)\Treding\ss\api\src\Samples\Testing\SampleHistoryTesting\MainWindow.xaml.cs:line 469&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   at System.Windows.Controls.Primitives.ButtonBase.OnClick()&lt;br /&gt;   at System.Windows.Controls.Button.OnClick()&lt;br /&gt;   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)&lt;br /&gt;   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)&lt;br /&gt;   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)&lt;br /&gt;   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)&lt;br /&gt;   at System.Windows.Input.InputManager.ProcessStagingArea()&lt;br /&gt;   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)&lt;br /&gt;   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)&lt;br /&gt;   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>