Interactive Brokers and TWS API Connection
Atom
24.05.2021


Viewers,

I have attempted to connect the Designer and Terminal to the Trader work station after allowing active x connections. There is returned a error message

12:08:15 System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::ffff:127.0.0.1]:7497
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
--- End of stack trace from previous location ---
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at Ecng.Net.NetworkHelper.Connect(TcpClient client, EndPoint address)
at #=z0o8d9XAgtHF4nZD9bBhDLTWvn742DCe7Zw==.#=zdTPxXFI=(EndPoint #=zPrumxco=)
at StockSharp.InteractiveBrokers.InteractiveBrokersMessageAdapter.OnSendInMessage(Message message)
at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)

How is the error mesage resolved?

Jacob Eli Goodson



Спасибо:


DrWhat

Фотография
Дата: 19.10.2021
Ответить


the interactive brokers connector hasnt been updated in YEARS. the current TWS API version is v951 and s# is trying to connect with v163 (4 year old API from classic TWS)

It will never work and they wont update it
Спасибо:

MR_WSL

Фотография
Дата: 02.06.2022
Ответить


TWS API is backwards compatible according to Interactive Brokers, and updates should not be needed. There must be another problem there...
Спасибо:


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy