﻿<?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">Тестирование на большом периоде, баг?</title>
  <id>~/topic/1561/testirovanie-na-bolshom-periode-bag/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-17T12:44:59Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=1561" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/7856/</id>
    <title type="text">Добрый день. Тестирую множество стратегий, которые отличаются несколькими параметрами значением сред...</title>
    <published>2011-05-03T14:28:19Z</published>
    <updated>2016-07-28T18:21:30Z</updated>
    <author>
      <name>esper</name>
      <uri>https://stocksharp.com/users/5990/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Добрый день.&lt;/p&gt;
&lt;p&gt;Тестирую множество стратегий, которые отличаются несколькими параметрами значением средней, смещением и т.д. Тикер, таймфрейм и период тестирования не отличаются, тестирую на исторических данных примерно за 6  лет.&lt;/p&gt;
&lt;p&gt;За основу взял пример SampleHistoryTesting, менял только часть с созданием и добавлением стратегии в StrategyManager (добавляется не одна, а множество стратегий).&lt;/p&gt;
&lt;p&gt;Через небольшое время после начала тестирования, программа довольно стабильно падает, CallStack примерно следующий
&lt;img src="/file/101502/Xaml.zip" alt="" /&gt;&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/7875/</id>
    <title type="text">На другом компьютере такой ситуации не возникает[confused] </title>
    <published>2011-05-04T11:28:54Z</published>
    <updated>2011-05-04T11:28:54Z</updated>
    <author>
      <name>esper</name>
      <uri>https://stocksharp.com/users/5990/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;На другом компьютере такой ситуации не возникает[confused]&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/7869/</id>
    <title type="text">Если бы можно было, скопировал бы, а так падает основательно. Единственное что удалось посмотреть, э...</title>
    <published>2011-05-04T02:30:53Z</published>
    <updated>2011-05-04T02:30:53Z</updated>
    <author>
      <name>esper</name>
      <uri>https://stocksharp.com/users/5990/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Если бы можно было, скопировал бы, а так падает основательно. Единственное что удалось посмотреть, это стек-трейс потока StrategyManager, скрин которого я приводил, ошибка при этом была №1, в студии открывалось окно с текстом сообщения и парой кнопок, стек-трейса и детального описания ошибки там не было.&lt;/p&gt;
&lt;p&gt;Сегодня проверю на другом компьютере, посмотрим что будет.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/7861/</id>
    <title type="text">esper: Сообщения бывает 2: An unhandled exception of type &amp;apos;System.ExecutionEngineException&amp;apos; occurred...</title>
    <published>2011-05-03T17:42:05Z</published>
    <updated>2011-05-03T17:42:05Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="@message(7859)" rel="nofollow" target="_blank"&gt;esper&lt;/a&gt;:&lt;/strong&gt;
Сообщения бывает 2:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The runtime has encountered a fatal error. The address of the error was at 0x791f7e06, on thread 0xbfc. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;Можете привести ошибку + ее стек трейс? Сейчас не понятно, к какой именно ошибке относиться тот стей трейс. И да, его можно копировать текстом, как и саму ошибку.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/7859/</id>
    <title type="text">Сообщения бывает 2: An unhandled exception of type &amp;apos;System.ExecutionEngineException&amp;apos; occurred in msc...</title>
    <published>2011-05-03T15:42:30Z</published>
    <updated>2011-05-03T15:51:17Z</updated>
    <author>
      <name>esper</name>
      <uri>https://stocksharp.com/users/5990/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Сообщения бывает 2:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The runtime has encountered a fatal error. The address of the error was at 0x791f7e06, on thread 0xbfc. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/7857/</id>
    <title type="text">esper: Через небольшое время после начала тестирования, программа довольно стабильно падает, CallSta...</title>
    <published>2011-05-03T14:35:34Z</published>
    <updated>2011-05-03T14:35:34Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="@message(7856)" rel="nofollow" target="_blank"&gt;esper&lt;/a&gt;:&lt;/strong&gt;
Через небольшое время после начала тестирования, программа довольно стабильно падает, CallStack примерно следующий&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;А сам текст ошибки?&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>