﻿<?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">Сомнения в валидности маркет данных</title>
  <id>~/topic/3007/somneniya-v-validnosti-market-dannyh/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-16T12:42:01Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=3007" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/22417/</id>
    <title type="text">Я так понимаю, что для расчета прибыли на каждый текущий момент нужна информация о стоимости инструм...</title>
    <published>2012-11-10T20:24:07Z</published>
    <updated>2012-11-10T20:24:07Z</updated>
    <author>
      <name>pyhta4og</name>
      <uri>https://stocksharp.com/users/497/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;vk37 &lt;a href="https://stocksharp.com/posts/m/22331/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Я так понимаю, что для расчета прибыли на каждый текущий момент нужна информация о стоимости инструмента на каждый текущий момент. Предполагаю, что стоимость инструмента в закаченных маркет данных на какой-то момент неверна. Могу исключить эту неверную цену из маркет данных. Только я не понимаю как внутри этот PnLManager работает. Откуда он берет текущую цену инструмента? Эх, был бы доступ к исходникам )&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;PnLManager берет bestbid/bestask из стакана для расчета цены инструмента. А вот если их нет то берутся bestbid/bestask из инструмента, потом lasttrade... Короче PnLManager борется до последнего, а если нет ничего то берет НОЛЬ и будет спайк.&lt;br /&gt;&lt;br /&gt;Если это в клиринг то возможно в клиринге очистило стакан и пошли такие спецэффекты. А ласттрейд был давно.&lt;br /&gt;Hope it helps</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22396/</id>
    <title type="text"> Клиринг тут как виноват? В этот раз прибыль некорректно посчиталась в период 18:50 - 19:00. Настрои...</title>
    <published>2012-11-09T21:29:56Z</published>
    <updated>2012-11-09T21:29:56Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Alexander Mukhanchikov &lt;a href="https://stocksharp.com/posts/m/22394/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;&lt;br /&gt;&lt;br /&gt;Клиринг тут как виноват?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;В этот раз прибыль некорректно посчиталась в период 18:50 - 19:00. Настроил свою гидру, чтобы маркет данные качались по расписанию работы биржи РТС.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22394/</id>
    <title type="text">На этот раз похоже действительно клиринг. Клиринг тут как виноват?</title>
    <published>2012-11-09T21:25:02Z</published>
    <updated>2012-11-09T21:25:02Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;vk37 &lt;a href="https://stocksharp.com/posts/m/22338/" 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;Клиринг тут как виноват?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22338/</id>
    <title type="text">На этот раз похоже действительно клиринг.</title>
    <published>2012-11-08T06:32:05Z</published>
    <updated>2012-11-08T06:32:05Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">На этот раз похоже действительно клиринг.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22331/</id>
    <title type="text">Я так понимаю, что для расчета прибыли на каждый текущий момент нужна информация о стоимости инструм...</title>
    <published>2012-11-07T19:40:26Z</published>
    <updated>2012-11-07T19:40:26Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Я так понимаю, что для расчета прибыли на каждый текущий момент нужна информация о стоимости инструмента на каждый текущий момент. Предполагаю, что стоимость инструмента в закаченных маркет данных на какой-то момент неверна. Могу исключить эту неверную цену из маркет данных. Только я не понимаю как внутри этот PnLManager работает. Откуда он берет текущую цену инструмента? Эх, был бы доступ к исходникам )</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22328/</id>
    <title type="text">Свой менеджер статистики писать? Давно столкнулся с примерно такой же проблемой - в итого написал св...</title>
    <published>2012-11-07T19:30:12Z</published>
    <updated>2012-11-07T19:30:12Z</updated>
    <author>
      <name>Кот Матроскин</name>
      <uri>https://stocksharp.com/users/808/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;vk37 &lt;a href="https://stocksharp.com/posts/m/22327/" 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;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22327/</id>
    <title type="text">Не знаю в чем проблема. Менеджеру статистики верить нельзя: неверно просадку считает. Что делать пос...</title>
    <published>2012-11-07T19:03:20Z</published>
    <updated>2012-11-07T19:03:20Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Не знаю в чем проблема. Менеджеру статистики верить нельзя: неверно просадку считает. Что делать посоветуете? Свой менеджер статистики писать?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/22247/</id>
    <title type="text">Проверьте на последней версии на codeplex. Скачал последнюю версию с кодплекса. Судя по тому, что в ...</title>
    <published>2012-11-04T17:21:00Z</published>
    <updated>2012-11-04T17:21:00Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Alexander Mukhanchikov &lt;a href="https://stocksharp.com/posts/m/21998/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Проверьте на последней версии на codeplex.&lt;/div&gt;&lt;/div&gt; Скачал последнюю версию с кодплекса.&lt;br /&gt;Судя по тому, что в отчетах значения MaxDrowdown нереалистично большие цифры, ситуация не изменилась.&lt;br /&gt;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21998/</id>
    <title type="text">Проверьте на последней версии на codeplex.</title>
    <published>2012-10-24T14:11:13Z</published>
    <updated>2012-10-24T14:11:13Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Проверьте на последней версии на codeplex.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21386/</id>
    <title type="text">Прикрепить не получилось. Ссылка: http://sdrv.ms/U6jFLM</title>
    <published>2012-09-15T11:42:02Z</published>
    <updated>2012-09-15T13:11:01Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Прикрепить не получилось. Ссылка: &lt;a target="_blank" rel="nofollow" href="https://stocksharp.com/away/?u=AQAAAAAAAAA4H5R83BK48hzz94FfZ74gPJUcKMogT_6uduH0xKGSnQ" title="http://sdrv.ms/U6jFLM"&gt;http://sdrv.ms/U6jFLM&lt;/a&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21385/</id>
    <title type="text">файлы данных можете прикрепить (сделки и стаканы) за проблемный день?</title>
    <published>2012-09-15T11:29:58Z</published>
    <updated>2012-09-15T11:29:58Z</updated>
    <author>
      <name>pyhta4og</name>
      <uri>https://stocksharp.com/users/497/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">файлы данных можете прикрепить (сделки и стаканы) за проблемный день?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21384/</id>
    <title type="text">Проверил все сохраненные MarketDepths. Не нашел ни одного со значениями BestBid == null или BestAsk ...</title>
    <published>2012-09-15T11:16:57Z</published>
    <updated>2012-09-15T11:16:57Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Проверил все сохраненные MarketDepths. Не нашел ни одного со значениями BestBid == null или BestAsk == null. В стратегии на событии MarketDepthChanged, судя по логу, такие появляются:&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:plain"&gt;
2012.09.10 10:36:33.288|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.0180000, depth.BestBid: null, depth.BestAsk: null, Security.BestBid: 146900, Security.BestAsk: 146910, Security.LastTrade: null&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Думаю, ошибка не в данных.&lt;br /&gt;Проверял так:&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
                    var marketDepthStorage = _storageRegistry.GetMarketDepthStorage(security, _defaultDrive);
                    var marketDepths = marketDepthStorage.Load(_targetTime.Date);

                    foreach (var depth in marketDepths)
                    {
                        if (depth.BestBid == null || depth.BestAsk == null)
                            Debugger.Break();
                    }&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21369/</id>
    <title type="text">Провереть SecurityChanges на предмет Security.BestAsk == null и Security.BestBid == null?</title>
    <published>2012-09-14T14:22:26Z</published>
    <updated>2012-09-14T14:22:26Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Провереть SecurityChanges на предмет Security.BestAsk == null и Security.BestBid == null?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21368/</id>
    <title type="text">А где посмотреть? Что перебрать? ) На диске. Данные.</title>
    <published>2012-09-14T14:20:24Z</published>
    <updated>2012-09-14T14:20:24Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;vk37 &lt;a href="https://stocksharp.com/posts/m/21367/" 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;На диске. Данные.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21367/</id>
    <title type="text">А где посмотреть? Что перебрать? )</title>
    <published>2012-09-14T13:40:41Z</published>
    <updated>2012-09-14T13:40:41Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">А где посмотреть? Что перебрать? )</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21366/</id>
    <title type="text">Все 5 ошибок на графике до 12:00 ) А что в самих данных?</title>
    <published>2012-09-14T13:33:09Z</published>
    <updated>2012-09-14T13:33:09Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;vk37 &lt;a href="https://stocksharp.com/posts/m/21365/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Все 5 ошибок на графике до 12:00 )&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.com/posts/m/21365/</id>
    <title type="text">Все 5 ошибок на графике до 12:00 )</title>
    <published>2012-09-14T12:25:07Z</published>
    <updated>2012-09-14T12:25:07Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Все 5 ошибок на графике до 12:00 )</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21364/</id>
    <title type="text">это может быть в клиринг, когда стакан очищается. или когда планка. сделайте проверку в стратегии.</title>
    <published>2012-09-14T12:17:12Z</published>
    <updated>2012-09-14T12:17:12Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">это может быть в клиринг, когда стакан очищается. или когда планка. сделайте проверку в стратегии.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21363/</id>
    <title type="text">Добавил брейкпоинт и логгирование в стратегию: using System.Diagnostics; using StockSharp.Algo; usin...</title>
    <published>2012-09-14T11:51:44Z</published>
    <updated>2012-09-14T11:51:44Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.com/users/6296/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Добавил брейкпоинт и логгирование в стратегию:&lt;br /&gt;&lt;div class='spoilertitle'&gt;&lt;input type='button' value='Show spoiler' class='btn btn-primary' onclick="toggleSpoiler(this, 'spolier_d4a4cc06382f4fe0ac2c0f8193003eed');" title='Show spoiler' /&gt;&lt;/div&gt;&lt;div class='spoilerbox' id='spolier_d4a4cc06382f4fe0ac2c0f8193003eed' style='display:none'&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
using System.Diagnostics;
using StockSharp.Algo;
using StockSharp.Algo.Logging;
using StockSharp.Algo.Strategies;
using StockSharp.BusinessEntities;

namespace AlgoTrading.Strategies.Development
{
    public class MarketDepthSkeleton : Strategy
    {
        private Order _order;
        private bool _canProcess = true;

        protected override void OnStarted()
        {
            Security
                .WhenMarketDepthChanged()
                .Do(ProcessDepth)
                .Apply(this);

            PnLChanged += () =&amp;gt;
                              {
                                  if (PnL &amp;lt; -300000)
                                      Debugger.Break();
                              };

            base.OnStarted();
        }

        private void ProcessDepth(MarketDepth depth)
        {
            this.AddInfoLog(&amp;quot;depth.LastChangeTime: {0:o}, depth.BestBid: {1}, depth.BestAsk: {2}, Security.BestBid: {3}, Security.BestAsk: {4}, Security.LastTrade: {5}&amp;quot;, 
                depth.LastChangeTime,
                depth.BestBid == null ? &amp;quot;null&amp;quot; : depth.BestBid.Price.ToString(),
                depth.BestAsk == null ? &amp;quot;null&amp;quot; : depth.BestAsk.Price.ToString(),
                Security.BestBid == null ? &amp;quot;null&amp;quot; : Security.BestBid.Price.ToString(),
                Security.BestAsk == null ? &amp;quot;null&amp;quot; : Security.BestAsk.Price.ToString(),
                Security.LastTrade == null ? &amp;quot;null&amp;quot; : Security.LastTrade.Price.ToString()
                );

            if (_canProcess)
            {
                _canProcess = false;
                var orderDirection = _order == null ? OrderDirections.Buy : _order.Direction.Invert();
                _order = this.CreateOrder(orderDirection, depth.GetCurrentPrice(orderDirection).Value);
                this.AddInfoLog(&amp;quot;Вход в направлении {0} по цене {1}&amp;quot;, _order.Direction, _order.Price);
                var strategy = new MarketQuotingStrategy(_order, new Unit(1, UnitTypes.Step, Security),
                                                         new Unit(1, UnitTypes.Step, Security)) 
                                                         { Volume = Volume };
                strategy.WhenStopped().Do(() =&amp;gt; _canProcess = true).Apply(this);
                ChildStrategies.Add(strategy);
            }
        }
    }
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Лог до брейкпоинта:&lt;br /&gt;&lt;div class='spoilertitle'&gt;&lt;input type='button' value='Show spoiler' class='btn btn-primary' onclick="toggleSpoiler(this, 'spolier_2f8cf55c35b94ec79e763e98e11e4e14');" title='Show spoiler' /&gt;&lt;/div&gt;&lt;div class='spoilerbox' id='spolier_2f8cf55c35b94ec79e763e98e11e4e14' style='display:none'&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:plain"&gt;
2012.09.10 10:36:30.568|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:30.5680000, depth.BestBid: 146915, depth.BestAsk: 146920, Security.BestBid: 146915, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:30.738|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:30.7380000, depth.BestBid: 146915, depth.BestAsk: 146925, Security.BestBid: 146915, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:30.798|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:30.7980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146915, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:30.908|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:30.9080000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.008|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.0080000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.208|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.2080000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.298|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.2980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.448|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.4480000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.568|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.5680000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.638|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.6380000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.698|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.6980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.768|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.7680000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.898|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.8980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:31.998|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:31.9980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.098|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.0980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.218|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.2180000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.328|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.3280000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.428|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.4280000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.538|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.5380000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.648|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.6480000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.778|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.7780000, depth.BestBid: 146900, depth.BestAsk: 146925, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Цена текущей 146915 и лучшей 146905.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Лучший бид 146910 и лучший аск 146925.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Котирование заявки 56191368 на Buy с ценой 146915 объемом 10.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Отмена заявки 56191368.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Отмена заявки 56191368.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Заявка 56191368 больше не активна.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Заявка 56191368 была снята. Время снятия 10.09.2012 10:36:32.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146905.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Лучший бид 146900 и лучший аск 146925.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Buy с ценой 146905 и объемом 10.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Заявка 56191369 на Buy отправлена с ценой 146905 объемом 10.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Заявка 56191369 принята биржей.
2012.09.10 10:36:32.778|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:32.778|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.7780001, depth.BestBid: 146905, depth.BestAsk: null, Security.BestBid: 146900, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:32.888|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.8880000, depth.BestBid: 146910, depth.BestAsk: 146920, Security.BestBid: 146905, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Цена текущей 146905 и лучшей 146915.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Лучший бид 146905 и лучший аск NULL.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Котирование заявки 56191369 на Buy с ценой 146905 объемом 10.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Отмена заявки 56191369.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Отмена заявки 56191369.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Заявка 56191369 больше не активна.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Заявка 56191369 была снята. Время снятия 10.09.2012 10:36:32.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146915.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Лучший бид 146910 и лучший аск 146920.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Buy с ценой 146915 и объемом 10.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Заявка 56191370 на Buy отправлена с ценой 146915 объемом 10.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Заявка 56191370 принята биржей.
2012.09.10 10:36:32.888|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:32.888|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:32.8880001, depth.BestBid: 146915, depth.BestAsk: null, Security.BestBid: 146910, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:33.018|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.0180000, depth.BestBid: 146900, depth.BestAsk: 146910, Security.BestBid: 146915, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Цена текущей 146915 и лучшей 146905.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Лучший бид 146915 и лучший аск NULL.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Котирование заявки 56191370 на Buy с ценой 146915 объемом 10.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Отмена заявки 56191370.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Отмена заявки 56191370.
2012.09.10 10:36:33.018|       |MDS_RIU2@RTS_test account|Новая Buy сделка 4081 по цене 146915 на 2 заявки 56191370.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Новая Buy сделка 4081 по цене 146915 на 2 заявки 56191370.
2012.09.10 10:36:33.018|       |MDS_RIU2@RTS_test account|Новая Buy сделка 4082 по цене 146915 на 8 заявки 56191370.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Новая Buy сделка 4082 по цене 146915 на 8 заявки 56191370.
2012.09.10 10:36:33.018|       |MDS_RIU2@RTS_test account|Новая позиция 2.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Новая позиция 2.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Позиция изменилась на 2. Оставшийся объем 8.
2012.09.10 10:36:33.018|       |MDS_RIU2@RTS_test account|Новая позиция 10.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Новая позиция 10.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Позиция изменилась на 10. Оставшийся объем 0.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Заканчиваем котирование.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Стратегия останавливается.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Ожидание снятия всех активных заявок.
2012.09.10 10:36:33.018|       |MQS_RIU2@RTS_test account|Стратегия остановлена.
2012.09.10 10:36:33.288|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.0180000, depth.BestBid: null, depth.BestAsk: null, Security.BestBid: 146900, Security.BestAsk: 146910, Security.LastTrade: null
2012.09.10 10:36:33.288|       |MDS_RIU2@RTS_test account|Вход в направлении Sell по цене 0
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Стратегия запущена.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Котирование на Sell объема 10.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Приостановка правил. _rulesSuspendCount 1.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Возобновление правил. _rulesSuspendCount 0.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146905.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Лучший бид 146900 и лучший аск 146910.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Sell с ценой 146905 и объемом 10.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Заявка 56191371 на Sell отправлена с ценой 146905 объемом 10.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Лог после брейкпоинта:&lt;br /&gt;&lt;div class='spoilertitle'&gt;&lt;input type='button' value='Show spoiler' class='btn btn-primary' onclick="toggleSpoiler(this, 'spolier_2a50cbf8ec714db6b011bc515b7d4f26');" title='Show spoiler' /&gt;&lt;/div&gt;&lt;div class='spoilerbox' id='spolier_2a50cbf8ec714db6b011bc515b7d4f26' style='display:none'&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp"&gt;
2012.09.10 10:36:33.288|Error  |MQS_RIU2@RTS_test account|Заявка 56191370 не была отменена по причине System.InvalidOperationException: Заявка 56191370 не зарегистрирована, исполнена или уже отклонена..
2012.09.10 10:36:33.288|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.2880000, depth.BestBid: 146905, depth.BestAsk: 146915, Security.BestBid: null, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.288|Warning|MQS_RIU2@RTS_test account|Заявка 56191371 в процессе регистрации.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Заявка 56191371 принята биржей.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Цена текущей 146905 и лучшей 146910.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Лучший бид 146905 и лучший аск 146915.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Котирование заявки 56191371 на Sell с ценой 146905 объемом 10.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Отмена заявки 56191371.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Отмена заявки 56191371.
2012.09.10 10:36:33.288|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.2880000, depth.BestBid: null, depth.BestAsk: 146905, Security.BestBid: 146905, Security.BestAsk: 146915, Security.LastTrade: null
2012.09.10 10:36:33.288|Warning|MQS_RIU2@RTS_test account|Заявка 56191371 в процессе снятия.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Заявка 56191371 больше не активна.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Заявка 56191371 была снята. Время снятия 10.09.2012 10:36:33.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146900.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Лучший бид NULL и лучший аск 146905.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Sell с ценой 146900 и объемом 10.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Заявка 56191372 на Sell отправлена с ценой 146900 объемом 10.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Заявка 56191372 принята биржей.
2012.09.10 10:36:33.288|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.288|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.2880002, depth.BestBid: null, depth.BestAsk: 146900, Security.BestBid: null, Security.BestAsk: 146905, Security.LastTrade: null
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.3480000, depth.BestBid: 146910, depth.BestAsk: 146920, Security.BestBid: null, Security.BestAsk: 146900, Security.LastTrade: null
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Цена текущей 146900 и лучшей 146915.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Лучший бид NULL и лучший аск 146900.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Котирование заявки 56191372 на Sell с ценой 146900 объемом 10.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Отмена заявки 56191372.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Отмена заявки 56191372.
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|Новая Sell сделка 4083 по цене 146900 на 6 заявки 56191372.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Новая Sell сделка 4083 по цене 146900 на 6 заявки 56191372.
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|Новая Sell сделка 4084 по цене 146900 на 1 заявки 56191372.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Новая Sell сделка 4084 по цене 146900 на 1 заявки 56191372.
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|Новая Sell сделка 4085 по цене 146900 на 3 заявки 56191372.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Новая Sell сделка 4085 по цене 146900 на 3 заявки 56191372.
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|Новая позиция 4.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Новая позиция -6.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Позиция изменилась на -6. Оставшийся объем 4.
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|Новая позиция 3.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Новая позиция -7.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Позиция изменилась на -7. Оставшийся объем 3.
2012.09.10 10:36:33.348|       |MDS_RIU2@RTS_test account|Новая позиция 0.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Новая позиция -10.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Позиция изменилась на -10. Оставшийся объем 0.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Заканчиваем котирование.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Стратегия останавливается.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Ожидание снятия всех активных заявок.
2012.09.10 10:36:33.348|       |MQS_RIU2@RTS_test account|Стратегия остановлена.
2012.09.10 10:36:33.498|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.3480000, depth.BestBid: null, depth.BestAsk: null, Security.BestBid: 146910, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:33.498|       |MDS_RIU2@RTS_test account|Вход в направлении Buy по цене 0
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Стратегия запущена.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Котирование на Buy объема 10.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Приостановка правил. _rulesSuspendCount 1.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Возобновление правил. _rulesSuspendCount 0.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146915.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Лучший бид 146910 и лучший аск 146920.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Buy с ценой 146915 и объемом 10.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Заявка 56191373 на Buy отправлена с ценой 146915 объемом 10.
2012.09.10 10:36:33.498|Error  |MQS_RIU2@RTS_test account|Заявка 56191372 не была отменена по причине System.InvalidOperationException: Заявка 56191372 не зарегистрирована, исполнена или уже отклонена..
2012.09.10 10:36:33.498|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.4980000, depth.BestBid: 146900, depth.BestAsk: 146920, Security.BestBid: null, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.498|Warning|MQS_RIU2@RTS_test account|Заявка 56191373 в процессе регистрации.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Заявка 56191373 принята биржей.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Цена текущей 146915 и лучшей 146905.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Лучший бид 146900 и лучший аск 146920.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Котирование заявки 56191373 на Buy с ценой 146915 объемом 10.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Отмена заявки 56191373.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Отмена заявки 56191373.
2012.09.10 10:36:33.498|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.4980000, depth.BestBid: 146915, depth.BestAsk: null, Security.BestBid: 146900, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:33.498|Warning|MQS_RIU2@RTS_test account|Заявка 56191373 в процессе снятия.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Заявка 56191373 больше не активна.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Заявка 56191373 была снята. Время снятия 10.09.2012 10:36:33.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146920.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Лучший бид 146915 и лучший аск NULL.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Buy с ценой 146920 и объемом 10.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Заявка 56191374 на Buy отправлена с ценой 146920 объемом 10.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Заявка 56191374 принята биржей.
2012.09.10 10:36:33.498|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.498|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.4980002, depth.BestBid: 146920, depth.BestAsk: null, Security.BestBid: 146915, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.588|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.5880000, depth.BestBid: 146900, depth.BestAsk: 146915, Security.BestBid: 146920, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Цена текущей 146920 и лучшей 146905.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Лучший бид 146920 и лучший аск NULL.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Котирование заявки 56191374 на Buy с ценой 146920 объемом 10.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Отмена заявки 56191374.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Отмена заявки 56191374.
2012.09.10 10:36:33.588|       |MDS_RIU2@RTS_test account|Новая Buy сделка 4086 по цене 146920 на 8 заявки 56191374.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Новая Buy сделка 4086 по цене 146920 на 8 заявки 56191374.
2012.09.10 10:36:33.588|       |MDS_RIU2@RTS_test account|Новая Buy сделка 4087 по цене 146920 на 2 заявки 56191374.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Новая Buy сделка 4087 по цене 146920 на 2 заявки 56191374.
2012.09.10 10:36:33.588|       |MDS_RIU2@RTS_test account|Новая позиция 8.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Новая позиция 8.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Позиция изменилась на 8. Оставшийся объем 2.
2012.09.10 10:36:33.588|       |MDS_RIU2@RTS_test account|Новая позиция 10.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Новая позиция 10.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Позиция изменилась на 10. Оставшийся объем 0.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Заканчиваем котирование.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Стратегия останавливается.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Ожидание снятия всех активных заявок.
2012.09.10 10:36:33.588|       |MQS_RIU2@RTS_test account|Стратегия остановлена.
2012.09.10 10:36:33.658|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.5880000, depth.BestBid: null, depth.BestAsk: null, Security.BestBid: 146900, Security.BestAsk: 146915, Security.LastTrade: null
2012.09.10 10:36:33.658|       |MDS_RIU2@RTS_test account|Вход в направлении Sell по цене 0
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Стратегия запущена.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Котирование на Sell объема 10.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Приостановка правил. _rulesSuspendCount 1.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Возобновление правил. _rulesSuspendCount 0.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146910.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Лучший бид 146900 и лучший аск 146915.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Sell с ценой 146910 и объемом 10.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Заявка 56191375 на Sell отправлена с ценой 146910 объемом 10.
2012.09.10 10:36:33.658|Error  |MQS_RIU2@RTS_test account|Заявка 56191374 не была отменена по причине System.InvalidOperationException: Заявка 56191374 не зарегистрирована, исполнена или уже отклонена..
2012.09.10 10:36:33.658|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.6580000, depth.BestBid: 146905, depth.BestAsk: 146920, Security.BestBid: null, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.658|Warning|MQS_RIU2@RTS_test account|Заявка 56191375 в процессе регистрации.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Заявка 56191375 принята биржей.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Цена текущей 146910 и лучшей 146915.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Лучший бид 146905 и лучший аск 146920.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Котирование заявки 56191375 на Sell с ценой 146910 объемом 10.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Отмена заявки 56191375.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Отмена заявки 56191375.
2012.09.10 10:36:33.658|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.6580000, depth.BestBid: null, depth.BestAsk: 146910, Security.BestBid: 146905, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:33.658|Warning|MQS_RIU2@RTS_test account|Заявка 56191375 в процессе снятия.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Заявка 56191375 больше не активна.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Заявка 56191375 была снята. Время снятия 10.09.2012 10:36:33.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146905.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Лучший бид NULL и лучший аск 146910.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Sell с ценой 146905 и объемом 10.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Заявка 56191376 на Sell отправлена с ценой 146905 объемом 10.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Заявка 56191376 принята биржей.
2012.09.10 10:36:33.658|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.658|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.6580002, depth.BestBid: null, depth.BestAsk: 146905, Security.BestBid: null, Security.BestAsk: 146910, Security.LastTrade: null
2012.09.10 10:36:33.758|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.7580000, depth.BestBid: 146910, depth.BestAsk: 146920, Security.BestBid: null, Security.BestAsk: 146905, Security.LastTrade: null
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Цена текущей 146905 и лучшей 146915.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Лучший бид NULL и лучший аск 146905.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Котирование заявки 56191376 на Sell с ценой 146905 объемом 10.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Отмена заявки 56191376.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Отмена заявки 56191376.
2012.09.10 10:36:33.758|       |MDS_RIU2@RTS_test account|Новая Sell сделка 4088 по цене 146905 на 4 заявки 56191376.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Новая Sell сделка 4088 по цене 146905 на 4 заявки 56191376.
2012.09.10 10:36:33.758|       |MDS_RIU2@RTS_test account|Новая Sell сделка 4089 по цене 146905 на 6 заявки 56191376.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Новая Sell сделка 4089 по цене 146905 на 6 заявки 56191376.
2012.09.10 10:36:33.758|       |MDS_RIU2@RTS_test account|Новая позиция 6.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Новая позиция -4.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Позиция изменилась на -4. Оставшийся объем 6.
2012.09.10 10:36:33.758|       |MDS_RIU2@RTS_test account|Новая позиция 0.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Новая позиция -10.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Позиция изменилась на -10. Оставшийся объем 0.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Заканчиваем котирование.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Стратегия останавливается.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Ожидание снятия всех активных заявок.
2012.09.10 10:36:33.758|       |MQS_RIU2@RTS_test account|Стратегия остановлена.
2012.09.10 10:36:33.798|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.7580000, depth.BestBid: null, depth.BestAsk: null, Security.BestBid: 146910, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:33.798|       |MDS_RIU2@RTS_test account|Вход в направлении Buy по цене 0
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Стратегия запущена.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Котирование на Buy объема 10.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Приостановка правил. _rulesSuspendCount 1.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Возобновление правил. _rulesSuspendCount 0.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146915.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Лучший бид 146910 и лучший аск 146920.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Buy с ценой 146915 и объемом 10.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Заявка 56191377 на Buy отправлена с ценой 146915 объемом 10.
2012.09.10 10:36:33.798|Error  |MQS_RIU2@RTS_test account|Заявка 56191376 не была отменена по причине System.InvalidOperationException: Заявка 56191376 не зарегистрирована, исполнена или уже отклонена..
2012.09.10 10:36:33.798|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.7980000, depth.BestBid: 146910, depth.BestAsk: 146925, Security.BestBid: null, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.798|Warning|MQS_RIU2@RTS_test account|Заявка 56191377 в процессе регистрации.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Заявка 56191377 принята биржей.
2012.09.10 10:36:33.798|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.898|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.7980000, depth.BestBid: 146915, depth.BestAsk: null, Security.BestBid: 146910, Security.BestAsk: 146925, Security.LastTrade: null
2012.09.10 10:36:33.898|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.8980000, depth.BestBid: 146905, depth.BestAsk: 146920, Security.BestBid: 146915, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Цена текущей 146915 и лучшей 146910.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Лучший бид 146915 и лучший аск NULL.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Котирование заявки 56191377 на Buy с ценой 146915 объемом 10.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Отмена заявки 56191377.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Отмена заявки 56191377.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Заявка 56191377 больше не активна.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Заявка 56191377 была снята. Время снятия 10.09.2012 10:36:33.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Цена текущей NULL и лучшей 146910.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Лучший бид 146905 и лучший аск 146920.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Регистрация новой заявки на Buy с ценой 146910 и объемом 10.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Заявка 56191378 на Buy отправлена с ценой 146910 объемом 10.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Заявка 56191378 принята биржей.
2012.09.10 10:36:33.898|       |MQS_RIU2@RTS_test account|Сброс счетчика ошибок регистрации с 0 до нуля.
2012.09.10 10:36:33.898|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.8980001, depth.BestBid: 146910, depth.BestAsk: null, Security.BestBid: 146905, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:33.988|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:33.9880000, depth.BestBid: 146905, depth.BestAsk: 146920, Security.BestBid: 146910, Security.BestAsk: null, Security.LastTrade: null
2012.09.10 10:36:34.098|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:34.0980000, depth.BestBid: 146910, depth.BestAsk: 146915, Security.BestBid: 146905, Security.BestAsk: 146920, Security.LastTrade: null
2012.09.10 10:36:34.228|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:34.2280000, depth.BestBid: 146910, depth.BestAsk: 146915, Security.BestBid: 146910, Security.BestAsk: 146915, Security.LastTrade: null
2012.09.10 10:36:34.318|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:34.3180000, depth.BestBid: 146910, depth.BestAsk: 146915, Security.BestBid: 146910, Security.BestAsk: 146915, Security.LastTrade: null
2012.09.10 10:36:34.428|       |MDS_RIU2@RTS_test account|depth.LastChangeTime: 2012-09-10T10:36:34.4280000, depth.BestBid: 146900, depth.BestAsk: 146915, Security.BestBid: 146910, Security.BestAsk: 146915, Security.LastTrade: null&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Причина, похоже в том, что на какой-то момент у Security BestBid и BestAsk равны null</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/21361/</id>
    <title type="text">я бы начал с того что в стратегии написал проверку if(Strategy.BestBid.Price=0 || Strategy.BestAsk.P...</title>
    <published>2012-09-14T11:01:38Z</published>
    <updated>2012-09-14T11:01:38Z</updated>
    <author>
      <name>pyhta4og</name>
      <uri>https://stocksharp.com/users/497/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">я бы начал с того что в стратегии написал проверку  &lt;br /&gt;if(Strategy.BestBid.Price=0 || Strategy.BestAsk.Price=0||Strategy.LastTrade.Price=0||&lt;br /&gt;Depth.BestBid.Price=0||Depth.BestAsk.Price=0 || Abs(BestAsk-LastTrade)&amp;gt;много || (BestBid-LastTrade)&amp;gt;много&lt;br /&gt;|| Abs(nextTrade-LastTrade)&amp;gt;много)&lt;br /&gt;&lt;br /&gt;где nextTrade - пришедшая сделка, Depth - пришедший стакан.&lt;br /&gt;&lt;br /&gt;Это позволит выяснить не было ли действительно кривых данных записано.&lt;br /&gt;&lt;br /&gt;Еще вариант - поставить брекпойнт в Strategy.PnLChanged и от туда раскручивать - если PnL стал сильно маленьким, посмотреть по коллстаку на наличие аргументов Trade, Depth с маленькими значениями&lt;br /&gt;&lt;br /&gt;Hope it helps.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>