Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 16:42:19 +0000



Post From: DTC Protocol - LOGON_REQUEST

[2024-10-04 19:10:20]
stefkovic.m28 - Posts: 17
Hello,

yes, exactly, I am connecting to the DTC protocol server in Sierra Chart. After I have sent a logon request with my credentials like:

JSON data: {"MessageType": "LogonRequest","Username": "","Password": "","ProtocolVersion": 8,"HeartbeatIntervalInSeconds": 20,"ClientName": "OL Client", "TradeMode": 0}

I have got this message:

DTC client #4. 127.0.0.1 | No heartbeat received after 4s. Closing network socket. Bytes in receive buffer: 157
DTC client #4. 127.0.0.1 (1) | CloseSocket call.

Please see also my message logs attached.
Whats wrong in my case please?

Or is there something wrong in my syntax?

{

"MessageType": "LogonRequest",

"Username": "xxx",

"Password": "xxx",

"ProtocolVersion": 8,

"HeartbeatIntervalInSeconds": 20,

"ClientName": "OL Client",

"TradeMode": 0

}

Thanks