﻿<?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=13</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-05-06T08:37:44Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=forum&amp;page=13" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/topic/9154/</id>
    <title type="text">Loading Data and Candles</title>
    <published>2018-02-21T09:02:50Z</published>
    <updated>2018-03-26T08:56:12Z</updated>
    <author>
      <name>Julius Doan</name>
      <uri>https://stocksharp.com/users/100763/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Hydra" />
    <category term="market data" />
    <category term="candles" />
    <content type="html">I am trying to load up candles with some data retrieved from Hydra. I was able to retrieve the data in Bin using MFD. From there I was able to open the securities from the storage file and find the time frame candles. My first question is Can you explain what the &amp;quot;start button&amp;quot; does in the Market Data tab. When I click on it it shows only Finam. When I click on that the following gives me an error.&lt;br /&gt;&lt;a href='https://stocksharp.com/file/106001/Capture.PNG' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/106001/Capture.PNG?size=800x800" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Additionally, I was trying to show the candles using the sample candles code provided. I am using Brent as an example here from the MFD. When I run it with a time-frame of 1:0:0:0 in Bin format, I don&amp;#39;t get any thing shown on my candle chart. &lt;br /&gt;&lt;a href='https://stocksharp.com/file/106003/Capture1.PNG' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/106003/Capture1.PNG?size=800x800" alt="Capture1.PNG" title="Capture1.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also when I try a different security for instance AMD@SPB, when I press start, I get a blank chart and I&amp;#39;m assuming an infinite loop in which I cannot disconnect/stop the process. &lt;br /&gt;&lt;a href='https://stocksharp.com/file/106002/Capture2.PNG' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/106002/Capture2.PNG?size=800x800" alt="Capture2.PNG" title="Capture2.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8021/</id>
    <title type="text">BitStamp - Data processing error</title>
    <published>2017-01-19T03:35:42Z</published>
    <updated>2018-02-15T06:41:33Z</updated>
    <author>
      <name>Francis</name>
      <uri>https://stocksharp.com/users/97456/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="BitStamp Error" />
    <content type="html">Hi,&lt;br /&gt;&lt;br /&gt;I love the project architecture, unfortunately the example I found about BitStamp does not work even after identifying valid ID codes. The error (on the attachment) occurs continuously.&lt;br /&gt;&lt;br /&gt;Would anyone have a suggestion?&lt;br /&gt;Thank you in advance,</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/9133/</id>
    <title type="text">Strategy &amp;amp; Rules for Coinone API</title>
    <published>2018-02-14T17:12:34Z</published>
    <updated>2018-02-14T17:12:34Z</updated>
    <author>
      <name>Rajesh</name>
      <uri>https://stocksharp.com/users/100302/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hi,&lt;br /&gt;&lt;br /&gt;I want to create strategy &amp;amp; Rules for coins in Coinone API by using stock sharp.&lt;br /&gt;&lt;br /&gt;Can you please let us know is it possible to create strategy for Coinone API from Stocksharp?&lt;br /&gt;&lt;br /&gt;If possible, can you please suggest me how to do it?&lt;br /&gt;&lt;br /&gt;Your help will be appreciated.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/9102/</id>
    <title type="text">IQFeed Time parse</title>
    <published>2018-02-07T22:37:14Z</published>
    <updated>2018-02-13T18:51:29Z</updated>
    <author>
      <name>Eli Belash</name>
      <uri>https://stocksharp.com/users/100656/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hey, I can&amp;#39;t find the right form to report a bug and you guys&lt;b&gt; don&amp;#39;t allow &lt;/b&gt;issues on github which makes it all even more difficult.&lt;br /&gt;I tried to pull data from IQFeed and it just doesn&amp;#39;t work.&lt;br /&gt;I was about to buy the 1000$ course to get the extended license, but by the looks of it - I&amp;#39;ll probably won&amp;#39;t.&lt;br /&gt;&lt;br /&gt;See included picture.&lt;br /&gt;&lt;br /&gt;Regards, Eli.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/9044/</id>
    <title type="text">Cross exchange spread trading</title>
    <published>2018-01-25T00:14:40Z</published>
    <updated>2018-02-13T18:15:21Z</updated>
    <author>
      <name>Kevin Darby</name>
      <uri>https://stocksharp.com/users/100396/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;br /&gt;Are there examples using WeightedIndexSecurity and BasketStrategy?  &lt;br /&gt;&lt;br /&gt;Basically I want to trade two-legged spreads across exchanges.  &lt;br /&gt;&lt;br /&gt;I want to quote one leg, then on each fill of the quoted leg, send a limit order to the other leg to lock in a spread price.  The legs usually live on different exchanges.  &lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8966/</id>
    <title type="text">QUIK LUA отключается сразу после подключения BasketMessageAdapter | Ошибка подключения для LuaFixTransactionMe ssageAdapter: System.ArgumentNullException: Value cannot be null.</title>
    <published>2017-12-27T16:21:05Z</published>
    <updated>2018-01-23T09:49:06Z</updated>
    <author>
      <name>Oleg</name>
      <uri>https://stocksharp.com/users/98402/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Quik" />
    <category term="Lua" />
    <content type="html">00:00:00.000 | QuikTrader      | Connect&lt;br /&gt;16:13:57.674 | Quik LUA. Transactions | Connect to 127.0.0.1:5001...&lt;br /&gt;16:13:57.675 | Quik LUA. Transactions | Connect to 127.0.0.1:5001 is OK.&lt;br /&gt;16:13:57.677 | Quik LUA. Transactions | Sending logon to 127.0.0.1:5001...&lt;br /&gt;16:13:57.698 | Quik LUA. Transactions | Logon sent to 127.0.0.1:5001 OK.&lt;br /&gt;16:13:57.715 | Quik LUA. Transactions | To server: 8=FIX.4.4^9=103^35=A^49=FIrob&lt;br /&gt;ot^56=StockSharpTS^52=20171227-13:13:57.692^34=1^98=0^108=0^141=Y^553=FIrobot^55&lt;br /&gt;4=FIrobot^10=174^&lt;br /&gt;16:13:57.718 | Quik LUA. Market data | Connect to 127.0.0.1:5001...&lt;br /&gt;16:13:57.721 | Quik LUA. Market data | Connect to 127.0.0.1:5001 is OK.&lt;br /&gt;16:13:57.721 | Quik LUA. Transactions | Start message processing.&lt;br /&gt;16:13:57.721 | Quik LUA. Market data | Sending logon to 127.0.0.1:5001...&lt;br /&gt;16:13:57.722 | Quik LUA. Market data | Logon sent to 127.0.0.1:5001 OK.&lt;br /&gt;16:13:57.724 | Quik LUA. Market data | To server: 8=FIX.4.4^9=103^35=A^49=FIrobo&lt;br /&gt;t^56=StockSharpMD^52=20171227-13:13:57.722^34=1^98=0^108=0^141=Y^553=FIrobot^554&lt;br /&gt;=FIrobot^10=146^&lt;br /&gt;16:13:57.724 | Quik LUA. Market data | Start message processing.&lt;br /&gt;16:13:57.731 | Quik LUA. Market data | Сессия &amp;#39;127.0.0.1:5001 Sender FIrobot Tar&lt;br /&gt;get StockSharpMD&amp;#39;. Получено: &amp;#39;8=FIX.4.4^9=62^35=A^49=FIrobot^56=StockSharpMD^52=&lt;br /&gt;20171227-13:13:57.724^34=1^10=052^&amp;#39;&lt;br /&gt;16:13:57.731 | Quik LUA. Transactions | Сессия &amp;#39;127.0.0.1:5001 Sender FIrobot Ta&lt;br /&gt;rget StockSharpTS&amp;#39;. Получено: &amp;#39;8=FIX.4.4^9=62^35=A^49=FIrobot^56=StockSharpTS^52&lt;br /&gt;=20171227-13:13:57.707^34=1^10=075^&amp;#39;&lt;br /&gt;00:00:00.000 | QuikTrader      | BP:Connect,T(L)=2017/12/27 16:13:57.733&lt;br /&gt;16:13:57.733 | QuikTrader      | BP:Connect,T(L)=2017/12/27 16:13:57.733&lt;br /&gt;16:13:57.767 | Quik LUA. Transactions | To server: 8=FIX.4.4^9=82^35=AN^49=FIrob&lt;br /&gt;ot^56=StockSharpTS^52=20171227-13:13:57.767^34=2^710=58437310^724=0^10=034^&lt;br /&gt;16:13:57.767 | Quik LUA. Transactions | To server: 8=FIX.4.4^9=82^35=AF^49=FIrob&lt;br /&gt;ot^56=StockSharpTS^52=20171227-13:13:57.767^34=3^584=58437311^585=7^10=049^&lt;br /&gt;16:13:57.770 | Quik LUA. Market data | To server: 8=FIX.4.4^9=81^35=x^49=FIrobot&lt;br /&gt;^56=StockSharpMD^52=20171227-13:13:57.770^34=2^320=58437312^559=4^10=247^&lt;br /&gt;16:13:57.788 | Quik LUA. Transactions | Сессия &amp;#39;127.0.0.1:5001 Sender FIrobot Ta&lt;br /&gt;rget StockSharpTS&amp;#39;. Получено: &amp;#39;8=FIX.4.4^9=161^35=AP^49=FIrobot^56=StockSharpTS^&lt;br /&gt;52=20171227-13:13:57.767^34=2^710=58437310^1=^581=3^728=0^55=StockSharpMoney^753&lt;br /&gt;=4^708=0^707=SMTM^708=0^707=CRES^708=0^707=VADJ^10=229^&amp;#39;&lt;br /&gt;16:13:57.804 | BasketMessageAdapter | Ошибка подключения для LuaFixTransactionMe&lt;br /&gt;ssageAdapter: System.ArgumentNullException: Value cannot be null.&lt;br /&gt;Parameter name: key&lt;br /&gt;   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)&lt;br /&gt;   at System.Collections.Generic.Dictionary`2.ContainsKey(TKey key)&lt;br /&gt;   at Ecng.Collections.SynchronizedDictionary`2.ContainsKey(TKey key)&lt;br /&gt;   at Ecng.Collections.CollectionHelper.TryAdd[TKey,TValue](IDictionary`2 dict,&lt;br /&gt;TKey key, TValue value)&lt;br /&gt;   at StockSharp.Messages.InMemoryMessageAdapterProvider.SetAdapter(String portf&lt;br /&gt;olioName, IMessageAdapter adapter)&lt;br /&gt;   at StockSharp.Algo.BasketMessageAdapter.OnInnerAdapterNewOutMessage(IMessageA&lt;br /&gt;dapter innerAdapter, Message message)&lt;br /&gt;   at StockSharp.Algo.BasketMessageAdapter.&amp;lt;&amp;gt;c__DisplayClass46_0.&amp;lt;OnSendInMessag&lt;br /&gt;e&amp;gt;b__2(Message m)&lt;br /&gt;   at StockSharp.Messages.MessageAdapterWrapper.RaiseNewOutMessage(Message messa&lt;br /&gt;ge)&lt;br /&gt;   at StockSharp.Algo.HeartbeatMessageAdapter.OnInnerAdapterNewOutMessage(Messag&lt;br /&gt;e message)&lt;br /&gt;   at StockSharp.Messages.MessageAdapterWrapper.RaiseNewOutMessage(Message messa&lt;br /&gt;ge)&lt;br /&gt;   at StockSharp.Algo.SubscriptionMessageAdapter.OnInnerAdapterNewOutMessage(Mes&lt;br /&gt;sage message)&lt;br /&gt;   at StockSharp.Messages.MessageAdapter.SendOutMessage(Message message)&lt;br /&gt;   at StockSharp.Fix.FixMessageAdapter.#=qLFq$feWZL49PjvnxEoZQNFCzJ6PVUe0Z262C68&lt;br /&gt;1LItg=()&lt;br /&gt;16:13:57.733 | QuikTrader      | BP:Connect,T(L)=2017/12/27 16:13:57.804,Error=V&lt;br /&gt;alue cannot be null.&lt;br /&gt;Parameter name: key</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8867/</id>
    <title type="text">How can request more details about the existing positions?</title>
    <published>2017-11-27T06:03:38Z</published>
    <updated>2018-01-18T11:09:23Z</updated>
    <author>
      <name>Jose</name>
      <uri>https://stocksharp.com/users/99429/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="FXCM" />
    <category term="connection" />
    <category term="positions" />
    <content type="html">Hello Mikhail and hi all!&lt;br /&gt;&lt;br /&gt;This StockSharp project looks very-very exciting and I started to look through some source codes and I tried some examples.&lt;br /&gt;Unfortunately I cannot find the way, how can I get details about the active (opened) positions?&lt;br /&gt;For example I made a connection to FXCM (by the SampleFxcm project) and I subscribed to the NewPosition event with a new function: Trader_NewPosition(Position pos)&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;Trader.NewPosition += position =&amp;gt; Trader_NewPosition(position);&lt;br /&gt;Trader.NewPosition += position =&amp;gt; _portfoliosWindow.PortfolioGrid.Positions.Add(position);&lt;br /&gt;...&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;private void Trader_NewPosition(Position pos)&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;MessageBox.Show(&amp;quot;cval: &amp;quot; + pos.CurrentValue.ToString() + &amp;quot; | desc: &amp;quot; + pos.Description + &amp;quot; | Currency: &amp;quot; + pos.Currency.ToString() + &amp;quot; | RealizedPnL: &amp;quot; + pos.RealizedPnL.ToString() + &amp;quot; | BlockedValue: &amp;quot; + pos.BlockedValue.ToString());&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Kind of every values in the Position object are null, so I could not get the entry price and the direction values.&lt;br /&gt;Or this limited data problem is only related to the FXCM connections? &lt;em&gt;...because in fact I plan to use the CQG and/or the Rithmic connections.&lt;/em&gt;&lt;br /&gt;Please help me, how can I get the existing positions details after a new connection?&lt;br /&gt;&lt;br /&gt;Thanks in advance!&lt;br /&gt;Jose&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8989/</id>
    <title type="text">CoinOneAPI</title>
    <published>2018-01-08T13:05:22Z</published>
    <updated>2018-01-08T22:05:18Z</updated>
    <author>
      <name>Rajesh</name>
      <uri>https://stocksharp.com/users/100302/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hi&lt;br /&gt;&lt;br /&gt;Can i able to connect CoinOneAPI in Stocksharp?&lt;br /&gt;&lt;br /&gt;If possible can you please let us know how can i achieve the functionality of ConnectOne in stocksharp.&lt;br /&gt;&lt;br /&gt;Awaiting reply.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Rajesh</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8949/</id>
    <title type="text">Rithmic connection</title>
    <published>2017-12-19T15:48:02Z</published>
    <updated>2017-12-20T07:04:27Z</updated>
    <author>
      <name>Jose</name>
      <uri>https://stocksharp.com/users/99429/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Rithmic" />
    <category term="connection" />
    <content type="html">Hi!&lt;br /&gt;I didn&amp;#39;t take any modification yet in &amp;quot;Rithmic sample application&amp;quot; and I would like to connect with it but I don&amp;#39;t know what certificate file should I use!? I just have a username and password for my account and nowadays I use it with Ninjatrader well. I have found a certificate (*.pk12) file in NT&amp;#39;s folder but then I got a &amp;quot;bad input&amp;quot; error message which is understandable :)&lt;br /&gt;I should request a valid certificate file from my futures broker or what file do I have to use there?&lt;br /&gt;Regards,&lt;br /&gt;Jose</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8797/</id>
    <title type="text">Storing positions</title>
    <published>2017-11-06T22:30:01Z</published>
    <updated>2017-12-18T10:16:31Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.com/users/99799/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="StorageRegistry" />
    <category term="InitializeStorage" />
    <category term="StorageAdapter" />
    <category term="EntityRegistry" />
    <content type="html">Hi&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;var dataPath = @&amp;quot;Data\&amp;quot; + _connectorAccount.AccountName;&lt;br /&gt;_entityRegistry = new CsvEntityRegistry(dataPath);&lt;br /&gt;_storageRegistry = new StorageRegistry&lt;br /&gt;{&lt;br /&gt;    DefaultDrive = new LocalMarketDataDrive(dataPath)&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;_connector.InitializeStorage(_entityRegistry, _storageRegistry);&lt;br /&gt;_entityRegistry.Init();&lt;br /&gt;&lt;br /&gt;_connector.StorageAdapter.DaysLoad = DateTime.Now.Subtract(_connectorAccount.StartTrading.Value);&lt;br /&gt;&lt;br /&gt;_connector.StorageAdapter.Format = StorageFormats.Csv;&lt;br /&gt;_connector.StorageAdapter.Load();&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The problem is that when I connect to TWS, I get the following error message:&lt;br /&gt;&lt;br /&gt;Message &amp;#39;Connect,T(L)=2017/11/06 21:25:31.278,Error=At least one connection should be made.&amp;#39; caused processing error.&lt;br /&gt;&lt;br /&gt;with inner exception message:&lt;br /&gt;&lt;br /&gt;The given key was not present in the dictionary.&lt;br /&gt;&lt;br /&gt;and inner exception stack trace:&lt;br /&gt;&lt;br /&gt;   at System.ThrowHelper.ThrowKeyNotFoundException()&lt;br /&gt;   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&lt;br /&gt;   at Ecng.Collections.SynchronizedDictionary`2.get_Item(TKey key)&lt;br /&gt;   at StockSharp.Algo.Connector.ProcessConnectMessage(BaseConnectionMessage message)&lt;br /&gt;   at StockSharp.Algo.Connector.OnProcessMessage(Message message)&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/8921/</id>
    <title type="text">How to install API and terminal</title>
    <published>2017-12-11T02:51:36Z</published>
    <updated>2017-12-12T11:15:24Z</updated>
    <author>
      <name>Skyfold</name>
      <uri>https://stocksharp.com/users/100078/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hello everyone!&lt;br /&gt;I installed the terminal, hydra and stockSharp-4.3.28 but don&amp;#39;t know how or where to install api nor how to make it appear the permanent link (and icon) to the platform. Any help is appreciated.&lt;br /&gt;Skyfold.</content>
  </entry>
  <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">Hi.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m enjoying using the S# API and so fat it&amp;#39;s been easy to use.&lt;br /&gt;&lt;br /&gt;I&amp;#39;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</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">Hi&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;Regards</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">Hi&lt;br /&gt;&lt;br /&gt;I have moved my application to my server, but on connecting I get an error: &lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;2017/11/07 16:31:02.182|Error  |BasketMessageAdapter|Connection error for InteractiveBrokersMessageAdapter: System.TimeoutException: Connection was not established in allowed time.&lt;br /&gt;2017/11/07 16:31:02.183|Error  |InteractiveBrokersTrader|System.TimeoutException: Connection was not established in allowed time.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&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">Hi &lt;br /&gt;&lt;br /&gt;When I register an new order it does not reflect in IB TWS. In the connector log I get the following error:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;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 &lt;br /&gt;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 &lt;br /&gt;2017/11/10 15:07:33.750|Debug  |IBSocket  |Msg: ErrorMessage&lt;br /&gt;2017/11/10 15:07:33.751|       |IBSocket  |Duplicate order id&lt;br /&gt;2017/11/10 15:07:33.753|Error  |InteractiveBrokersTrader|OrderRegisterFailed&lt;br /&gt;54387931/ SPXW  171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=Failed Bal=1.00&lt;br /&gt;System.InvalidOperationException: Duplicate order id&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This only occurs when I enable storage, ie initialize storage&lt;br /&gt;&lt;br /&gt;Regards</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">Hi&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;var dataPath = @&amp;quot;Data\&amp;quot; + _connectorAccount.AccountName;&lt;br /&gt;_entityRegistry = new CsvEntityRegistry(dataPath);&lt;br /&gt;_storageRegistry = new StorageRegistry&lt;br /&gt;{&lt;br /&gt;    DefaultDrive = new LocalMarketDataDrive(dataPath)&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;_connector.InitializeStorage(_entityRegistry, _storageRegistry);&lt;br /&gt;_entityRegistry.Init();&lt;br /&gt;&lt;br /&gt;_connector.StorageAdapter.DaysLoad = DateTime.Now.Subtract(_connectorAccount.StartTrading.Value);&lt;br /&gt;&lt;br /&gt;_connector.StorageAdapter.Format = StorageFormats.Csv;&lt;br /&gt;_connector.StorageAdapter.Load();&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The problem is that when I connect to TWS, I get the following error message:&lt;br /&gt;&lt;br /&gt;Message &amp;#39;Connect,T(L)=2017/11/06 21:25:31.278,Error=At least one connection should be made.&amp;#39; caused processing error.&lt;br /&gt;&lt;br /&gt;with inner exception message:&lt;br /&gt;&lt;br /&gt;The given key was not present in the dictionary.&lt;br /&gt;&lt;br /&gt;and inner exception stack trace:&lt;br /&gt;&lt;br /&gt;   at System.ThrowHelper.ThrowKeyNotFoundException()&lt;br /&gt;   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&lt;br /&gt;   at Ecng.Collections.SynchronizedDictionary`2.get_Item(TKey key)&lt;br /&gt;   at StockSharp.Algo.Connector.ProcessConnectMessage(BaseConnectionMessage message)&lt;br /&gt;   at StockSharp.Algo.Connector.OnProcessMessage(Message message)&lt;br /&gt;&lt;br /&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">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;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;Delete Existing S# binary Storage&lt;br /&gt;Read a JSON file containing historical 5 minute candle data and and convert to S# Candles&lt;br /&gt;Save the S# candles to local Binary storage&lt;br /&gt;Load the local Binary storage to a second list of s# candles.&lt;br /&gt;Iterate over the two lists and print out any differences.&lt;/ul&gt;&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Sean Kenwrick</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">Hi&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;Regards</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">Hi&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&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">Hi&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;How do I fix this?&lt;br /&gt;&lt;br /&gt;Regards</content>
  </entry>
</feed>