﻿<?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">API 4.2.2.20. Несоответствия в поиске</title>
  <id>~/topic/4421/api-4_2_2_20_-nesootvetstviya-v-poiske/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-22T15:57:47Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=4421" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/30037/</id>
    <title type="text">Если получаю инструменты через IQTrader.IsDownloadSecurityFromSite, то список инструментов по типу р...</title>
    <published>2014-03-17T19:27:48Z</published>
    <updated>2014-03-17T19:27:48Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Если получаю инструменты через IQTrader.IsDownloadSecurityFromSite, то список инструментов по типу разбивается так:&lt;/p&gt;
&lt;p&gt;Всего: 1291645
Future - 49109
Index - 53566
Option - 1116161
Stock - 29431
Bond - 5261
Fund - 30281
Currency - 7509
Commodity - 190
Forward - 54
Swap - 83&lt;/p&gt;
&lt;p&gt;Если получаю инструменты так:```csharp
var criteria = new Security()
{
Code = &amp;quot;*&amp;quot;,
};&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;                    _connector.LookupSecurities(criteria);
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class="language-то"&gt;
Всего: 868042
Stock - 29404
Option - 730333
Fund - 30205
Currency - 1476
Bond - 4492
Index - 22579
Future - 49553

Forward здесь вообще отсутствует.

Такой запрос:
```csharp
                        var criteria = new Security()
                        {
                            Code = &amp;quot;*&amp;quot;,
                            Type = SecurityTypes.Forward,
                        };

                        _connector.LookupSecurities(criteria);
``` возвращает:

Всего: 54
Forward - 54

т.е. форвард все-таки можно найти через поиск.
&lt;/code&gt;&lt;/pre&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>