Support Board
Date/Time: Fri, 09 May 2025 15:22:08 +0000
Post From: DTC Protocol - LOGON_REQUEST
[2024-10-04 13:39:59] |
stefkovic.m28 - Posts: 35 |
Hello, I have created a script for automatic trading using DTC protocol in Sierra Charts. I have active connection to DTC, but when I call command LOGON_RESPONSE, I can“t get answer from DTC after a few seconds. Attached screen from Sierra shows my DTC settings, if there is something wrong. Both methods for Logon, also with Account / without Account I have also used, but there is no answer from DTC. You can find MessageLogs attached. JSON formated script looks like (account & passwork in this case with xxx): { "MessageType": "LogonRequest", "Username": "xxx", "Password": "xxx", "ProtocolVersion": 8, "HeartbeatIntervalInSeconds": 20, "ClientName": "OL Client", "TradeMode": 0 } After that I can get only this answer: { "Type": 3, "NumDroppedMessages": 0, "CurrentDateTime": 1728023496, "SecondsSinceLastReceivedHeartbeat": 0, "NumberOfOutstandingSentBuffers": 0, "PendingTransmissionDelayInMilliseconds": 0, "CurrentSendBufferSizeInBytes": 0, "SendingDateTimeMicroseconds": 1728023496476945, "DataCompressionRatio": 0, "TotalUncompressedBytes": 0, "TotalCompressionTime": 0, "NumberOfCompressions": 0, "SourceIPAddress": 2130706433, "MaximumSendBufferSizeInBytes": 0, "MaximumSendBufferSizeInBytesDateTime": 0 } Can you please help me with this? Is there mistake in syntax or someting other in general settings? many thanks regards, Milan |
![]() ![]() ![]() |