I've tried very hard to connect SierraChart to Zorro.
Login 0 SierraChart..
!1: Connected to SC DTC Protocol server. Service=interactive_brokers.trading|SymbolSettings=interac
!1: TradeAccounts detected: DUXXXXXX,Sim1
!1: Using: DUXXXXXX
!1: Balance synchronized.
!1: TradeAccount is not set
!1: Failed to confirm historical orders
!1: Sync hist orders failure.
I've tried both with Sierrachart logged into IB, or with the Sierrachart data service.
I tried various ports, TLS on off, zlib, real/demo accounts etc
I am using the latest Sierrachart 1915 and plugin versions as well as Zorro Beta 2.11, also tried non-beta 2.03.
I am able to connect to DTC from python and download data.
login string (tried a variety of alternatives here, including empty string which also works):
ta:DUXXXXXX h:127.0.0.1 p1:11099 p2:11097
script run is:
// Lookback = 0;
StartDate = 20190201;
EndDate = 20190315;
GapDays = 3; // detect gaps
Verbose = 2;
Thanks a lot.
On Sierrachart the error is:
DTC client #27. 127.0.0.1 | Received logon request. | 2019-05-16 05:30:04
DTC client #27. 127.0.0.1 | Sent successful Logon response message to client. Username: _. Result text: Connected to SC DTC Protocol server. Service=interactive_brokers.trading|SymbolSettings=interactive_brokers.trading | 2019-05-16 05:30:04
DTCServer (1) | Socket gracefully closed by remote side. | 2019-05-16 05:30:04
DTCServer (1) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2019-05-16 05:30:04 *
DTCServer (1) | Graceful close received or receive error. Shutdown complete. Closing socket now. | 2019-05-16 05:30:04