﻿<?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">Forum. StockSharp</title>
  <id>https://stocksharp.com/handlers/atom.ashx?category=forum&amp;page=14</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-14T22:22:10Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=forum&amp;page=14" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/topic/8767/</id>
    <title type="text">Problems registering security for level 1 price updates</title>
    <published>2017-10-29T22:07:59Z</published>
    <updated>2017-11-01T22:54:50Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="RegisterSecurity" />
    <category term="RegisteredSecurities" />
    <content type="html">&lt;p&gt;I have a windows service that hosts a web api interface. The service connects to an interactive broker TWS. A call to the web api must register the security to receive level 1 price updates. The code to do this is:&lt;/p&gt;
&lt;p&gt;if (_connector.RegisteredSecurities.Count(s =&amp;gt; s.Id == securityId) == 0)
{
var onSecurityChanged = new Action&lt;Security&gt;(s =&amp;gt;
{
if (s.Id != securityId)
return;
if (s.BestBid != null &amp;amp;&amp;amp; s.BestAsk != null)
waitHandle.Set();
});&lt;/p&gt;
&lt;p&gt;_connector.SecurityChanged += onSecurityChanged;&lt;/p&gt;
&lt;p&gt;_connector.RegisterSecurity(security);
waitHandle.WaitOne(30000);&lt;/p&gt;
&lt;p&gt;_connector.SecurityChanged -= onSecurityChanged;
}&lt;/p&gt;
&lt;p&gt;if ((security.BestBid == null) || (security.BestAsk == null))
{
throw new InvalidOperationException(&amp;quot;Unable to obtain quotes&amp;quot;);
}&lt;/p&gt;
&lt;p&gt;The problem is the security does not get registered. Even on a second or third pass. The RegisteredSecurities  collection stays empty.&lt;/p&gt;
&lt;p&gt;I have tested it with securities with the following ids: &amp;quot;SPZ7@GLOBEX&amp;quot;, &amp;quot;SPXW  171215C02580000@SMART&amp;quot;&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Johan Kirsten&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8770/</id>
    <title type="text">Problems with lookup of security</title>
    <published>2017-10-30T22:07:51Z</published>
    <updated>2017-10-31T22:39:52Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="LookupSecurities" />
    <category term="SecurityLookupMessage" />
    <content type="html">&lt;p&gt;I have a windows service that hosts a web api interface. The service connects to an interactive broker TWS. A call to the web api must lookup the security and return the Id. The code to do this is:
var criteria = new SecurityLookupMessage()
{
Class = &amp;quot;&amp;quot;,
ExpiryDate = DateTimeOffset.Parse(expiryDate),
OptionType = optionType == null ? default(OptionTypes?) : (OptionTypes)Enum.Parse(typeof(OptionTypes), optionType),
Strike = strike,
UnderlyingSecurityCode = underlyingSecurityCode,
SecurityType = securityType == null ? default(SecurityTypes?) : (SecurityTypes)Enum.Parse(typeof(SecurityTypes), securityType),
};&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;                    var security = _connector.Securities.FirstOrDefault(s =&amp;gt;
                        (s.UnderlyingSecurityId.StartsWith(criteria.UnderlyingSecurityCode)) &amp;amp;&amp;amp;
                        (s.Board?.Code == boardCode) &amp;amp;&amp;amp;
                        (s.Class == @class) &amp;amp;&amp;amp;
                        (s.Type == criteria.SecurityType) &amp;amp;&amp;amp;
                        (s.ExpiryDate == criteria.ExpiryDate) &amp;amp;&amp;amp;
                        (s.OptionType == criteria.OptionType) &amp;amp;&amp;amp;
                        (s.Strike == criteria.Strike));

                    if (security == null)
                    {
                        var onNewSecurity = new Action&amp;lt;Security&amp;gt;(s =&amp;gt;
                        {
                            if ((!s.UnderlyingSecurityId.StartsWith(criteria.UnderlyingSecurityCode)) ||
                                (s.Type != criteria.SecurityType) ||
                                (s.Board?.Code != boardCode) ||
                                (s.Class != @class) || 
                                (s.ExpiryDate != criteria.ExpiryDate) ||
                                (s.OptionType != criteria.OptionType) ||
                                (s.Strike != criteria.Strike) )
                                return;

                            waitHandle.Set();
                        });

                        _connector.NewSecurity += onNewSecurity;

                        _connector.LookupSecurities(criteria);

                        waitHandle.WaitOne(30000);

                        _connector.NewSecurity -= onNewSecurity;

                        security = _connector.Securities.FirstOrDefault(s =&amp;gt;
                            (s.UnderlyingSecurityId.StartsWith(criteria.UnderlyingSecurityCode)) &amp;amp;&amp;amp;
                            (s.Board?.Code == boardCode) &amp;amp;&amp;amp;
                            (s.Class == @class) &amp;amp;&amp;amp;
                            (s.Type == criteria.SecurityType) &amp;amp;&amp;amp;
                            (s.ExpiryDate == criteria.ExpiryDate) &amp;amp;&amp;amp;
                            (s.OptionType == criteria.OptionType) &amp;amp;&amp;amp;
                            (s.Strike == criteria.Strike));
                    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If I search for &amp;quot;SPZ7@GLOBEX&amp;quot; and then &amp;quot;SPXW  171215C02580000@SMART&amp;quot; it works fine. But if I first search for &amp;quot;SPXW  171215C02580000@SMART&amp;quot;, then it cannot find &amp;quot;SPZ7@GLOBEX&amp;quot;. It is like the option prohibits the searching of the future. Also, sometimes if I search for the option first, then it only finds  &amp;quot;SPXW  171215C02580000@ALL&amp;quot; and  &amp;quot;SPXW  171215C02580000@CBOE&amp;quot;, but then if I search again no search returns &amp;quot;SPXW  171215C02580000@SMART&amp;quot;. It is like the incomplete loaded results prohibit the later loading of extra results.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8481/</id>
    <title type="text">Charting to build custom chart</title>
    <published>2017-08-08T16:34:53Z</published>
    <updated>2017-10-28T14:21:03Z</updated>
    <author>
      <name>np74</name>
      <uri>https://stocksharp.com/users/96813/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I looked at your charting sample and i am interested in building point and figure charts, can you please guide how can i do it , is it possible to override chart.draw to do custom drawing?&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8064/</id>
    <title type="text">Candle.IsBullishOrBearish() never returns false (i.e. is never Bearish!)</title>
    <published>2017-02-05T22:35:35Z</published>
    <updated>2017-06-13T06:05:26Z</updated>
    <author>
      <name>Sean Kenwrick</name>
      <uri>https://stocksharp.com/users/98038/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;I noticed that the above method never returns 'false' and so cannot indicate bearish signals.    The source code is as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;           ```
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;/// &lt;summary&gt;
/// Whether the candle is bullish or bearish.
/// &lt;/summary&gt;
/// &lt;param name="candle"&gt;The candle which should be checked for the trend.&lt;/param&gt;
/// &lt;returns&gt;&lt;see langword="true" /&gt; if bullish, &lt;see langword="false" /&gt;, if bearish, &lt;see langword="null" /&gt; - neither one nor the other.&lt;/returns&gt;
public static bool? IsBullishOrBearish(this Candle candle)
{
if (candle == null)
throw new ArgumentNullException(nameof(candle));&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;		var isWhiteOrBlack = candle.IsWhiteOrBlack();

		switch (isWhiteOrBlack)
		{
			case true:
				if (candle.GetBottomShadow() &amp;gt;= candle.GetBody())
					return true;
				break;
			case false:
				if (candle.GetTopShadow() &amp;gt;= candle.GetBody())
					return true;
				break;
		}

		return null;
	}
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
I'm guessing that the second case should return 'false' .   It looks to me like the top case is looking for an inverted hammer (bullish),  whereas the bottom case is looking for a shooting star (bearish).   However shouldn't it also be looking at the other shadows in each case since we want a short shadow opposite the long shadows for both inverted hammer and shooting start right??    Am I missing something?



&lt;/code&gt;&lt;/pre&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8238/</id>
    <title type="text">StockSharp with VisualStudio 2010 and Windows Forms Application</title>
    <published>2017-04-24T20:14:32Z</published>
    <updated>2017-04-25T13:39:53Z</updated>
    <author>
      <name>Shubha </name>
      <uri>https://stocksharp.com/users/98371/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We are building a trading application using StockSharp APIs for strategy and backtesting. Our application is built using Visual Studio 2010, .NET 4.0. When trying to add reference to S# libraries to VS 2010 project, it shows the following errors.&lt;/p&gt;
&lt;p&gt;Please let us know how these errors can be overcome. Also our application is built as a Windows FOrms Application and not WPF application. All the videos and sample code point to VS 2015 and WPF application. We would like to know it StockSharp can be used for projects built using VS2010 and specifically Windows Forms.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Following erros are seen when trying to build VS 2010 project after adding reference to S# libraries&lt;/p&gt;
&lt;p&gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.Algo&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.Quik&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.BusinessEntities&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;Ecng.Xaml&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.Logging&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;Ecng.Xaml&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.Algo&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.Quik&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;Ecng.Serialization&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;Ecng.ComponentModel&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot; which the referenced assembly &amp;quot;StockSharp.BusinessEntities&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; which the referenced assembly &amp;quot;StockSharp.Algo&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; which the referenced assembly &amp;quot;StockSharp.Quik&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; which the referenced assembly &amp;quot;StockSharp.BusinessEntities&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; which the referenced assembly &amp;quot;StockSharp.Algo&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; which the referenced assembly &amp;quot;StockSharp.Quik&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3253: The currently targeted framework &amp;quot;.NETFramework,Version=v4.0,Profile=Client&amp;quot; does not include &amp;quot;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; which the referenced assembly &amp;quot;StockSharp.BusinessEntities&amp;quot; depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8146/</id>
    <title type="text">Can&amp;apos;t get data into Hydra</title>
    <published>2017-03-12T22:40:05Z</published>
    <updated>2017-03-18T17:49:03Z</updated>
    <author>
      <name>MerlinBrasil</name>
      <uri>https://stocksharp.com/users/97597/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;At the bottom line of S#.Data (Hydra) - release 4.3.22 I'm getting an error message which begins with:&lt;/p&gt;
&lt;p&gt;11:09:43  System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:8000/. The connection attempt lasted for a time span of 00:00:02.0038758. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8000.  ---&amp;gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8000&lt;/p&gt;
&lt;p&gt;I've got an LMAX demo account but am unable to get any data into Hydra or Designer&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks,
Merlin&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8087/</id>
    <title type="text">Cannot generate Bars from TrueFX Level 1 Data</title>
    <published>2017-02-19T08:00:01Z</published>
    <updated>2017-02-19T13:12:41Z</updated>
    <author>
      <name>Vazy</name>
      <uri>https://stocksharp.com/users/97948/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;When I look at the &amp;quot;Level 1&amp;quot; Screen I'm able to load the data for a particular symbol and time interval.&lt;/p&gt;
&lt;p&gt;However, when I try to load the data for the same symbol and time interval in the &amp;quot;Candles&amp;quot; window and I select Build From: Level 1, it says &amp;quot;No Data&amp;quot;&lt;/p&gt;
&lt;p&gt;Why cant I generate bars from TrueFX data?&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8022/</id>
    <title type="text">problem with lmax</title>
    <published>2017-01-19T08:33:48Z</published>
    <updated>2017-01-22T15:59:24Z</updated>
    <author>
      <name>andros</name>
      <uri>https://stocksharp.com/users/95428/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;please see the attached image for lmax connecting errors
Can you please advice on a solution.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/7802/</id>
    <title type="text">Cant get S#Designer to Access Data</title>
    <published>2017-01-10T01:13:55Z</published>
    <updated>2017-01-12T07:58:50Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I downloaded the past year of  5 minute bars for SPFB.BR from Finam directly into S#designer. I see the data was saved to the location in screenshot 1.jpg.
I then tried to backtest the &amp;quot;Sample Candles&amp;quot; strategy over the data (see 2.jpg and 3.jpg), but got the error message in 4.jpg.&lt;/p&gt;
&lt;p&gt;It seems S#Designer cannot find the data in the folder I stored it in, but the data is there.&lt;/p&gt;
&lt;p&gt;Any idea what the issue is?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/7808/</id>
    <title type="text">Barchart Integration</title>
    <published>2017-01-12T02:08:58Z</published>
    <updated>2017-01-12T07:34:50Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to download historical Options data from Barchart into Designer or Hydra?&lt;/p&gt;
&lt;p&gt;I ask because I'm currently using a demo of Barcharts API and they do not seem sure if Barnhart's API is integrated with Stocksharp.&lt;/p&gt;
&lt;p&gt;What exactly should I ask Barchart for if this is currently possible?&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/6936/</id>
    <title type="text">Backtesting and Optimization</title>
    <published>2016-09-28T21:43:43Z</published>
    <updated>2017-01-12T07:00:52Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Backtest" />
    <content type="html">&lt;p&gt;Hello everyone, couple questions regarding Backtesting and Optimization in StockSharp.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;How does Stocksharp calculate fills exactly when backtesting? I have .CSV files of Bid/Ask data showing &lt;u&gt;every&lt;/u&gt; change in Bid/Ask price. Can Stocksharp use this Bid/Ask data fill orders when backtesting? Or will it Fill on &amp;quot;Last&amp;quot; prices?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can level2 data be used when backtesting in Stocksharp?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Does Stocksharp have Optimization tools? Such as Brute Force Optimization and Genetic Optimization?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Cheers&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/7803/</id>
    <title type="text">S# Data (Hydra) CSV Import</title>
    <published>2017-01-10T02:42:58Z</published>
    <updated>2017-01-11T14:09:18Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I've been having from trouble importing the CSV format shown in attached 1.csv into S# Data (Hydra).&lt;/p&gt;
&lt;p&gt;Would really appreciate if you posted a version of attached 2.jpg that shows the exact settings I'd use to import the CSV.&lt;/p&gt;
&lt;p&gt;Note:
-1.csv is Level 1 Quote data.
-The last 3 digits in 1.csv's &amp;quot;Time&amp;quot; Column are milliseconds.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/7800/</id>
    <title type="text">S# Data (Hydra) error</title>
    <published>2017-01-09T21:58:30Z</published>
    <updated>2017-01-11T13:39:36Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm getting an error message when i try to download data from Yahoo into S# Data (Hydra). The Log messages are attached. Any idea what the issue is?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/6962/</id>
    <title type="text">Optimization Speed </title>
    <published>2016-10-26T20:09:38Z</published>
    <updated>2016-11-02T16:27:08Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="backtesting" />
    <category term="optimization" />
    <content type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What is the fastest way to run an Optimization (and backtest) in S#Designer?&lt;/p&gt;
&lt;p&gt;I ask because the instructions shown here &lt;a href="http://stocksharp.com/forum/6939/Brute-Force-Optimization-in-SDesigner-/#m37163"&gt;http://stocksharp.com/forum/6939/Brute-Force-Optimization-in-SDesigner-/#m37163&lt;/a&gt; seem to require S#Designer to read market data from a .CSV file for each Optimization (rather then importing the data from the .CSV once and converting it to a format machines can read/process faster then a classical .CSV)&lt;/p&gt;
&lt;p&gt;Perhaps there is a way to use S#Data to convert the .CSV data to a format S#Designer can use to speed up Optimizations (and backtests)?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/6938/</id>
    <title type="text">Possible to Calculate Option Greeks in S#.Designer?</title>
    <published>2016-09-30T00:14:01Z</published>
    <updated>2016-10-26T22:46:50Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;Is it possible to calculate Option Greeks in S#.Designer?&lt;/p&gt;
&lt;p&gt;I ask because I added an &amp;quot;Indicator&amp;quot; block and scrolled through the indicators available, but did not see any Options related Indicators (such as Black Scholes, Delta, Vega and so on).&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/6939/</id>
    <title type="text">Brute Force Optimization in S#.Designer ?</title>
    <published>2016-09-30T23:27:37Z</published>
    <updated>2016-10-16T18:13:16Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="optimization" />
    <content type="html">&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;How does one do Brute Force Optimization in S#.Designer?&lt;/p&gt;
&lt;p&gt;I can't seem to find any buttons/info related to it when I look through S#.Designer's GUI.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/5215/</id>
    <title type="text">Ecng DLLs</title>
    <published>2016-01-27T20:03:41Z</published>
    <updated>2016-01-27T20:03:41Z</updated>
    <author>
      <name>dalebru</name>
      <uri>https://stocksharp.com/users/95163/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <content type="html">&lt;p&gt;I'm not familiar with Ecng and I see they are heavily referenced. (Ecng.Collections, Ecng.Serialization, etc.)
Who owns them?
Are they open source?
Is the source code posted somewhere?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/4942/</id>
    <title type="text">StockSharp</title>
    <published>2015-03-25T18:25:40Z</published>
    <updated>2015-03-25T18:25:40Z</updated>
    <author>
      <name>angus</name>
      <uri>https://stocksharp.com/users/73130/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <content type="html">&lt;p&gt;I am a fairly adequate programmer but unable to get StockSharp to build:&lt;/p&gt;
&lt;p&gt;For instance I try to build project Xaml I get:&lt;/p&gt;
&lt;p&gt;Error	120	'Could not load file or assembly 'ActiproSoftware.Editors.Wpf, Version=11.2.555.0, Culture=neutral, PublicKeyToken=36ff2196ab5654b9' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'	C\StockSharp-master\Xaml\LC	Xaml&lt;/p&gt;
&lt;p&gt;The assembly is there and its identical to the one which gets downloaded when I install the exe so its not environmental.&lt;/p&gt;
&lt;p&gt;Angus&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/4846/</id>
    <title type="text">How to change DisplayName of a StatisticParameterGrid?</title>
    <published>2014-12-20T11:12:28Z</published>
    <updated>2014-12-20T11:12:28Z</updated>
    <author>
      <name>sunrising</name>
      <uri>https://stocksharp.com/users/50864/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <content type="html">&lt;p&gt;Hi everybody,&lt;/p&gt;
&lt;p&gt;I wonder if someone has ever changed a DisplayName inside a StatisticParameterGrid.
Actually I'm trying to show the StatisticsParameter on the user interface in English.
The problem is that the items are Russian only and that particular property (&amp;lt;&lt;em&gt;IStatisticsParameter&lt;/em&gt;&amp;gt; DisplayName) has no setter so i cannot overwrite them 'on the fly'.&lt;/p&gt;
&lt;p&gt;This is what i was trying to do (TicksParameterGrid is the name of my StatisticParameterGrid):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;TicksParameterGrid.Parameters[0].DisplayName = &amp;quot;newName&amp;quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Can anyone help me? thanks!&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/4804/</id>
    <title type="text">HistoryEmulationConnector -&amp;gt; Ignoring consecutive orders</title>
    <published>2014-11-08T14:32:29Z</published>
    <updated>2014-11-08T14:32:29Z</updated>
    <author>
      <name>sunrising</name>
      <uri>https://stocksharp.com/users/50864/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <content type="html">&lt;p&gt;Hey Guys,&lt;/p&gt;
&lt;p&gt;I'm testing out a simple strategy basically based on moving averages interconnection.&lt;/p&gt;
&lt;p&gt;History Emulation Connector is used to simulate connection with Quik.&lt;/p&gt;
&lt;p&gt;The main problem at the moments:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Once I shoot 2 consecutive orders with almost no delay between them, the system registers both of them, but the HistoryEmulationConnector  fires &amp;quot;NewMyTrades&amp;quot; event only for the second order, completely ignoring the first one (orders #4 and #5 in the attached log).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please find attached log generated by Stock# LogManager.&lt;/p&gt;
&lt;p&gt;Thank you very much for your help in advance.&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;
</content>
  </entry>
</feed>