﻿<?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">Interactive Brokers TWS connection not working</title>
  <id>~/topic/11323/interactive-brokers-tws-connection-not-working/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-25T02:54:53Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=11323" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/49415/</id>
    <title type="text">I am sorry but I cannot understand from where you downloaded the code on your video. Please use this...</title>
    <published>2020-01-29T00:13:23Z</published>
    <updated>2020-01-29T00:13:23Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Support &lt;a href="https://stocksharp.com/posts/m/49358/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;I am sorry but I cannot understand from where you downloaded the code on your video. Please use this direct link &lt;a href="https://stocksharp.com/file/109596/Lesson_4_4_17_7z/ " title="https://stocksharp.com/file/109596/Lesson_4_4_17_7z/ "&gt;https://stocksharp.com/f...09596/Lesson_4_4_17_7z/ &lt;/a&gt;There code missed 2 points:&lt;br /&gt;&lt;br /&gt;1) It does not have a reference on StockSharp.Configuration.Adapters - the reason why you do not any connectors on Settings window.&lt;br /&gt;2) It does not have a lookup securities code on a connected event as I mentioned above: _connector.LookupSecurities(new Security() { Code = &amp;quot;AAPL&amp;quot; });&lt;br /&gt;&lt;br /&gt;Please download materials from the link I&amp;#39;ve provided and try to run Lessons\lesson_01(simple_terminal)\01_Connect_and_get_security project.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Hello and sorry for the delay, I downloaded and ran the program and everything works well, I see where I went wrong now.&lt;br /&gt;Thanks&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49358/</id>
    <title type="text">I am sorry but I cannot understand from where you downloaded the code on your video. Please use this...</title>
    <published>2020-01-19T13:20:04Z</published>
    <updated>2020-01-19T13:20:04Z</updated>
    <author>
      <name>Support</name>
      <uri>https://stocksharp.com/users/97869/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I am sorry but I cannot understand from where you downloaded the code on your video. Please use this direct link &lt;a href="https://stocksharp.com/file/109596/Lesson_4_4_17_7z/ " title="https://stocksharp.com/file/109596/Lesson_4_4_17_7z/ "&gt;https://stocksharp.com/f...09596/Lesson_4_4_17_7z/ &lt;/a&gt;There code missed 2 points:&lt;br /&gt;&lt;br /&gt;1) It does not have a reference on StockSharp.Configuration.Adapters - the reason why you do not any connectors on Settings window.&lt;br /&gt;2) It does not have a lookup securities code on a connected event as I mentioned above: _connector.LookupSecurities(new Security() { Code = &amp;quot;AAPL&amp;quot; });&lt;br /&gt;&lt;br /&gt;Please download materials from the link I&amp;#39;ve provided and try to run Lessons\lesson_01(simple_terminal)\01_Connect_and_get_security project.&lt;br /&gt;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49357/</id>
    <title type="text"> I downloaded the version 4.4.17, and now when I click stettings there is no list of connectors anym...</title>
    <published>2020-01-19T01:26:18Z</published>
    <updated>2020-01-19T07:34:59Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Support &lt;a href="https://stocksharp.com/posts/m/49356/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;isaacapuano &lt;a href="https://stocksharp.com/posts/m/49355/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;&lt;br /&gt;&lt;br /&gt;I downloaded the version 4.4.17, and now when I click stettings there is no list of connectors anymore, it appears all white&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;1) Did you unblock the archive before unzip?&lt;br /&gt;2) Please try to add as reference to the project StockSharp.InteractiveBrokers.dll.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Yes I unblocked the zip.&lt;br /&gt;I added the reference and now it shows up but i still cant see anything not even if I search for securitys, I even started all over again and same result, i got an error when adding the toolbox im uploading a screenshot of the error and a video of the app</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49356/</id>
    <title type="text"> I downloaded the version 4.4.17, and now when I click stettings there is no list of connectors anym...</title>
    <published>2020-01-18T15:35:31Z</published>
    <updated>2020-01-18T15:35:31Z</updated>
    <author>
      <name>Support</name>
      <uri>https://stocksharp.com/users/97869/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;isaacapuano &lt;a href="https://stocksharp.com/posts/m/49355/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;&lt;br /&gt;&lt;br /&gt;I downloaded the version 4.4.17, and now when I click stettings there is no list of connectors anymore, it appears all white&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;1) Did you unblock the archive before unzip?&lt;br /&gt;2) Please try to add as reference to the project StockSharp.InteractiveBrokers.dll.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49355/</id>
    <title type="text">I downloaded the materials from here, https://github.com/StockSharp/StockSharp/releases. Please the ...</title>
    <published>2020-01-18T12:35:59Z</published>
    <updated>2020-01-18T12:35:59Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Support &lt;a href="https://stocksharp.com/posts/m/49334/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;isaacapuano &lt;a href="https://stocksharp.com/posts/m/49331/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;I downloaded the materials from here, &lt;a target="_blank" href="https://github.com/StockSharp/StockSharp/releases.
" title="https://github.com/StockSharp/StockSharp/releases.
"&gt;https://github.com/Stock...rp/StockSharp/releases.
&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Please the following links (any, not all)&lt;br /&gt;&lt;br /&gt;1) &lt;a href="https://stocksharp.com/forum/10054/Introduction-into-StockSharp-training-course/ " title="https://stocksharp.com/forum/10054/Introduction-into-StockSharp-training-course/ "&gt;https://stocksharp.com/f...kSharp-training-course/ &lt;/a&gt;(edu materials)&lt;br /&gt;2) &lt;a href="https://stocksharp.com/products/download/ " title="https://stocksharp.com/products/download/ "&gt;https://stocksharp.com/products/download/ &lt;/a&gt;(Night build link) (public samples only)&lt;br /&gt;&lt;br /&gt;Currently, the official release contains 4.4.16 version. This version is out of date and we recommend use 4.4.17 (many fixes and improvements).&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I downloaded the version 4.4.17, and now when I click stettings there is no list of connectors anymore, it appears all white&lt;br /&gt;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49334/</id>
    <title type="text">I downloaded the materials from here, https://github.com/StockSharp/StockSharp/releases. Please the ...</title>
    <published>2020-01-17T07:48:03Z</published>
    <updated>2020-01-17T07:48:03Z</updated>
    <author>
      <name>Support</name>
      <uri>https://stocksharp.com/users/97869/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;isaacapuano &lt;a href="https://stocksharp.com/posts/m/49331/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;I downloaded the materials from here, &lt;a target="_blank" href="https://github.com/StockSharp/StockSharp/releases.
" title="https://github.com/StockSharp/StockSharp/releases.
"&gt;https://github.com/Stock...rp/StockSharp/releases.
&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Please the following links (any, not all)&lt;br /&gt;&lt;br /&gt;1) &lt;a href="https://stocksharp.com/forum/10054/Introduction-into-StockSharp-training-course/ " title="https://stocksharp.com/forum/10054/Introduction-into-StockSharp-training-course/ "&gt;https://stocksharp.com/f...kSharp-training-course/ &lt;/a&gt;(edu materials)&lt;br /&gt;2) &lt;a href="https://stocksharp.com/products/download/ " title="https://stocksharp.com/products/download/ "&gt;https://stocksharp.com/products/download/ &lt;/a&gt;(Night build link) (public samples only)&lt;br /&gt;&lt;br /&gt;Currently, the official release contains 4.4.16 version. This version is out of date and we recommend use 4.4.17 (many fixes and improvements).</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49331/</id>
    <title type="text">I downloaded the materials from here, https://github.com/StockSharp/StockSharp/releases. I&amp;apos;m not sur...</title>
    <published>2020-01-17T03:07:30Z</published>
    <updated>2020-01-17T03:07:30Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I downloaded the materials from here, &lt;a target="_blank" href="https://github.com/StockSharp/StockSharp/releases.
" title="https://github.com/StockSharp/StockSharp/releases.
"&gt;https://github.com/Stock...rp/StockSharp/releases.
&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure how to do the search request, in the video on minute 14 Yury clicks on the securities and starts to recieve information. I tried once more but got the same result, im just writing the code I see in the video.&lt;br /&gt;&lt;br /&gt;here is my code&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;        xmlns=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;&lt;br /&gt;        xmlns:x=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;&lt;br /&gt;        xmlns:d=&amp;quot;http://schemas.microsoft.com/expression/blend/2008&amp;quot;&lt;br /&gt;        xmlns:mc=&amp;quot;http://schemas.openxmlformats.org/markup-compatibility/2006&amp;quot;&lt;br /&gt;        xmlns:local=&amp;quot;clr-namespace:StockSharp&amp;quot;&lt;br /&gt;        xmlns:Custom=&amp;quot;http://schemas.stocksharp.com/xaml&amp;quot; x:Class=&amp;quot;StockSharp.MainWindow&amp;quot;&lt;br /&gt;        mc:Ignorable=&amp;quot;d&amp;quot;&lt;br /&gt;        Title=&amp;quot;MainWindow&amp;quot; Height=&amp;quot;660&amp;quot; Width=&amp;quot;900&amp;quot; Left=&amp;quot;50&amp;quot; Top=&amp;quot;50&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;Grid&amp;gt;&lt;br /&gt;        &amp;lt;Grid.ColumnDefinitions&amp;gt;&lt;br /&gt;            &amp;lt;ColumnDefinition Width=&amp;quot;130*&amp;quot;/&amp;gt;&lt;br /&gt;            &amp;lt;ColumnDefinition Width=&amp;quot;130*&amp;quot;/&amp;gt;&lt;br /&gt;            &amp;lt;ColumnDefinition Width=&amp;quot;504*&amp;quot;/&amp;gt;&lt;br /&gt;        &amp;lt;/Grid.ColumnDefinitions&amp;gt;&lt;br /&gt;        &amp;lt;Grid.RowDefinitions&amp;gt;&lt;br /&gt;            &amp;lt;RowDefinition Height=&amp;quot;35*&amp;quot;/&amp;gt;&lt;br /&gt;            &amp;lt;RowDefinition Height=&amp;quot;594*&amp;quot;/&amp;gt;&lt;br /&gt;        &amp;lt;/Grid.RowDefinitions&amp;gt;&lt;br /&gt;        &amp;lt;Button Content=&amp;quot;Setting&amp;quot; Name=&amp;quot;Setting&amp;quot; Click=&amp;quot;Setting_Click&amp;quot; HorizontalAlignment=&amp;quot;Left&amp;quot; VerticalAlignment=&amp;quot;Top&amp;quot; Width=&amp;quot;152&amp;quot; Height=&amp;quot;35&amp;quot;/&amp;gt;&lt;br /&gt;        &amp;lt;Button Content=&amp;quot;Connect&amp;quot; Name=&amp;quot;Connect&amp;quot; Click=&amp;quot;Connect_Click&amp;quot; Grid.Column=&amp;quot;1&amp;quot; HorizontalAlignment=&amp;quot;Left&amp;quot; VerticalAlignment=&amp;quot;Top&amp;quot; Width=&amp;quot;152&amp;quot; Height=&amp;quot;35&amp;quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;Custom:SecurityPicker Name=&amp;quot;SecurityPicker&amp;quot; ShowCommonStatColumns=&amp;quot;True&amp;quot; Grid.ColumnSpan=&amp;quot;3&amp;quot; HorizontalAlignment=&amp;quot;Left&amp;quot; Height=&amp;quot;594&amp;quot; Grid.Row=&amp;quot;1&amp;quot; VerticalAlignment=&amp;quot;Top&amp;quot; Width=&amp;quot;892&amp;quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;/Grid&amp;gt;&lt;br /&gt;&amp;lt;/Window&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&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;using Ecng.Serialization;&lt;br /&gt;using StockSharp.Algo;&lt;br /&gt;using StockSharp.BusinessEntities;&lt;br /&gt;using StockSharp.Configuration;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;using System.Threading.Tasks;&lt;br /&gt;using System.Windows;&lt;br /&gt;using System.Windows.Controls;&lt;br /&gt;using System.Windows.Data;&lt;br /&gt;using System.Windows.Documents;&lt;br /&gt;using System.Windows.Input;&lt;br /&gt;using System.Windows.Media;&lt;br /&gt;using System.Windows.Media.Imaging;&lt;br /&gt;using System.Windows.Navigation;&lt;br /&gt;using System.Windows.Shapes;&lt;br /&gt;&lt;br /&gt;namespace StockSharp&lt;br /&gt;{&lt;br /&gt;    /// &amp;lt;summary&amp;gt;&lt;br /&gt;    /// Interaction logic for MainWindow.xaml&lt;br /&gt;    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;    public partial class MainWindow : Window&lt;br /&gt;    {&lt;br /&gt;        private Connector _connector = new Connector();&lt;br /&gt;        private string _connectFile = &amp;quot;ConnectFile&amp;quot;;&lt;br /&gt;&lt;br /&gt;        public MainWindow()&lt;br /&gt;        {&lt;br /&gt;            InitializeComponent();&lt;br /&gt;            if (File.Exists(_connectFile))&lt;br /&gt;            {&lt;br /&gt;                _connector.Load(new XmlSerializer&amp;lt;SettingsStorage&amp;gt;().Deserialize(_connectFile));&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        private void Setting_Click(object sender, RoutedEventArgs e)&lt;br /&gt;        {&lt;br /&gt;            if (_connector.Configure(this))&lt;br /&gt;            {&lt;br /&gt;                new XmlSerializer&amp;lt;SettingsStorage&amp;gt;().Serialize(_connector.Save(), _connectFile);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        private void Connect_Click(object sender, RoutedEventArgs e)&lt;br /&gt;        {&lt;br /&gt;            SecurityPicker.SecurityProvider = _connector;&lt;br /&gt;            SecurityPicker.MarketDataProvider = _connector;&lt;br /&gt;            _connector.Connect();&lt;br /&gt;        }&lt;br /&gt;        private void SecurityPicker_SecuritySelected(Security security)&lt;br /&gt;        {&lt;br /&gt;            if (security == null) return;&lt;br /&gt;            _connector.RegisterSecurity(security);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49320/</id>
    <title type="text">Thank you for your question. IB connection does not provide automatic instruments downloading. In th...</title>
    <published>2020-01-16T22:35:19Z</published>
    <updated>2020-01-16T22:35:19Z</updated>
    <author>
      <name>Support</name>
      <uri>https://stocksharp.com/users/97869/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Thank you for your question.&lt;br /&gt;&lt;br /&gt;IB connection does not provide automatic instruments downloading. In that case, from the app, you need to send searching requests via Connector.LookupSecurities. All found instruments will be provided via Connector.NewSecurity or Connector.LookupSecuritiyFinished events. &lt;br /&gt;&lt;br /&gt;On our environment, the lesson shows AAPL instruments&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/110389/4cc0d011bfcfb4f5e6a05fa279f3ba8d.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/110389/4cc0d011bfcfb4f5e6a05fa279f3ba8d.png?size=800x800" alt="4cc0d011bfcfb4f5e6a05fa279f3ba8d.png" title="4cc0d011bfcfb4f5e6a05fa279f3ba8d.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Can you provide the link from where you have downloaded the materials?&lt;br /&gt;&lt;br /&gt;PS We updated your support plus 1 week for the answer days reason.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/49299/</id>
    <title type="text">Hello, I tried to follow this video (https://stocksharp.com/forum/10058/Lesson-1-The-first-connectio...</title>
    <published>2020-01-13T23:20:38Z</published>
    <updated>2020-01-13T23:20:38Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hello, I tried to follow this video (https://stocksharp.com/forum/10058/Lesson-1-The-first-connection-creating/), I did exactly every step like the video but the securities never showed up, I&amp;#39;m uploading a video for you to see.&lt;br /&gt;&lt;br /&gt;Thanks</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>