﻿<?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">BasketSecurity &amp; IndexSecurity ?</title>
  <id>~/topic/2847/basketsecurity--indexsecurity-/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-04T11:44:18Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=2847" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/20255/</id>
    <title type="text">А зачем плодить наследника IndexSecurity, если от родителя к нему добавлен всего один метод? Не прощ...</title>
    <published>2012-07-09T13:59:10Z</published>
    <updated>2012-07-09T13:59:10Z</updated>
    <author>
      <name>BigBen</name>
      <uri>https://stocksharp.ru/users/6302/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">А зачем плодить наследника IndexSecurity, если от родителя к нему добавлен всего один метод?&lt;br /&gt;Не проще ли было в BasketSecurity добавить этот метод?&lt;br /&gt;Чем проще, тем лучше.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/20254/</id>
    <title type="text">BasketSecurity является родителем для IndexSecurity. Пользоваться напрямую данными классами не получ...</title>
    <published>2012-07-09T13:46:30Z</published>
    <updated>2012-07-09T13:46:30Z</updated>
    <author>
      <name>Moadip</name>
      <uri>https://stocksharp.ru/users/5973/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;b&gt;BasketSecurity &lt;/b&gt;является родителем для &lt;b&gt;IndexSecurity&lt;/b&gt;. &lt;br /&gt;Пользоваться напрямую данными классами не получится,т.к. они абстрактные.&lt;br /&gt;&lt;br /&gt;Нужно использовать их наследников - &lt;a href="http://stocksharp.com/doc/html/T_StockSharp_Algo_WeightedIndexSecurity.htm" title="http://stocksharp.com/doc/html/T_StockSharp_Algo_WeightedIndexSecurity.htm"&gt;WeightedIndexSecurity&lt;/a&gt; и &lt;a href="http://stocksharp.com/doc/html/T_StockSharp_Algo_ContinuousSecurity.htm" title="http://stocksharp.com/doc/html/T_StockSharp_Algo_ContinuousSecurity.htm"&gt;ContinuousSecurity&lt;/a&gt;.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/20253/</id>
    <title type="text">Hi! Есть класс BasketSecurity и класс IndexSecurity (см. stocksharp.com/doc/). В чём между ними разл...</title>
    <published>2012-07-09T13:31:50Z</published>
    <updated>2012-07-09T13:31:50Z</updated>
    <author>
      <name>BigBen</name>
      <uri>https://stocksharp.ru/users/6302/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Hi!&lt;br /&gt;Есть класс BasketSecurity и класс IndexSecurity (см. stocksharp.com/doc/). В чём между ними различие кроме того, что в IndexSecurity добавлен метод Calculate? Зачем введено это дублирование? Каким классом рекомендуется пользоваться?&lt;br /&gt;Ответьте, плиз.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>