Support Board
Date/Time: Mon, 21 Apr 2025 16:56:49 +0000
Post From: DTC Protocol Paper Trading Not Displaying in Trading DOM
[2025-04-17 16:34:17] |
colin0021 - Posts: 29 |
So I'm still having issue with SC DTC. I'm developing a custom trading system that connects to Sierra Chart via the DTC protocol. I'm encountering connection issues where Sierra Chart is rejecting my connection attempts with the error message: "DTC protocol version 0 is unsupported." Here are the relevant details: My system successfully establishes the TCP connection to Sierra Chart at localhost:11099 Sierra Chart immediately responds with the error about unsupported protocol version The connection is then closed by the server From my server logs: Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported I'm using the "Binary with variable length strings" encoding format as specified in the DTC documentation. I've confirmed Sierra Chart is configured to use this encoding type. Questions: What is the currently supported DTC protocol version I should be using in my LOGON_REQUEST message? Could you provide a sample of the correct binary message format for the LOGON_REQUEST with the proper protocol version? Are there any other common configuration issues that might be causing this rejection? I've attached logs from both my client application and Sierra Chart for your reference. Any guidance on correctly implementing the DTC protocol handshake would be greatly appreciated. Thank you for your assistance, 025-04-17 12:26:47.402 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:26:47.402 | DTC client #2344. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:26:47.402 | DTC client #2344. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:26:47.402 | DTC client #2344. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:26:47.402 | DTC client #2344. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:26:47.402 | DTC client #2344. 127.0.0.1 | Received logon request. 2025-04-17 12:26:47.402 | DTC client #2344. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:26:47.563 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=12, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=16285, ActualMessageDelay=0.8 seconds, DataCompRatio=2.55, UncompressedBytes=952418269, CompressionTime=6.352410(secs), NumCompressions=389265, Source=10.10.20.111, MaxSendBufferSize=169586, MaxSendBufferSizeDateTime=2025-04-17 07:18:53 2025-04-17 12:26:47.624 | Denali Data Feed (Market Orders Data) | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=6, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=661, ActualMessageDelay=0.8 seconds, DataCompRatio=2.05, UncompressedBytes=42271201, CompressionTime=1.268164(secs), NumCompressions=117289, Source=10.10.20.111, MaxSendBufferSize=72196, MaxSendBufferSizeDateTime=2025-04-16 19:44:02 2025-04-17 12:26:49.392 | DTC client #2344. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:26:49.392 | DTC client #2344. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:26:49.392 | DTC client #2344. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:26:50.394 | Deleting individual DTC server: DTC client #2344. 127.0.0.1 2025-04-17 12:26:50.394 | DTC server: DTC client #2344. 127.0.0.1 successfully deleted. 2025-04-17 12:26:53.228 | DTC client #2344. 127.0.0.1 (5) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. * 2025-04-17 12:26:53.228 | DTC client #2344. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:26:53.228 | DTC client #2344. 127.0.0.1 (5) | Closed. 2025-04-17 12:26:53.229 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:26:53.229 | DTC client #2345. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:26:53.229 | DTC client #2345. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:26:53.229 | DTC client #2345. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:26:53.229 | DTC client #2345. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:26:53.229 | DTC client #2345. 127.0.0.1 | Received logon request. 2025-04-17 12:26:53.229 | DTC client #2345. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:26:54.025 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=4, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=0.8 seconds, DataCompRatio=1.60, UncompressedBytes=338940, CompressionTime=0.019823(secs), NumCompressions=6038, Source=10.10.20.192, MaxSendBufferSize=268, MaxSendBufferSizeDateTime=2025-04-16 19:44:01 2025-04-17 12:26:55.219 | DTC client #2345. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:26:55.219 | DTC client #2345. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:26:55.219 | DTC client #2345. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:26:56.266 | Deleting individual DTC server: DTC client #2345. 127.0.0.1 2025-04-17 12:26:56.266 | DTC server: DTC client #2345. 127.0.0.1 successfully deleted. 2025-04-17 12:26:59.231 | DTC client #2345. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:26:59.231 | DTC client #2345. 127.0.0.1 (5) | Closed. 2025-04-17 12:26:59.232 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:26:59.232 | DTC client #2346. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:26:59.232 | DTC client #2346. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:26:59.232 | DTC client #2346. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:26:59.232 | DTC client #2346. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:26:59.232 | DTC client #2346. 127.0.0.1 | Received logon request. 2025-04-17 12:26:59.232 | DTC client #2346. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:01.244 | DTC client #2346. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:01.244 | DTC client #2346. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:01.244 | DTC client #2346. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:02.339 | Deleting individual DTC server: DTC client #2346. 127.0.0.1 2025-04-17 12:27:02.339 | DTC server: DTC client #2346. 127.0.0.1 successfully deleted. 2025-04-17 12:27:05.234 | DTC client #2346. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:05.234 | DTC client #2346. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:05.235 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:05.235 | DTC client #2347. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:05.235 | DTC client #2347. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:05.235 | DTC client #2347. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:05.235 | DTC client #2347. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:05.235 | DTC client #2347. 127.0.0.1 | Received logon request. 2025-04-17 12:27:05.235 | DTC client #2347. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:07.232 | DTC client #2347. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:07.232 | DTC client #2347. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:07.232 | DTC client #2347. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:07.598 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=12, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=4760, ActualMessageDelay=0.8 seconds, DataCompRatio=2.55, UncompressedBytes=953296965, CompressionTime=6.357256(secs), NumCompressions=389453, Source=10.10.20.111, MaxSendBufferSize=169586, MaxSendBufferSizeDateTime=2025-04-17 07:18:53 2025-04-17 12:27:07.644 | Denali Data Feed (Market Orders Data) | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=6, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=166, ActualMessageDelay=0.8 seconds, DataCompRatio=2.05, UncompressedBytes=42310855, CompressionTime=1.269445(secs), NumCompressions=117396, Source=10.10.20.111, MaxSendBufferSize=72196, MaxSendBufferSizeDateTime=2025-04-16 19:44:02 2025-04-17 12:27:08.243 | Deleting individual DTC server: DTC client #2347. 127.0.0.1 2025-04-17 12:27:08.243 | DTC server: DTC client #2347. 127.0.0.1 successfully deleted. 2025-04-17 12:27:11.237 | DTC client #2347. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:11.237 | DTC client #2347. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:11.253 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:11.253 | DTC client #2348. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:11.253 | DTC client #2348. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:11.253 | DTC client #2348. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:11.255 | DTC client #2348. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:11.255 | DTC client #2348. 127.0.0.1 | Received logon request. 2025-04-17 12:27:11.255 | DTC client #2348. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:13.260 | DTC client #2348. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:13.260 | DTC client #2348. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:13.260 | DTC client #2348. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:14.028 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=3, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=0.8 seconds, DataCompRatio=1.60, UncompressedBytes=339041, CompressionTime=0.019827(secs), NumCompressions=6040, Source=10.10.20.192, MaxSendBufferSize=268, MaxSendBufferSizeDateTime=2025-04-16 19:44:01 2025-04-17 12:27:14.250 | Deleting individual DTC server: DTC client #2348. 127.0.0.1 2025-04-17 12:27:14.250 | DTC server: DTC client #2348. 127.0.0.1 successfully deleted. 2025-04-17 12:27:17.240 | DTC client #2348. 127.0.0.1 (5) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. * 2025-04-17 12:27:17.240 | DTC client #2348. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:17.240 | DTC client #2348. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:17.267 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:17.267 | DTC client #2349. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:17.267 | DTC client #2349. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:17.267 | DTC client #2349. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:17.268 | DTC client #2349. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:17.268 | DTC client #2349. 127.0.0.1 | Received logon request. 2025-04-17 12:27:17.268 | DTC client #2349. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:19.265 | DTC client #2349. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:19.265 | DTC client #2349. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:19.266 | DTC client #2349. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:20.275 | Deleting individual DTC server: DTC client #2349. 127.0.0.1 2025-04-17 12:27:20.275 | DTC server: DTC client #2349. 127.0.0.1 successfully deleted. 2025-04-17 12:27:23.244 | DTC client #2349. 127.0.0.1 (5) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. * 2025-04-17 12:27:23.244 | DTC client #2349. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:23.244 | DTC client #2349. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:23.279 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:23.279 | DTC client #2350. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:23.279 | DTC client #2350. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:23.279 | DTC client #2350. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:23.279 | DTC client #2350. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:23.279 | DTC client #2350. 127.0.0.1 | Received logon request. 2025-04-17 12:27:23.279 | DTC client #2350. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:25.528 | DTC client #2350. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:25.528 | DTC client #2350. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:25.528 | DTC client #2350. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:26.555 | Deleting individual DTC server: DTC client #2350. 127.0.0.1 2025-04-17 12:27:26.555 | DTC server: DTC client #2350. 127.0.0.1 successfully deleted. 2025-04-17 12:27:27.657 | Denali Data Feed (Market Orders Data) | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=6, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=120, ActualMessageDelay=0.9 seconds, DataCompRatio=2.05, UncompressedBytes=42345709, CompressionTime=1.270679(secs), NumCompressions=117507, Source=10.10.20.111, MaxSendBufferSize=72196, MaxSendBufferSizeDateTime=2025-04-16 19:44:02 2025-04-17 12:27:27.658 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=12, NumberOfOutstandingSendBuffers=2, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=1708, ActualMessageDelay=0.9 seconds, DataCompRatio=2.55, UncompressedBytes=953956526, CompressionTime=6.361481(secs), NumCompressions=389630, Source=10.10.20.111, MaxSendBufferSize=169586, MaxSendBufferSizeDateTime=2025-04-17 07:18:53 2025-04-17 12:27:29.247 | DTC client #2350. 127.0.0.1 (5) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. * 2025-04-17 12:27:29.247 | DTC client #2350. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:29.247 | DTC client #2350. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:29.255 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:29.255 | DTC client #2351. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:29.255 | DTC client #2351. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:29.255 | DTC client #2351. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:29.265 | DTC client #2351. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:29.265 | DTC client #2351. 127.0.0.1 | Received logon request. 2025-04-17 12:27:29.265 | DTC client #2351. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:31.282 | DTC client #2351. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:31.282 | DTC client #2351. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:31.282 | DTC client #2351. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:32.441 | Deleting individual DTC server: DTC client #2351. 127.0.0.1 2025-04-17 12:27:32.441 | DTC server: DTC client #2351. 127.0.0.1 successfully deleted. 2025-04-17 12:27:34.030 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=3, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=0.8 seconds, DataCompRatio=1.60, UncompressedBytes=339169, CompressionTime=0.019834(secs), NumCompressions=6043, Source=10.10.20.192, MaxSendBufferSize=268, MaxSendBufferSizeDateTime=2025-04-16 19:44:01 2025-04-17 12:27:35.250 | DTC client #2351. 127.0.0.1 (5) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. * 2025-04-17 12:27:35.250 | DTC client #2351. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:35.250 | DTC client #2351. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:35.250 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:35.250 | DTC client #2352. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:35.250 | DTC client #2352. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:35.250 | DTC client #2352. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:35.251 | DTC client #2352. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:35.251 | DTC client #2352. 127.0.0.1 | Received logon request. 2025-04-17 12:27:35.251 | DTC client #2352. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:37.274 | DTC client #2352. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:37.274 | DTC client #2352. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:37.274 | DTC client #2352. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:38.271 | Deleting individual DTC server: DTC client #2352. 127.0.0.1 2025-04-17 12:27:38.271 | DTC server: DTC client #2352. 127.0.0.1 successfully deleted. 2025-04-17 12:27:41.253 | DTC client #2352. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:41.253 | DTC client #2352. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:41.253 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:41.253 | DTC client #2353. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:41.253 | DTC client #2353. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:41.253 | DTC client #2353. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:41.254 | DTC client #2353. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:41.254 | DTC client #2353. 127.0.0.1 | Received logon request. 2025-04-17 12:27:41.254 | DTC client #2353. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:43.283 | DTC client #2353. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:43.283 | DTC client #2353. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:43.283 | DTC client #2353. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:44.279 | Deleting individual DTC server: DTC client #2353. 127.0.0.1 2025-04-17 12:27:44.279 | DTC server: DTC client #2353. 127.0.0.1 successfully deleted. 2025-04-17 12:27:47.256 | DTC client #2353. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:47.256 | DTC client #2353. 127.0.0.1 (5) | Closed. 2025-04-17 12:27:47.256 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-17 12:27:47.256 | DTC client #2354. 127.0.0.1 (5) | Creating socket. 2025-04-17 12:27:47.256 | DTC client #2354. 127.0.0.1 (5) | New receive buffer size: 262144 2025-04-17 12:27:47.256 | DTC client #2354. 127.0.0.1 (5) | Allocated send buffers: 32 of 131072 bytes. 2025-04-17 12:27:47.256 | DTC client #2354. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-17 12:27:47.256 | DTC client #2354. 127.0.0.1 | Received logon request. 2025-04-17 12:27:47.256 | DTC client #2354. 127.0.0.1 | Sent Logon response with error to '' client. Username: . Result text: DTC protocol version 0 is unsupported 2025-04-17 12:27:47.562 | Denali Data Feed (Market Orders Data) | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=6, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=1670, ActualMessageDelay=0.8 seconds, DataCompRatio=2.05, UncompressedBytes=42383423, CompressionTime=1.271937(secs), NumCompressions=117621, Source=10.10.20.111, MaxSendBufferSize=72196, MaxSendBufferSizeDateTime=2025-04-16 19:44:02 2025-04-17 12:27:47.656 | Denali Data Feed | Heartbeat from server , ServerReceivedClientHeartbeatSecondsAgo=12, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=18895, ActualMessageDelay=0.8 seconds, DataCompRatio=2.55, UncompressedBytes=954579864, CompressionTime=6.365248(secs), NumCompressions=389807, Source=10.10.20.111, MaxSendBufferSize=169586, MaxSendBufferSizeDateTime=2025-04-17 07:18:53 2025-04-17 12:27:49.250 | DTC client #2354. 127.0.0.1 | OnDelayedDisconnect 2025-04-17 12:27:49.250 | DTC client #2354. 127.0.0.1 (5) | CloseSocket call. 2025-04-17 12:27:49.250 | DTC client #2354. 127.0.0.1 (5) | Shutdown started. Waiting for graceful close. 2025-04-17 12:27:50.258 | Deleting individual DTC server: DTC client #2354. 127.0.0.1 2025-04-17 12:27:50.258 | DTC server: DTC client #2354. 127.0.0.1 successfully deleted. 2025-04-17 12:27:53.259 | DTC client #2354. 127.0.0.1 (5) | Socket gracefully closed by remote side. 2025-04-17 12:27:53.259 | DTC client #2354. 127.0.0.1 (5) | Closed. PS D:\minh_os> python minh.py 2025-04-17 09:26:47 - minh_os - INFO - Initializing Minh OS... 2025-04-17 09:26:47 - symbol_manager - INFO - Added symbol: ES 2025-04-17 09:26:47 - symbol_manager - INFO - Added symbol: NQ 2025-04-17 09:26:47 - symbol_manager - INFO - Added symbol: VIX 2025-04-17 09:26:47 - risk_manager - INFO - Daily risk metrics reset 2025-04-17 09:26:47 - minh_os - INFO - Minh OS starting... 2025-04-17 09:26:47 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:26:47 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:26:47 - minh_os - INFO - Subscribed to ES 2025-04-17 09:26:47 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:26:47 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:26:47 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:26:48 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:26:48 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:26:48 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:26:48 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:26:48 - minh_os - INFO - Minh OS running, press Ctrl+C to exit 2025-04-17 09:26:53 - minh_os - INFO - Running trading test... 2025-04-17 09:26:53 - minh_os - INFO - Placing test order for ES 2025-04-17 09:26:53 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:26:53 - order_manager - ERROR - Failed to submit order for ES 2025-04-17 09:26:53 - minh_os - ERROR - Failed to submit order for ES 2025-04-17 09:26:53 - minh_os - WARNING - DTC client disconnected, attempting to reconnect... 2025-04-17 09:26:53 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:26:53 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:26:53 - minh_os - INFO - Subscribed to ES 2025-04-17 09:26:53 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:26:53 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:26:53 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:26:54 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:26:54 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:26:54 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:26:54 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:26:54 - minh_os - INFO - Reconnected successfully 2025-04-17 09:26:54 - minh_os - INFO - Connected: False, Subscribed symbols: 2 2025-04-17 09:26:55 - dtc_client - WARNING - Connection closed by server 2025-04-17 09:26:59 - minh_os - WARNING - DTC client disconnected, attempting to reconnect... 2025-04-17 09:26:59 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:26:59 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:26:59 - minh_os - INFO - Subscribed to ES 2025-04-17 09:26:59 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:26:59 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:26:59 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:27:00 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:00 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:27:00 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:00 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:27:00 - minh_os - INFO - Reconnected successfully 2025-04-17 09:27:00 - minh_os - INFO - Connected: False, Subscribed symbols: 2 2025-04-17 09:27:01 - dtc_client - WARNING - Connection closed by server 2025-04-17 09:27:05 - minh_os - WARNING - DTC client disconnected, attempting to reconnect... 2025-04-17 09:27:05 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:27:05 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:27:05 - minh_os - INFO - Subscribed to ES 2025-04-17 09:27:05 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:27:05 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:27:05 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:27:06 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:06 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:27:06 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:06 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:27:06 - minh_os - INFO - Reconnected successfully 2025-04-17 09:27:06 - minh_os - INFO - Connected: False, Subscribed symbols: 2 2025-04-17 09:27:07 - dtc_client - WARNING - Connection closed by server 2025-04-17 09:27:11 - minh_os - WARNING - DTC client disconnected, attempting to reconnect... 2025-04-17 09:27:11 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:27:11 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:27:11 - minh_os - INFO - Subscribed to ES 2025-04-17 09:27:11 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:27:11 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:27:11 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:27:12 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:12 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:27:12 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:12 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:27:12 - minh_os - INFO - Reconnected successfully 2025-04-17 09:27:12 - minh_os - INFO - Connected: False, Subscribed symbols: 2 2025-04-17 09:27:17 - minh_os - WARNING - DTC client disconnected, attempting to reconnect... 2025-04-17 09:27:17 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:27:17 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:27:17 - minh_os - INFO - Subscribed to ES 2025-04-17 09:27:17 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:27:17 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:27:17 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:27:18 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:18 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:27:18 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:18 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:27:18 - minh_os - INFO - Reconnected successfully 2025-04-17 09:27:18 - minh_os - INFO - Connected: False, Subscribed symbols: 2 2025-04-17 09:27:23 - minh_os - WARNING - DTC client disconnected, attempting to reconnect... 2025-04-17 09:27:23 - minh_os - INFO - Connecting to DTC server... 2025-04-17 09:27:23 - dtc_client - INFO - Connected to localhost:11099 2025-04-17 09:27:23 - minh_os - INFO - Subscribed to ES 2025-04-17 09:27:23 - minh_os - INFO - Subscribed to NQ 2025-04-17 09:27:23 - dtc_client - ERROR - Error sending message: a bytes-like object is required, not 'dict' 2025-04-17 09:27:23 - order_manager - ERROR - Failed to send trading accounts request 2025-04-17 09:27:24 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:24 - order_manager - ERROR - Failed to send open orders request 2025-04-17 09:27:24 - dtc_client - ERROR - Cannot send message: Not connected 2025-04-17 09:27:24 - order_manager - ERROR - Failed to send positions request 2025-04-17 09:27:24 - minh_os - INFO - Reconnected successfully 2025-04-17 09:27:24 - minh_os - INFO - Connected: False, Subscribed symbols: 2 Date Time Of Last Edit: 2025-04-17 16:35:15
|