﻿<?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">Exception при обращении к Security.BestPair</title>
  <id>~/topic/3317/exception-pri-obrashshenii-k-security_bestpair/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-19T06:29:31Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=3317" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/23622/</id>
    <title type="text">На 4.1.7 воспроизводится? Ошибка говорит о том, что у вас почему-то Ask.OrderDirection - Buy, а не S...</title>
    <published>2013-01-25T13:26:37Z</published>
    <updated>2013-01-25T13:27:03Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;На 4.1.7 воспроизводится? Ошибка говорит о том, что у вас почему-то Ask.OrderDirection - Buy, а не Sell.
Что, естественно, невозможно.&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/23556/</id>
    <title type="text">l-way: приветствую! В коде робота есть такая строчка: extInfo.Add(&amp;quot;placement.quote&amp;quot;, sc.BestPair); П...</title>
    <published>2013-01-21T14:30:34Z</published>
    <updated>2013-01-21T14:30:34Z</updated>
    <author>
      <name>l-way</name>
      <uri>https://stocksharp.com/users/16565/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="@message(23555)" rel="nofollow" target="_blank"&gt;l-way&lt;/a&gt;:&lt;/strong&gt;
приветствую!&lt;/p&gt;
&lt;p&gt;В коде робота есть такая строчка:&lt;/p&gt;
&lt;p&gt;extInfo.Add(&amp;quot;placement.quote&amp;quot;, sc.BestPair);&lt;/p&gt;
&lt;p&gt;После обновления на версию 4.1.6 на этой строчке вылетает исключение:&lt;/p&gt;
&lt;p&gt;Оффер может быть только на продажу.    at StockSharp.BusinessEntities.MarketDepthPair..ctor(Security security, Quote bid, Quote ask)
at StockSharp.BusinessEntities.Security.get_BestPair()&lt;/p&gt;
&lt;p&gt;в чем может быть причина?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;подключаюсь к quik, версия 6.3.2.2&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/23555/</id>
    <title type="text">приветствую! В коде робота есть такая строчка: extInfo.Add(&amp;quot;placement.quote&amp;quot;, sc.BestPair); После об...</title>
    <published>2013-01-21T14:29:32Z</published>
    <updated>2013-01-21T14:29:32Z</updated>
    <author>
      <name>l-way</name>
      <uri>https://stocksharp.com/users/16565/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;приветствую!&lt;/p&gt;
&lt;p&gt;В коде робота есть такая строчка:&lt;/p&gt;
&lt;p&gt;extInfo.Add(&amp;quot;placement.quote&amp;quot;, sc.BestPair);&lt;/p&gt;
&lt;p&gt;После обновления на версию 4.1.6 на этой строчке вылетает исключение:&lt;/p&gt;
&lt;p&gt;Оффер может быть только на продажу.    at StockSharp.BusinessEntities.MarketDepthPair..ctor(Security security, Quote bid, Quote ask)
at StockSharp.BusinessEntities.Security.get_BestPair()&lt;/p&gt;
&lt;p&gt;в чем может быть причина?&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>