﻿<?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/2224/podhvat-imeyushsheisya-pozitsii/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-12T07:53:53Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=2224" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/14626/</id>
    <title type="text">Спасибо! </title>
    <published>2011-12-14T08:53:49Z</published>
    <updated>2011-12-14T08:53:49Z</updated>
    <author>
      <name>romanick</name>
      <uri>https://stocksharp.com/users/28047/</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/14625/</id>
    <title type="text">Position pos = this.Trader.GetPosition(this.Portfolio, this.Security); </title>
    <published>2011-12-14T08:32:55Z</published>
    <updated>2011-12-14T08:32:55Z</updated>
    <author>
      <name>freelancer</name>
      <uri>https://stocksharp.com/users/28572/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;pre&gt;&lt;code class="language-csharp"&gt;Position pos = this.Trader.GetPosition(this.Portfolio, this.Security);
&lt;/code&gt;&lt;/pre&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/14623/</id>
    <title type="text">Неожиданно столкнулся с проблемой что PositionManager.Position возвращает 0 при старте стратегии (в ...</title>
    <published>2011-12-14T08:15:24Z</published>
    <updated>2011-12-14T08:15:24Z</updated>
    <author>
      <name>romanick</name>
      <uri>https://stocksharp.com/users/28047/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Неожиданно столкнулся с проблемой что PositionManager.Position возвращает 0 при старте стратегии (в OnStarting и в OnProcess), хотя позиция перед стартом не нулевая. Что нужно сделать чтобы робот &amp;quot;подхватывал&amp;quot; уже имеющуюся позицию при запуске? Проверял на SampleSmartSMA - робот не видит имеющуюся позицию.
SmartCOM 2.2, S# 4.0.8&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>