﻿<?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 Connection</title>
  <id>~/topic/10881/interactive-brokers-connection/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-02T00:26:26Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=10881" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/48012/</id>
    <title type="text">Hello I can&amp;apos;t connect to my TWS with S# Data Hydra. The settings are good in S# Data and TWS I see i...</title>
    <published>2019-07-20T21:45:35Z</published>
    <updated>2019-07-20T21:45:35Z</updated>
    <author>
      <name>ebg</name>
      <uri>https://stocksharp.com/users/105069/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Hello
I can't connect to my TWS with S# Data Hydra.
The settings are good in S# Data and TWS
I see in the TWS that the connection stays in red status (disconnected) , never get stable green (attached image), and disapears after few seconds
This is happening when I click the Verify button, or when I try to Download securities&lt;/p&gt;
&lt;p&gt;The S# message is :
BasketMessageAdapter	7/20/2019 8:17:18 PM	Info	Connecting 'Interactive Brokers: Address = 127.0.0.1:7496'.
BasketMessageAdapter	7/20/2019 8:17:18 PM	Info	Connected to 'Interactive Brokers: Address = 127.0.0.1:7496'.
BasketMessageAdapter	7/20/2019 8:17:18 PM	Info	Disconnecting 'Interactive Brokers: Address = 127.0.0.1:7496'.
BasketMessageAdapter	7/20/2019 8:17:18 PM	Info	Disconnected from 'Interactive Brokers: Address = 127.0.0.1:7496'.
Interactive Brokers	7/20/2019 8:17:18 PM	Error	&amp;quot;System.IO.IOException: Unable to write data to the transport connection: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte. ---&amp;gt; System.Net.Sockets.SocketException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at Ecng.Serialization.BinaryHelper.Write(Stream stream, Object value)
at #=zlDmaKW5ClIzB8hXkjI2SKLW_qXpQNgUOvA==.#=zt_oMV3s=()
at StockSharp.InteractiveBrokers.InteractiveBrokersMessageAdapter.OnSendInMessage(Message message)
at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)&amp;quot;&lt;/p&gt;
&lt;p&gt;I have tried to disable my Comodo antivurus, without success&lt;/p&gt;
&lt;p&gt;Thanks for your help
Eric&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>