I need some help to get live data working and to also live backtest with IB.
I configured as posted here: https://www.rightedgesystems.com/Data-Provider-Error.aspx
1) Now, when going on option one, seems to me there has to be used a plugin named "Interactive Brokers Trader Workstation" , as for the second option states "... DO NOT select the plugin named "Interactive Brokers Trader Workstation".... . Any way using the only Interactive Brokers Plugin, this option (with sockets not enabled in TWS), connects to live data with this error:
The service plugin RightEdge.TWSCSharpPlugin.TWSPlugin threw an exception of type System.Net.Sockets.SocketException at RightEdge.Shared.ServiceWrapper.DoError(Exception e) at RightEdge.Shared.ServiceWrapper.Connect(ServiceConnectOptions connectOptions) at RightEdge.Shared.LiveDataManager.AddService(String serviceName) at RightEdge.Shared.LiveDataManager.AddSymbols(IEnumerable`1 symbols) at RightEdge.LiveDatawindow.AddSymbols(IEnumerable`1 symbols) at RightEdge.MainForm.884f25645664b9833ef20da5318cc16ff4771519992ef172d7787cc3375b921e() at RightEdge.MainForm.0a1b2826b15703e5c077ced41ce3674eeded862210c6f16b21c5bba1bb828fef(Object , EventArgs )Inner Exception:An exception of type System.Net.Sockets.SocketException was thrown.No connection could be made because the target machine actively refused it 127.0.0.1:7496 at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at Krs.Ats.IBNet.IBClient.Connect(String host, Int32 port, Int32 clientId) at RightEdge.TWSCSharpPlugin.TWSPlugin.Connect(ServiceConnectOptions connectOptions) at RightEdge.Shared.ServiceWrapper.Connect(ServiceConnectOptions connectOptions)
2 ) When going on the second option, using only TWS; having enabled sockets and listening port 7496 on 127.0.0.1 (TWS runs on the same virtual machine - parallels), historical data for ie EUR/USD comes OK (by manual request), but no live data comes and no live trade (on paper account) starts. If a manual order is placed a connection error outputs:
Unexpected order cancel: OpenPosition: 4: Market Buy EUR/USD 0/1 - Rejected - Discretionary IB error/warning 200: No security definition has been found for the requestEUR/USDSymbol Script8/9/2016 17:14:08
Many thanks in advance!