﻿<?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">TraderPnLManager путает Bid и Ask у рыночных ордеров</title>
  <id>~/topic/2500/traderpnlmanager-putaet-bid-i-ask-u-rynochnyh-orderov/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-10T07:38:21Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=2500" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/17353/</id>
    <title type="text">Будет фикс, ага </title>
    <published>2012-03-16T11:13:02Z</published>
    <updated>2012-03-16T11:13:02Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&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/17344/</id>
    <title type="text">Так и я об этом говорю :) Вот пример в цифрах: Покупка по цене 169855 Текущий бид=169835 Текущий аск...</title>
    <published>2012-03-16T09:52:15Z</published>
    <updated>2012-03-16T09:52:15Z</updated>
    <author>
      <name>Rinas Andrey</name>
      <uri>https://stocksharp.com/users/243/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Так и я об этом говорю :)
Вот пример в цифрах:
Покупка по цене 169855
Текущий бид=169835
Текущий аск=169850
PnL покаызвает -5, хотя реально он -20&lt;/p&gt;
&lt;p&gt;Чтобы нам по рынку закрыть, нам надо продать по цене &amp;lt;=169835, а не 169850.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/17342/</id>
    <title type="text">Rinas Andrey: Здравствуйте. Заметил, что TraderPnLManager при подсчете PnL у открытых ордеров берет ...</title>
    <published>2012-03-16T09:32:26Z</published>
    <updated>2012-03-16T09:32:42Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="@message(17335)" rel="nofollow" target="_blank"&gt;Rinas Andrey&lt;/a&gt;:&lt;/strong&gt;
Здравствуйте.
Заметил, что TraderPnLManager при подсчете PnL у открытых ордеров берет не те данные. Т.е для покупок он считает PnL=BestAsk.Price-OpenPrice, для продаж PnL=OpenPrice-BestBid.Price, хотя у покупок надо использовать BestBid, а у продаж BestAsk.&lt;/p&gt;
&lt;/blockquote&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/17335/</id>
    <title type="text">Здравствуйте. Заметил, что TraderPnLManager при подсчете PnL у открытых ордеров берет не те данные. ...</title>
    <published>2012-03-16T08:41:00Z</published>
    <updated>2012-03-16T08:41:00Z</updated>
    <author>
      <name>Rinas Andrey</name>
      <uri>https://stocksharp.com/users/243/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Здравствуйте.
Заметил, что TraderPnLManager при подсчете PnL у открытых ордеров берет не те данные. Т.е для покупок он считает PnL=BestAsk.Price-OpenPrice, для продаж PnL=OpenPrice-BestBid.Price, хотя у покупок надо использовать BestBid, а у продаж BestAsk.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>