﻿<?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">Наследники ProtectiveStrategy</title>
  <id>~/topic/1963/nasledniki-protectivestrategy/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-04T03:56:54Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=1963" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/11779/</id>
    <title type="text">Я имел ввиду что для построения StopLossStrategy (как мне кажется) стакан то как раз и не нужен. Ну ...</title>
    <published>2011-09-30T10:24:07Z</published>
    <updated>2011-09-30T10:24:07Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Я имел ввиду что для построения StopLossStrategy (как мне кажется) стакан то как  раз и не нужен. &lt;br /&gt;Ну скорее всего я чет не понял опять) Спасибо)</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11778/</id>
    <title type="text">Ок. Спасибо) Но мне вот как то показалось странным что стандартная StopLossStrategy использует стака...</title>
    <published>2011-09-30T10:22:07Z</published>
    <updated>2011-09-30T10:22:07Z</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/11777/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Ок. Спасибо)&lt;br /&gt;Но мне вот как то показалось странным что стандартная StopLossStrategy использует стакан. Мне для написания своей StopLossStrategy хватило правил &lt;br /&gt;Security.LastTradePriceLessAbsolute(stopPrice) и Security.LastTradePriceMoreAbsolute(stopPrice)&lt;br /&gt;Или эти правила как раз за стаканом и следят?&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/11777/</id>
    <title type="text">Ок. Спасибо) Но мне вот как то показалось странным что стандартная StopLossStrategy использует стака...</title>
    <published>2011-09-30T10:14:30Z</published>
    <updated>2011-09-30T10:14:30Z</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 использует стакан. Мне для написания своей StopLossStrategy хватило правил &lt;br /&gt;Security.LastTradePriceLessAbsolute(stopPrice) и Security.LastTradePriceMoreAbsolute(stopPrice)&lt;br /&gt;Или эти правила как раз за стаканом и следят?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11776/</id>
    <title type="text">Просто хотелось бы создавать стратегии в рамках стандартной иерархии классов, а сами механизмы не оч...</title>
    <published>2011-09-30T10:07:40Z</published>
    <updated>2011-09-30T10:07:40Z</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/11775/" 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;На codeplex \ в доке.&lt;br /&gt;Да, верно. Вначале - NeedRegister, потом - GetNewPrice</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11775/</id>
    <title type="text">Просто хотелось бы создавать стратегии в рамках стандартной иерархии классов, а сами механизмы не оч...</title>
    <published>2011-09-30T10:04:47Z</published>
    <updated>2011-09-30T10:04: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;Не где случайно нельзя посмотреть примеры? Ну или описание ?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11774/</id>
    <title type="text">Так. Я правильно понимаю, что в ProtectiveStrategy уже заложены алгоритмы отслеживания стакана и есл...</title>
    <published>2011-09-30T10:01:38Z</published>
    <updated>2011-09-30T10:01:38Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Так. Я правильно понимаю, что в ProtectiveStrategy уже заложены алгоритмы отслеживания стакана и если она &amp;quot;решит&amp;quot; выставить заявку по цене GetNewPrice() то с начало будет вызван метод NeedRegister() и если он вернет true, то заявка будет выставлена?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11773/</id>
    <title type="text">Прост у меня получается так, что мой наследник ProtectiveStrategy пытается выставить какие то заявки...</title>
    <published>2011-09-30T09:56:55Z</published>
    <updated>2011-09-30T09:56:55Z</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/11772/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Прост у меня получается так, что мой наследник ProtectiveStrategy пытается выставить какие то заявки , кроме тех что я выставляю своим алгоритмом. И информация об этом выводиться в лог. &lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;ProtectiveStrategy - это котирование!&lt;br /&gt;вам не надо самому выставлять заявки.&lt;br /&gt;&lt;br /&gt;Необходимо при желании переопределить NeedRegister и GetNewPrice. В идеале - всё.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11772/</id>
    <title type="text">Прост у меня получается так, что мой наследник ProtectiveStrategy пытается выставить какие то заявки...</title>
    <published>2011-09-30T09:54:09Z</published>
    <updated>2011-09-30T09:54:09Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Прост у меня получается так, что мой наследник ProtectiveStrategy пытается выставить какие то заявки , кроме тех что я выставляю своим алгоритмом. И информация об этом выводиться в лог. </content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11770/</id>
    <title type="text">Да, а тот в свою очередь - от QuotingStrategy. ProtectiveStrategy кстати ничего не реализует особенн...</title>
    <published>2011-09-30T09:50:03Z</published>
    <updated>2011-09-30T09:50:03Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.ru/users/2826/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Да, а тот в свою очередь - от QuotingStrategy.&lt;br /&gt;&lt;br /&gt;ProtectiveStrategy кстати ничего не реализует особенного, никаких действий не добавляет.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11768/</id>
    <title type="text"> жесть!!!) Ну хотя ... Не так уж там много переопределять... А как же тогда стандартный класс StopLo...</title>
    <published>2011-09-30T09:43:54Z</published>
    <updated>2011-09-30T09:43:54Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">[scared] жесть!!!)&lt;br /&gt;Ну хотя ... Не так уж там много переопределять...&lt;br /&gt;А как же тогда стандартный класс StopLossStrategy  от  ProtectiveStrategy наследуется?&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/11765/</id>
    <title type="text">При наследовании от класса ProtectiveStrategy кроме моих реализованных алгоритмов выставления заявок...</title>
    <published>2011-09-30T09:40:39Z</published>
    <updated>2011-09-30T09:40:39Z</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/11758/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;При наследовании от класса ProtectiveStrategy кроме моих реализованных алгоритмов выставления заявок, выполняются еще какие то(видимо которые были определены в ProtectiveStrategy).&lt;br /&gt;В связи с этим вопрос : Какие механизмы защиты уже заложены в классе ProtectiveStrategy?&lt;br /&gt;И если я хочу создать свою StopLossStrategy от какого класса мне лучше наследоваться?&lt;br /&gt;Спасибо.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;От Strategy.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/11758/</id>
    <title type="text">При наследовании от класса ProtectiveStrategy кроме моих реализованных алгоритмов выставления заявок...</title>
    <published>2011-09-30T08:26:16Z</published>
    <updated>2011-09-30T08:26:16Z</updated>
    <author>
      <name>frontman</name>
      <uri>https://stocksharp.ru/users/28487/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">При наследовании от класса ProtectiveStrategy кроме моих реализованных алгоритмов выставления заявок, выполняются еще какие то(видимо которые были определены в ProtectiveStrategy).&lt;br /&gt;В связи с этим вопрос : Какие механизмы защиты уже заложены в классе ProtectiveStrategy?&lt;br /&gt;И если я хочу создать свою StopLossStrategy от какого класса мне лучше наследоваться?&lt;br /&gt;Спасибо.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>