﻿<?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">backtest exception: ArgumentOutOfRangeException for unrealizedPnlInterval</title>
  <id>~/topic/11777/backtest-exception-argumentoutofrangeexception-for-unrealizedpnlinterval/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-05-02T00:09:43Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=11777" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/50299/</id>
    <title type="text">Hello Please make sure End date is more than Begin date.</title>
    <published>2020-05-05T01:11:41Z</published>
    <updated>2020-05-05T01:11:54Z</updated>
    <author>
      <name>Support</name>
      <uri>https://stocksharp.com/users/97869/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hello&lt;br /&gt;&lt;br /&gt;Please make sure End date is more than Begin date.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/50289/</id>
    <title type="text">I checked out backtest settings, unrealizedPnlInterval is 00:01:00, I guess this is 1minute. Shell 5...</title>
    <published>2020-05-04T12:31:28Z</published>
    <updated>2020-05-04T12:31:28Z</updated>
    <author>
      <name>Jun Feng</name>
      <uri>https://stocksharp.com/users/108299/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I checked out backtest settings, unrealizedPnlInterval is 00:01:00, I guess this is 1minute.&lt;br /&gt;&lt;br /&gt;Shell	5/4/2020 5:29:11 PM +08:00	Error	System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.&lt;br /&gt;   at StockSharp.Algo.Strategies.Strategy.set_UnrealizedPnLInterval(TimeSpan value)&lt;br /&gt;   at Shell.Strategies.SmaStrategy.XAML.SmaTestingControl.StartStrategyButton_Click(Object sender, RoutedEventArgs e)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   at System.Windows.Controls.Primitives.ButtonBase.OnClick()&lt;br /&gt;   at System.Windows.Controls.Button.OnClick()&lt;br /&gt;   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)&lt;br /&gt;   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)&lt;br /&gt;   at System.Windows.Input.InputManager.ProcessStagingArea()&lt;br /&gt;   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)&lt;br /&gt;   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)&lt;br /&gt;   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)&lt;br /&gt;   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>