﻿<?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">Community. StockSharp</title>
  <id>https://stocksharp.com/handlers/atom.ashx?category=community&amp;page=37</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-04T09:13:46Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=community&amp;page=37" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/topic/8889/</id>
    <title type="text">Retrieve Historical Candles</title>
    <published>2017-12-03T12:10:39Z</published>
    <updated>2017-12-06T16:04:03Z</updated>
    <author>
      <name>Herchel</name>
      <uri>https://stocksharp.com/users/100008/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="API" />
    <category term="Backtest" />
    <category term="candles" />
    <category term="back test" />
    <category term="robot" />
    <content type="html">&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I'm enjoying using the S# API and so fat it's been easy to use.&lt;/p&gt;
&lt;p&gt;I'm retrieving some historical candles to backtest my robot on, and once I call trader.SubscribeCandles I get a new candle each time I get the trader.ProcessCandle event which works great. Is there an event that is fired to show that all candles have been received&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8878/</id>
    <title type="text">Cyber.... Wednesday!</title>
    <published>2017-11-29T19:14:25Z</published>
    <updated>2017-11-29T19:39:10Z</updated>
    <author>
      <name>William B</name>
      <uri>https://stocksharp.com/users/7/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="StockSharp" />
    <category term="Edu" />
    <category term="Algorithmic trading" />
    <category term="trading" />
    <category term="education" />
    <content type="html">&lt;p&gt;[center][img=105349][/img][/center]
[b]CyberWednesday today[/b]! Short term. Great discount. Do not miss your chance!!!&lt;/p&gt;
&lt;p&gt;[color=red] [b][size=7]Save up to 30%!!!![/size][/b][/color] [size=7][b][color=green]Only 1 day![/color][/b][/size]
[list]
[&lt;em&gt;][url=http://stocksharp.com/edu/]Training courses with samples and support![/url]
[&lt;/em&gt;][url=http://stocksharp.com/products/pricing/]Maximum licenses on HFT connectors![/url]
[*][url=http://stocksharp.com/products/pricing/]Special offer for source codes![/url]
[/list]
Only today our unique offer - [b]perpetual [url=http://stocksharp.com/products/pricing/]extended license[/url][/b] only [url=http://stocksharp.com/services/payclick.aspx?orderId=ptid-1&amp;amp;amount=190&amp;amp;usd=1&amp;amp;description=ExtendedLic]190 usd[/url]! [b]No training courses or opened account required!
[/b]
Hurry up! Get this deal!&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8814/</id>
    <title type="text">Unable to load existing position from storage</title>
    <published>2017-11-10T10:22:07Z</published>
    <updated>2017-11-21T18:52:26Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Storage" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Using my application I opened a position in SPXW call. My application uses CSV storage, so it should have been stored. If I open my application the existing position does not get loaded. I have attached a console application that loads and connects using the storage my own application created. I have included the csv store in the zip file. It is in the bin/debug/data directory. Please look at the store. Did the position save to the store? If so, why does it not load? I also included the connector log in the bin/debug/logs directory.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8802/</id>
    <title type="text">BTC vs BTC. Arbitrage!</title>
    <published>2017-11-08T02:39:55Z</published>
    <updated>2017-11-14T18:08:51Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Arbitrage" />
    <category term="bitcoin" />
    <category term="cryptocurrency" />
    <category term="exchange" />
    <content type="html">&lt;p&gt;Recently, interest in crypto currencies has grown in leaps and bounds. New exchanges have opened, hard forks, ICO, new crypto-currencies are being created and this whole movement generates a huge sea of opportunities.&lt;/p&gt;
&lt;p&gt;One of these opportunities will be discussed in this short article.&lt;/p&gt;
&lt;p&gt;Not so long ago, we launched the [url=http://crowd.stocksharp.com/product/crypto/][size=7]crowdfunding project to create new connectors to 10 crypto-exchanges[/size][/url] ([b]Bitfinex, Coinbase, Kraken, Poloniex, GDAX, Bittrex, Bithumb, HitBTC, OKCoin, Coincheck[/b]), while the two connectors to Wex.nz and Bitstamp are already implemented in our platform. This project would not be needed if the currencies were traded more centrally, but the number of exchanges already exceeded a few dozen. More connectors, more stable trading, and more entry points for arbitrage bitcoins and other popular crypto currency.&lt;/p&gt;
&lt;p&gt;The target function of any exchange is to match buyers with sellers, but the price of an asset at which bidders are trying to make a deal can be different! Since the digital assets economy is just beginning, this difference can be very significant.&lt;/p&gt;
&lt;p&gt;This fact gives rise to the possibility of so-called arbitrage - to buy assets when they are cheaper and sell when they are more expensive.&lt;/p&gt;
&lt;p&gt;Let's see an example. The screenshots below of exchanges are further made at the same time.&lt;/p&gt;
&lt;p&gt;GDAX BTC order book:&lt;/p&gt;
&lt;p&gt;[img=105228]Gdax BTC[/img]&lt;/p&gt;
&lt;p&gt;BTC quoting by $7 313,88 price.&lt;/p&gt;
&lt;p&gt;For the same BTC on Wex.nz&lt;/p&gt;
&lt;p&gt;[img=105226]Wex BTC[/img]&lt;/p&gt;
&lt;p&gt;Same BTC but price already $7 373
Another exchange - Poloniex:&lt;/p&gt;
&lt;p&gt;[img=105227]Poloniex BTC[/img]&lt;/p&gt;
&lt;p&gt;BTC has a price of $7 323&lt;/p&gt;
&lt;p&gt;No comments ;-)&lt;/p&gt;
&lt;p&gt;[url=http://crowd.stocksharp.com/product/crypto/][size=7]Join our shared campaign of creating new connectors[/size][/url] and we will provide you with technical tools for arbitrage between exchanges (and, consequently, earnings on this strategy). Particularly important, we will provide an [url=http://stocksharp.com/robot/18/edward-scissorhands/][b]automated trading robot[/b][/url], which has already been performing arbitrage trading with Bitcoin for almost a year.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8799/</id>
    <title type="text">Receiving TimeoutException</title>
    <published>2017-11-07T17:33:55Z</published>
    <updated>2017-11-13T15:36:09Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="TimeoutException" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have moved my application to my server, but on connecting I get an error:
[code]
2017/11/07 16:31:02.182|Error  |BasketMessageAdapter|Connection error for InteractiveBrokersMessageAdapter: System.TimeoutException: Connection was not established in allowed time.
2017/11/07 16:31:02.183|Error  |InteractiveBrokersTrader|System.TimeoutException: Connection was not established in allowed time.
[/code]&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8815/</id>
    <title type="text">Duplicate order id</title>
    <published>2017-11-10T16:12:13Z</published>
    <updated>2017-11-13T12:23:45Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Orders" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When I register an new order it does not reflect in IB TWS. In the connector log I get the following error:&lt;/p&gt;
&lt;p&gt;[code]
2017/11/10 15:07:32.572|       |InteractiveBrokersTrader|RegisterOrder: 0/ SPXW  171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=None Bal=0
2017/11/10 15:07:32.572|       |InteractiveBrokersTrader|New order: 54387931/ SPXW  171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=Pending Bal=1.00
2017/11/10 15:07:33.750|Debug  |IBSocket  |Msg: ErrorMessage
2017/11/10 15:07:33.751|       |IBSocket  |Duplicate order id
2017/11/10 15:07:33.753|Error  |InteractiveBrokersTrader|OrderRegisterFailed
54387931/ SPXW  171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=Failed Bal=1.00
System.InvalidOperationException: Duplicate order id
[/code]&lt;/p&gt;
&lt;p&gt;This only occurs when I enable storage, ie initialize storage&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8796/</id>
    <title type="text">Storing positions</title>
    <published>2017-11-06T22:27:33Z</published>
    <updated>2017-11-06T22:27:33Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99551/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="StorageRegistry" />
    <category term="InitializeStorage" />
    <category term="StorageAdapter" />
    <category term="EntityRegistry" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I need to store my positions so that when my application starts up it can load the existing positions. The code I use is:&lt;/p&gt;
&lt;p&gt;[code]
var dataPath = @&amp;quot;Data&amp;quot; + _connectorAccount.AccountName;
_entityRegistry = new CsvEntityRegistry(dataPath);
_storageRegistry = new StorageRegistry
{
DefaultDrive = new LocalMarketDataDrive(dataPath)
};&lt;/p&gt;
&lt;p&gt;_connector.InitializeStorage(_entityRegistry, _storageRegistry);
_entityRegistry.Init();&lt;/p&gt;
&lt;p&gt;_connector.StorageAdapter.DaysLoad = DateTime.Now.Subtract(_connectorAccount.StartTrading.Value);&lt;/p&gt;
&lt;p&gt;_connector.StorageAdapter.Format = StorageFormats.Csv;
_connector.StorageAdapter.Load();
[/code]&lt;/p&gt;
&lt;p&gt;The problem is that when I connect to TWS, I get the following error message:&lt;/p&gt;
&lt;p&gt;Message 'Connect,T(L)=2017/11/06 21:25:31.278,Error=At least one connection should be made.' caused processing error.&lt;/p&gt;
&lt;p&gt;with inner exception message:&lt;/p&gt;
&lt;p&gt;The given key was not present in the dictionary.&lt;/p&gt;
&lt;p&gt;and inner exception stack trace:&lt;/p&gt;
&lt;p&gt;at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary&lt;code&gt;2.get_Item(TKey key) at Ecng.Collections.SynchronizedDictionary&lt;/code&gt;2.get_Item(TKey key)
at StockSharp.Algo.Connector.ProcessConnectMessage(BaseConnectionMessage message)
at StockSharp.Algo.Connector.OnProcessMessage(Message message)&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8795/</id>
    <title type="text">Binary Storage Corrupted</title>
    <published>2017-11-04T18:51:54Z</published>
    <updated>2017-11-05T12:13:00Z</updated>
    <author>
      <name>Sean Kenwrick</name>
      <uri>https://stocksharp.com/users/98038/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Binary" />
    <category term="Storage" />
    <category term="Corrupt" />
    <content type="html">&lt;p&gt;I have been having problems with Saving and Loading candle data from local Binary storage.       When I save a set of s# candles to local storage, then immediately reload that data into another list of candles - if I compare the two lists I see several short sequences of candles where the data is not the same and has been corrupted.&lt;/p&gt;
&lt;p&gt;I have attached a small winforms program that demonstrates this issue.     In this program there are 5 buttons which to the following actions:&lt;/p&gt;
&lt;p&gt;[list]
[*]
Delete Existing S# binary Storage
Read a JSON file containing historical 5 minute candle data and and convert to S# Candles
Save the S# candles to local Binary storage
Load the local Binary storage to a second list of s# candles.
Iterate over the two lists and print out any differences.[/list]&lt;/p&gt;
&lt;p&gt;This has been causing me a great deal of problems with analyzing historical data since the data I am loaded has nonsense values and causes indicators to give wildly inaccurate values!&lt;/p&gt;
&lt;p&gt;Please can you check the attached application and see if I am doiny anything wrong, or if there is indeed a problem with binary storage..&lt;/p&gt;
&lt;p&gt;Thanks
Sean Kenwrick&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8785/</id>
    <title type="text">Populating order collection</title>
    <published>2017-11-01T23:05:37Z</published>
    <updated>2017-11-02T13:34:33Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Orders" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How do I get Orders collection on connector populated with my open orders after connecting the connector? (i.e. if I have open orders on application startup and want to access them through Orders collection)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8784/</id>
    <title type="text">Accessing mytrade details</title>
    <published>2017-11-01T23:03:47Z</published>
    <updated>2017-11-01T23:03:47Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="MyTrade" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How do I get S# to trigger NewMyTrade? And how do I get MyTrade collection populated after connecting? (If I already have open trades and then start my application)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8783/</id>
    <title type="text">Problems registering for trade updates</title>
    <published>2017-11-01T22:59:45Z</published>
    <updated>2017-11-01T23:01:40Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="RegisterTrades" />
    <content type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I tried to register for trade updates by calling RegisterTrades(security), but then I received the error message: No suitable adapter found for Trades S#:SPXW  171215C02580000@SMART, Native:,Type:Option. I trade through IB TWS&lt;/p&gt;
&lt;p&gt;How do I fix this?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</content>
  </entry>
  <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/8726/</id>
    <title type="text">This weekend will be hot</title>
    <published>2017-10-20T15:45:52Z</published>
    <updated>2017-10-20T15:45:52Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Options" />
    <category term="Terminal" />
    <category term="Volatility smile" />
    <category term="Options desk" />
    <content type="html">&lt;p&gt;No plans for this weekends? We’ve got them for you! Start option trading with our new Terminal!&lt;/p&gt;
&lt;p&gt;[center][youtube]https://www.youtube.com/watch?v=cWWzVwngdlk[/youtube][/center]&lt;/p&gt;
&lt;p&gt;Three reasons to download and try right now:
[list=1]
[&lt;em&gt;]Get positive mood from volatility smile.
[&lt;/em&gt;]Full throttle with your new greek buddies - Vega and Delta.
[*]Look at your gorgeous option pose (for girls only).
[/list]
Still have questions? Knock-knock on [url=http://stocksharp.com/chat/]our chat room[/url]. We will discuss, listen, and embrace.&lt;/p&gt;
&lt;p&gt;[center][url=http://stocksharp.com/products/terminal/][color=red][size=7][b]&amp;gt;&amp;gt; Download for free right now &amp;lt;&amp;lt;[/b][/size][/color][/url][/center]&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8514/</id>
    <title type="text">Hydra - release 4.3.26.1</title>
    <published>2017-08-24T18:06:00Z</published>
    <updated>2017-08-24T18:06:29Z</updated>
    <author>
      <name>William B</name>
      <uri>https://stocksharp.com/users/7/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="StockSharp" />
    <category term="Hydra" />
    <category term="datamining" />
    <category term="Algorithmic trading" />
    <content type="html">&lt;p&gt;[img=104756][/img]&lt;/p&gt;
&lt;p&gt;Hello, friends! Despite the summer months, we continue to work on the project and release a new version of [url=http://stocksharp.com/products/hydra/]Hydra[/url]!
In the new release, we added many key improvements. Here are some of them:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We have added some new sources of historical and market data [url=https://www.fxcm.com/]FXCM[/url], [url=http://www.continuumtradingsolutions.com]CQG Continuum[/url], FAST.&lt;/li&gt;
&lt;li&gt;Quik lua. Historical candles.&lt;/li&gt;
&lt;li&gt;Documentation embedded links.&lt;/li&gt;
&lt;li&gt;Positions tracking. All information about positions, comissions, margin etc.&lt;/li&gt;
&lt;li&gt;Depths. Show histogram for volumes
[img=104757][/img]&lt;/li&gt;
&lt;li&gt;Depths and level1. Show spread chart.
[img=104758][/img]&lt;/li&gt;
&lt;li&gt;Ticks pane. Show tick chart
[img=104759][/img]&lt;/li&gt;
&lt;li&gt;Auto importing tool.
9.Symbol mapping manager. Additional [url=http://doc.stocksharp.com/html/aa54fb3f-ed47-4291-9cc6-34840bab4fff.htm]info[/url].&lt;/li&gt;
&lt;li&gt;Indicator values building. Allows you to calculate the indicator values inside Hydra and save them to an external file for further analysis, or visualize using a graph.
[img=104760][/img]
[img=104761][/img]&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We invite everyone to download the new version and evaluate the changes yourself.&lt;/p&gt;
&lt;p&gt;For all newcomers who want to evaluate the full power of the updated S # .API platform, we offer a [u]discount[/u] [url=http://stocksharp.com/edu/] for training course[/url] [color=red] [B] in the amount of 10% [/b] [/color] before the end of the month!
[b][center][size=7][url=http://stocksharp.com/products/download/][color=green]&amp;gt;&amp;gt; Download &amp;lt;&amp;lt;[/color][/url][/size][/center][/b]&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;           [code] /// &amp;lt;summary&amp;gt;
	/// Whether the candle is bullish or bearish.
	/// &amp;lt;/summary&amp;gt;
	/// &amp;lt;param name=&amp;quot;candle&amp;quot;&amp;gt;The candle which should be checked for the trend.&amp;lt;/param&amp;gt;
	/// &amp;lt;returns&amp;gt;&amp;lt;see langword=&amp;quot;true&amp;quot; /&amp;gt; if bullish, &amp;lt;see langword=&amp;quot;false&amp;quot; /&amp;gt;, if bearish, &amp;lt;see langword=&amp;quot;null&amp;quot; /&amp;gt; - neither one nor the other.&amp;lt;/returns&amp;gt;
	public static bool? IsBullishOrBearish(this Candle candle)
	{
		if (candle == null)
			throw new ArgumentNullException(nameof(candle));

		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;
	}[/code]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&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;/p&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>
</feed>