﻿<?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">Прекращение получения данных при остановки дочерних стратегий</title>
  <id>~/topic/1964/prekrashshenie-polucheniya-dannyh-pri-ostanovki-dochernih-strategii/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-04T04:14:52Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=1964" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/11803/</id>
    <title type="text">Пробуйте 4.0.1 dll с codeplex и новую плазу. Вот сейчас собираю как раз)</title>
    <published>2011-09-30T13:10:35Z</published>
    <updated>2011-09-30T13:10:35Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Alexander &lt;a href="https://stocksharp.ru/posts/m/11801/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Пробуйте 4.0.1 dll с codeplex и новую плазу.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Вот сейчас собираю как раз)</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11802/</id>
    <title type="text">Раз у вас таких проблем не наблюдается знач пойду руки себе выпрямлять...</title>
    <published>2011-09-30T13:09:34Z</published>
    <updated>2011-09-30T13:09:34Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Раз  у вас таких проблем не наблюдается знач пойду руки себе выпрямлять...</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11801/</id>
    <title type="text">Пробуйте 4.0.1 dll с codeplex и новую плазу.</title>
    <published>2011-09-30T13:08:24Z</published>
    <updated>2011-09-30T13:08:24Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.ru/users/2826/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Пробуйте 4.0.1 dll с codeplex и новую плазу.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11800/</id>
    <title type="text">Только останавливаю я дочернею стратегию. А данные перестают поступать вообще. Т.е. передача данных ...</title>
    <published>2011-09-30T13:07:54Z</published>
    <updated>2011-09-30T13:07:54Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Только останавливаю я дочернею стратегию. А данные перестают поступать вообще.&lt;br /&gt;Т.е. передача данных встает на ITrader</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11799/</id>
    <title type="text">Да. Я так и делаю. Как я и описывал ранее: Вещь странная и мне не понятная) Т.е. Есть стратегия в не...</title>
    <published>2011-09-30T13:06:32Z</published>
    <updated>2011-09-30T13:06:32Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Да. Я так и делаю. Как я и описывал ранее:&lt;br /&gt;&lt;br /&gt;&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;frontman &lt;a href="https://stocksharp.ru/posts/m/11780/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Вещь странная и мне не понятная)&lt;br /&gt;Т.е. Есть стратегия в ней постоянно обрабатывается стакан, и в этой стратегии применяются защитные стратегии в частности StopLossStrategy. При остановки одной из дочерних стратегий получение данных основной стратегией да и вообще   &lt;br /&gt;PlazaTrader останавливается...&lt;br /&gt;Я думал это из за ошибки внутри самой StopLossStrategy. создал свою защитную стратегию. Все равно эффект тот же. Притом если останавливать мою стратегию вот так&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
this.When(Security.LastTradePriceLessAbsolute(stopPrice))
                    .Do(() =&amp;gt;
                            {
                               ...
                                Stop();
                            })
                    .Once();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Данные не перестают поступать. А если так&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
 this.When(this.StrategyNewOrder())
                .Do(Stop)
                .Once();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;То перестают)&lt;br /&gt;В чем проблема может быть не знаете?&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11798/</id>
    <title type="text">Остановиться правило а не стратегия. Я вот о чем. Вы вызываете метод Stop(); и останавливаете сами с...</title>
    <published>2011-09-30T13:04:56Z</published>
    <updated>2011-09-30T13:04:56Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.ru/users/2826/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;frontman &lt;a href="https://stocksharp.ru/posts/m/11797/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Остановиться правило а не стратегия. Я вот о чем.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Вы вызываете метод Stop(); и останавливаете сами стратегию. Своими руками. Внутри правила.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11797/</id>
    <title type="text">Остановиться правило а не стратегия. Я вот о чем.</title>
    <published>2011-09-30T12:59:49Z</published>
    <updated>2011-09-30T12:59:49Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Остановиться правило а не стратегия. Я вот о чем.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11792/</id>
    <title type="text">Хм... Оставить ее запущенной.. Хм.. Ресурсы ни как кушать не будет? Once - от английского слова един...</title>
    <published>2011-09-30T12:43:43Z</published>
    <updated>2011-09-30T12:43:43Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.ru/users/2826/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;frontman &lt;a href="https://stocksharp.ru/posts/m/11789/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Хм... Оставить ее запущенной.. Хм..&lt;br /&gt;Ресурсы ни как кушать не будет?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Once - от английского слова единожды. Остановится само.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11789/</id>
    <title type="text">Хм... Оставить ее запущенной.. Хм.. Ресурсы ни как кушать не будет?</title>
    <published>2011-09-30T12:28:57Z</published>
    <updated>2011-09-30T12:28:57Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Хм... Оставить ее запущенной.. Хм..&lt;br /&gt;Ресурсы ни как кушать не будет?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11787/</id>
    <title type="text">Не вызывайте Stop для дочерней стратегии. Там делается Once()</title>
    <published>2011-09-30T12:23:51Z</published>
    <updated>2011-09-30T12:23:51Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.ru/users/2826/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Не вызывайте Stop для дочерней стратегии. Там делается Once()</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11781/</id>
    <title type="text">Правда во внешней стратегии так же навешано правило на StopLossStrategy.StrategyNewOrder(). Может из...</title>
    <published>2011-09-30T11:05:57Z</published>
    <updated>2011-09-30T11:05:57Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Правда во внешней стратегии так же навешано правило на StopLossStrategy.StrategyNewOrder().&lt;br /&gt;Может из за этого че то?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11780/</id>
    <title type="text">Вещь странная и мне не понятная) Т.е. Есть стратегия в ней постоянно обрабатывается стакан, и в этой...</title>
    <published>2011-09-30T11:02:47Z</published>
    <updated>2011-09-30T11:02:47Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Вещь странная и мне не понятная)&lt;br /&gt;Т.е. Есть стратегия в ней постоянно обрабатывается стакан, и в этой стратегии применяются защитные стратегии в частности StopLossStrategy. При остановки одной из дочерних стратегий получение данных основной стратегией да и вообще   &lt;br /&gt;PlazaTrader останавливается...&lt;br /&gt;Я думал это из за ошибки внутри самой StopLossStrategy. создал свою защитную стратегию. Все равно эффект тот же. Притом если останавливать мою стратегию вот так&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
this.When(Security.LastTradePriceLessAbsolute(stopPrice))
                    .Do(() =&amp;gt;
                            {
                               ...
                                Stop();
                            })
                    .Once();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Данные не перестают поступать. А если так&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
 this.When(this.StrategyNewOrder())
                .Do(Stop)
                .Once();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;То перестают)&lt;br /&gt;В чем проблема может быть не знаете?&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>