﻿<?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 при генераци XML отчёта [3.0.11]</title>
  <id>~/topic/1421/exception-pri-generatsi-xml-otchyota-3_0_11/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-03T23:13:27Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=1421" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/6442/</id>
    <title type="text">Ошибку нашёл, с моей стороны была. Сори. :)</title>
    <published>2011-03-04T22:45:23Z</published>
    <updated>2011-03-04T22:45:36Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Ошибку нашёл, с моей стороны была.&lt;br /&gt;Сори. :)</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/6438/</id>
    <title type="text">На 3.0.11 следующий exception (стакан экспортируется): А если вручную посмотреть на сам стакан, пуст...</title>
    <published>2011-03-04T20:05:45Z</published>
    <updated>2011-03-04T20:05:45Z</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;Mikhail Sukhov &lt;a href="https://stocksharp.com/posts/m/6434/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Alexander &lt;a href="https://stocksharp.com/posts/m/6433/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;На 3.0.11 следующий exception (стакан экспортируется):&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;А если вручную посмотреть на сам стакан, пустой он или нет? ITrader.GetMarketDepth(Security).&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Пустой:&lt;br /&gt;&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Quote:&lt;/span&gt;&lt;div class="innerquote"&gt;-		md	{Ecng.Trading.BusinessEntities.MarketDepth}	Ecng.Trading.BusinessEntities.MarketDepth&lt;br /&gt;+		base	{Ecng.Trading.BusinessEntities.MarketDepth}	Ecng.Common.Cloneable&amp;lt;Ecng.Trading.BusinessEntities.MarketDepth&amp;gt; {Ecng.Trading.BusinessEntities.MarketDepth}&lt;br /&gt;		Asks	{Ecng.Trading.BusinessEntities.Quote[0]}	Ecng.Trading.BusinessEntities.Quote[]&lt;br /&gt;+		BestAsk	{Оффер 0 0}	Ecng.Trading.BusinessEntities.Quote&lt;br /&gt;+		BestBid	{Бид 0 0}	Ecng.Trading.BusinessEntities.Quote&lt;br /&gt;+		BestPair	{Ecng.Trading.BusinessEntities.MarketDepthPair}	Ecng.Trading.BusinessEntities.MarketDepthPair&lt;br /&gt;		Bids	{Ecng.Trading.BusinessEntities.Quote[0]}	Ecng.Trading.BusinessEntities.Quote[]&lt;br /&gt;		Count	0	int&lt;br /&gt;		Depth	0	int&lt;br /&gt;+		LastChangeTime	{01.01.0001 0:00:00}	System.DateTime&lt;br /&gt;		MaxDepth	100	int&lt;br /&gt;+		Security	{RIH1@RTS}	Ecng.Trading.BusinessEntities.Security&lt;br /&gt;		SpreadPrice	0.0	double&lt;br /&gt;		SpreadVolume	0	int&lt;br /&gt;		TotalAsksPrice	0.0	double&lt;br /&gt;		TotalAsksVolume	0	int&lt;br /&gt;		TotalBidsPrice	0.0	double&lt;br /&gt;		TotalBidsVolume	0	int&lt;br /&gt;		TotalPrice	0.0	double&lt;br /&gt;		TotalVolume	0	int&lt;br /&gt;+		Trader	{Robots.Entities.OwnQuikTrader}	Ecng.Trading.BusinessEntities.ITrader {Robots.Entities.OwnQuikTrader}&lt;br /&gt;+		Non-Public members		&lt;br /&gt;+		Results View	Expanding the Results View will enumerate the IEnumerable	&lt;br /&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/6434/</id>
    <title type="text">На 3.0.11 следующий exception (стакан экспортируется): А если вручную посмотреть на сам стакан, пуст...</title>
    <published>2011-03-04T17:15:36Z</published>
    <updated>2011-03-04T17:15:36Z</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;Alexander &lt;a href="https://stocksharp.com/posts/m/6433/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;На 3.0.11 следующий exception (стакан экспортируется):&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;А если вручную посмотреть на сам стакан, пустой он или нет? ITrader.GetMarketDepth(Security).</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/6433/</id>
    <title type="text">На 3.0.11 следующий exception (стакан экспортируется): System.ArgumentException was unhandled Messag...</title>
    <published>2011-03-04T16:52:02Z</published>
    <updated>2011-03-04T16:52:02Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">На 3.0.11 следующий exception (стакан экспортируется):&lt;br /&gt;&lt;br /&gt;&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Quote:&lt;/span&gt;&lt;div class="innerquote"&gt;System.ArgumentException was unhandled&lt;br /&gt;  Message=Котировка для направления Sell отсутствует.&lt;br /&gt;Parameter name: bestPair&lt;br /&gt;  Source=Ecng.Trading.Algo&lt;br /&gt;  ParamName=bestPair&lt;br /&gt;  StackTrace:&lt;br /&gt;       at Ecng.Trading.Algo.TraderHelper.GetMarketPrice(MarketDepthPair bestPair, OrderDirections direction, Unit priceDelta, MarketPriceTypes priceType)&lt;br /&gt;       at Ecng.Trading.Algo.TraderHelper.GetMarketPrice(MarketDepth depth, OrderDirections direction, Unit priceDelta, MarketPriceTypes priceType)&lt;br /&gt;       at Ecng.Trading.Algo.TraderHelper.GetMarketPrice(Security security, OrderDirections direction, Unit priceDelta, MarketPriceTypes priceType)&lt;br /&gt;       at Ecng.Trading.Algo.TraderHelper.GetPnL(Security security, Int64 position)&lt;br /&gt;       at Ecng.Trading.Algo.PnL.BasePnLManager.#=q836kuXrCbvnCKEJj5Cbj2g==(KeyValuePair`2 #=qhm9jo7HetgxyijS5fWjtCA==)&lt;br /&gt;       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&lt;br /&gt;       at System.Linq.Enumerable.Sum(IEnumerable`1 source)&lt;br /&gt;       at Ecng.Trading.Algo.PnL.BasePnLManager.#=q2do1oc9dZRDiwTtYLiYssg==(SynchronizedDictionary`2 #=qWPvwsgC0Ugb3v9rxLZzh4w==)&lt;br /&gt;       at Ecng.Collections.CollectionHelper.SyncGet[TCollection,TResult](TCollection collection, Func`2 func)&lt;br /&gt;       at Ecng.Trading.Algo.PnL.BasePnLManager.get_PnL()&lt;br /&gt;       at Ecng.Trading.Algo.Reporting.XmlStrategyReport.Generate()&lt;br /&gt;       at Robots.MainWindow.MainWindow.GenerateStrategyReports(Strategy strategy) in c:\Users\Alexander\Documents\Visual Studio 2010\Projects\Robots\Robots\MainWindow\MainWindow.xaml.cs:line 65&lt;br /&gt;       at Robots.MainWindow.MainWindow.OnClosing(CancelEventArgs e) in c:\Users\Alexander\Documents\Visual Studio 2010\Projects\Robots\Robots\MainWindow\MainWindow.xaml.cs:line 130&lt;br /&gt;.......&lt;br /&gt;  InnerException: &lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>