﻿<?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">BuyAtMarket и SellAtMarket</title>
  <id>~/topic/2218/buyatmarket-i-sellatmarket/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-25T13:41:21Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=2218" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/14583/</id>
    <title type="text">с codeplex возьмите последнюю версию</title>
    <published>2011-12-13T13:25:08Z</published>
    <updated>2011-12-13T13:25:08Z</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/14568/</id>
    <title type="text">4.0.8</title>
    <published>2011-12-13T11:05:26Z</published>
    <updated>2011-12-13T11:05:26Z</updated>
    <author>
      <name>freelancer</name>
      <uri>https://stocksharp.com/users/28572/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">4.0.8</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/14567/</id>
    <title type="text">Версия S#?</title>
    <published>2011-12-13T10:56:31Z</published>
    <updated>2011-12-13T10:56:31Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Версия S#?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/14565/</id>
    <title type="text">Volume = 2. Это точно в StockSharp.BusinessEntities.Unit.CreateResult(Unit u1, Unit u2, Func`3 opera...</title>
    <published>2011-12-13T10:11:34Z</published>
    <updated>2011-12-13T10:11:34Z</updated>
    <author>
      <name>freelancer</name>
      <uri>https://stocksharp.com/users/28572/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Volume = 2. Это точно&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_7dc769161c324ff5b24fbb5fa902ea08');" title='Show spoiler' /&gt;&lt;/div&gt;&lt;div class='spoilerbox' id='spolier_7dc769161c324ff5b24fbb5fa902ea08' style='display:none'&gt;   в StockSharp.BusinessEntities.Unit.CreateResult(Unit u1, Unit u2, Func`3 operation, Func`3 percentOperation)&lt;br /&gt;   в StockSharp.BusinessEntities.Unit.op_Addition(Unit u1, Unit u2)&lt;br /&gt;   в StockSharp.Algo.TraderHelper.GetMarketPrice(Security security, OrderDirections direction, Unit priceDelta, MarketPriceTypes priceType)&lt;br /&gt;   в StockSharp.Algo.Strategies.StrategyHelper.BuyAtMarket(Strategy strategy, Decimal volume)&lt;br /&gt;   в MyRobot.MainWindow.MenuItemTest_Click(Object sender, RoutedEventArgs e) в C:\Users\Алексей\Desktop\МТС\StockSharp\MyRobot\Robot\MainWindow.xaml.cs:строка 749&lt;br /&gt;   в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)&lt;br /&gt;   в System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)&lt;br /&gt;   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;   в System.Windows.Threading.DispatcherOperation.InvokeImpl()&lt;br /&gt;   в System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)&lt;br /&gt;   в System.Threading.ExecutionContext.runTryCode(Object userData)&lt;br /&gt;   в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)&lt;br /&gt;   в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;   в System.Windows.Threading.DispatcherOperation.Invoke()&lt;br /&gt;   в System.Windows.Threading.Dispatcher.ProcessQueue()&lt;br /&gt;   в System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;   в System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)&lt;br /&gt;   в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)&lt;br /&gt;   в MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp;amp; msg)&lt;br /&gt;   в System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)&lt;br /&gt;   в System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)&lt;br /&gt;   в System.Windows.Threading.Dispatcher.Run()&lt;br /&gt;   в System.Windows.Application.RunDispatcher(Object ignore)&lt;br /&gt;   в System.Windows.Application.RunInternal(Window window)&lt;br /&gt;   в System.Windows.Application.Run(Window window)&lt;br /&gt;   в MyRobot.Program.Main(String[] args) в C:\Users\Алексей\Desktop\МТС\StockSharp\MyRobot\Robot\Startup.cs:строка 32&lt;br /&gt;   в System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&lt;br /&gt;   в System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;br /&gt;   в Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br /&gt;   в System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;br /&gt;   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;   в System.Threading.ThreadHelper.ThreadStart()&lt;/div&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/14564/</id>
    <title type="text">Написал this.SellAtMarket(0m) и вылетело исключение, что не определен параметр u2. Как правильно исп...</title>
    <published>2011-12-13T09:52:38Z</published>
    <updated>2011-12-13T09:52:38Z</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;freelancer &lt;a href="https://stocksharp.com/posts/m/14563/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Написал this.SellAtMarket(0m) и вылетело исключение, что не определен параметр u2.&lt;br /&gt;Как правильно использовать эти методы (со своим объёмом тоже) ?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Чему равен Strategy.Volume перед вызовом метода?&lt;br /&gt;Покажите стэк трэйс.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/14563/</id>
    <title type="text">Написал this.SellAtMarket(0m) и вылетело исключение, что не определен параметр u2. Как правильно исп...</title>
    <published>2011-12-13T09:30:28Z</published>
    <updated>2011-12-13T09:30:28Z</updated>
    <author>
      <name>freelancer</name>
      <uri>https://stocksharp.com/users/28572/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Написал this.SellAtMarket(0m) и вылетело исключение, что не определен параметр u2.&lt;br /&gt;Как правильно использовать эти методы (со своим объёмом тоже) ?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>