Support Board
Date/Time: Mon, 21 Apr 2025 13:08:38 +0000
DTC Protocol Paper Trading Not Displaying in Trading DOM
View Count: 92
[2025-04-16 15:00:17] |
colin0021 - Posts: 29 |
Hello Sierra Chart Support, I've successfully implemented a DTC Protocol client that connects to Sierra Chart and can submit orders. The logs on both sides confirm the connection is working correctly: - My application logs show successful connection to the DTC server - Sierra Chart logs show receiving the messages, including order submissions - Sierra Chart acknowledges the orders with "Received unknown message type from client. Type = 3001" The issue I'm facing is that while the DTC communication works, the paper trading orders submitted through DTC Protocol don't appear in the Trading DOM interface or anywhere else in Sierra Chart's UI. In my order submission, I'm including: - IsSimulated: 1 - IsAutomatedOrder: 1 - TradeAccount: "SIM" What specific configuration is needed to have Sierra Chart display paper trading orders submitted via DTC Protocol in the Trading DOM interface? Is there a specific account designation required or settings that need to be enabled? Thank you for your assistance. |
![]() ![]() ![]() |
[2025-04-16 15:02:50] |
colin0021 - Posts: 29 |
Bascially I build a software that successfully connects to sierra chart DTC. I want to initiate trades from my software. It shows as successfully on my end. But on sierra chart, I don't see the trades in simulation. Screenshot attached in the previous message. DTC settings already shows "Allow Trading" please help thanks
|
[2025-04-16 17:44:06] |
colin0021 - Posts: 29 |
I wanted to follow up on my previous message regarding the DTC Protocol client connection issue. I think I sort of figure out the solution to the first place. I have 2 instances of sierra chart running on my desktop. 1 instance is for SC data. 2nd instance here is trying to connect to DTC Service (trading) and hopefully my software can communicate with it. However, at the moment, I cannot get my 2nd SC instance to connect. Here are the messages in SC (below). I've attached the image of the DTC Service (trading) setting. Any suggest solutions? 2025-04-16 13:34:59.298 | Software version: 2732 64-bit 2025-04-16 13:34:59.298 | Primary Thread ID: 58732 2025-04-16 13:34:59.298 | Usage end date: 2025-11-23 2025-04-16 13:34:59.298 | Enabled for: Advanced Features 2. 2025-04-16 13:34:59.298 | Enabled for: Sierra Chart Historical Data Service. 2025-04-16 13:34:59.298 | Enabled for: Denali Real-Time Exchange Data Feed. 2025-04-16 13:34:59.298 | Enabled for: Delayed Denali Exchange Data Feed. 2025-04-16 13:34:59.298 | Enabled for exchange2: CME 2025-04-16 13:34:59.298 | Enabled for exchange2: CFE 2025-04-16 13:34:59.298 | Enabled for exchange2: CBOE Global Indexes 2025-04-16 13:34:59.298 | Allow Support for Sierra Chart Data Feeds is enabled. 2025-04-16 13:34:59.298 | Current selected Data/Trading service: DTC Service 2025-04-16 13:34:59.298 | Custom symbol settings values: enabled 2025-04-16 13:34:59.298 | Chart Update Interval: 100 2025-04-16 13:34:59.298 | Intraday Data Storage Time Unit: 0 2025-04-16 13:34:59.298 | Time Zone: -04:00:00 (EST-05EDT+01,M3.2.0/02:00,M11.1.0/02:00) 2025-04-16 13:34:59.298 | 2025-04-16 17:34:59 Local computer time in UTC 2025-04-16 13:34:59.298 | 2025-04-16 13:34:59 Local computer time in SC Time Zone 2025-04-16 13:34:59.298 | 2025-04-16 17:18:51 Server time in UTC 2025-04-16 13:34:59.298 | Local computer UTC time and Server UTC time difference: 1 seconds. 2025-04-16 13:34:59.298 | Program path: C:\SierraChart\ 2025-04-16 13:34:59.298 | Data Files path: C:\SierraChart\Data\ 2025-04-16 13:34:59.298 | OS Version Number: 10.0 2025-04-16 13:34:59.298 | Locale Setting: C 2025-04-16 13:34:59.299 | DLLs: Convergent_64.dll, ETOFSv3_64.dll, gc5150_Studies_2431_64.dll, gexbot_64.dll, google_sheets_importer_64.dll, pace_of_tape_64.dll, TapeOnChart_64.dll, TOMod_64.dll, TWFX_FREE_2484_64.dll, TWFX_FREE_64.dll, TWFX_FREE_SWS_2484_64.dll, TWFX_FREE_SWS_64.dll, TWFX_FREE_ZZS_2484_64.dll, TWFX_FREE_ZZS_64.dll, UserContributedStudies_64.dll 2025-04-16 13:34:59.299 | Allowed protected custom studies: TWFX_Free 2025-04-16 13:34:59.299 | Crash reporter started: true 2025-04-16 13:34:59.299 | 2025-04-16 13:35:26.202 | File >> Reconnect selected. 2025-04-16 13:35:26.202 | DTC Client socket (0) | CloseSocket call. 2025-04-16 13:35:26.202 | DTC Service | Disconnected. 2025-04-16 13:35:26.202 | Will reconnect to the server in 2.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. 2025-04-16 13:35:28.207 | 2025-04-16 13:35:28.207 | DTC Service | Connecting to the server localhost. Port 11099 2025-04-16 13:35:28.207 | DTC Client socket (1) | Creating socket. 2025-04-16 13:35:28.207 | DTC Client socket (1) | New receive buffer size: 0 2025-04-16 13:35:28.207 | DTC Client socket (1) | Connecting to IP: 127.0.0.1. 2025-04-16 13:35:28.207 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-16 13:35:28.207 | DTC client #61. 127.0.0.1 (2) | Creating socket. 2025-04-16 13:35:28.207 | DTC Service | Network connection to server complete. 2025-04-16 13:35:28.207 | DTC Service | Starting socket receive thread. 2025-04-16 13:35:28.207 | DTC client #61. 127.0.0.1 (2) | New receive buffer size: 262144 2025-04-16 13:35:28.207 | DTC client #61. 127.0.0.1 (2) | Allocated send buffers: 32 of 131072 bytes. 2025-04-16 13:35:28.207 | DTC Service | Setting DTC encoding to Binary 2025-04-16 13:35:28.207 | DTC Service | Sending logon request message. 2025-04-16 13:35:28.207 | JSON data: 2025-04-16 13:35:28.207 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:28.207 | JSON data: 2025-04-16 13:35:28.207 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:28.207 | JSON data: | Number times message added: 137 2025-04-16 13:35:28.207 | JSON data: 2025-04-16 13:35:28.207 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:28.207 | JSON data: | Number times message added: 101 2025-04-16 13:35:28.207 | JSON data: Sierra Chart 2025-04-16 13:35:28.207 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:28.207 | JSON data: | Number times message added: 22 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 | No heartbeat received after 4s. Closing network socket. Bytes in receive buffer: 0 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 (2) | CloseSocket call. 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 (2) | Write in progress. Shutdown being delayed. PendingSize=0 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 (2) | Write has completed. Shutdown being performed. 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 (2) | Shutdown started. Waiting for graceful close. 2025-04-16 13:35:32.488 | DTC Client socket (1) | Socket gracefully closed by remote side. 2025-04-16 13:35:32.488 | DTC Client socket (1) | CloseSocket call. 2025-04-16 13:35:32.488 | DTC Client socket (1) | Signaling for receive thread to end. Bytes in receive buffer: 0 2025-04-16 13:35:32.488 | DTC Client socket (1) | Graceful close received or receive error. Shutdown complete. Closing socket now. 2025-04-16 13:35:32.488 | DTC Client socket (1) | Closed. 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 (2) | Socket gracefully closed by remote side. 2025-04-16 13:35:32.488 | DTC Service | Failed connections: 51 2025-04-16 13:35:32.488 | Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. 2025-04-16 13:35:32.488 | Select 'File >> Disconnect' to prevent further connection attempts. 2025-04-16 13:35:32.488 | DTC client #61. 127.0.0.1 (2) | Closed. 2025-04-16 13:35:32.503 | DTC Client socket (0) | CloseSocket call. 2025-04-16 13:35:32.503 | DTC Service | Disconnected. 2025-04-16 13:35:32.503 | Will reconnect to the server in 2.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. 2025-04-16 13:35:33.483 | Deleting individual DTC server: DTC client #61. 127.0.0.1 2025-04-16 13:35:33.483 | DTC server: DTC client #61. 127.0.0.1 successfully deleted. 2025-04-16 13:35:34.510 | 2025-04-16 13:35:34.510 | DTC Service | Connecting to the server localhost. Port 11099 2025-04-16 13:35:34.510 | DTC Client socket (1) | Creating socket. 2025-04-16 13:35:34.510 | DTC Client socket (1) | New receive buffer size: 0 2025-04-16 13:35:34.510 | DTC Client socket (1) | Connecting to IP: 127.0.0.1. 2025-04-16 13:35:34.511 | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-16 13:35:34.511 | DTC client #62. 127.0.0.1 (2) | Creating socket. 2025-04-16 13:35:34.511 | DTC Service | Network connection to server complete. 2025-04-16 13:35:34.511 | DTC Service | Starting socket receive thread. 2025-04-16 13:35:34.511 | DTC client #62. 127.0.0.1 (2) | New receive buffer size: 262144 2025-04-16 13:35:34.511 | DTC client #62. 127.0.0.1 (2) | Allocated send buffers: 32 of 131072 bytes. 2025-04-16 13:35:34.511 | DTC Service | Setting DTC encoding to Binary 2025-04-16 13:35:34.511 | DTC Service | Sending logon request message. 2025-04-16 13:35:34.511 | JSON data: 2025-04-16 13:35:34.511 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:34.511 | JSON data: 2025-04-16 13:35:34.511 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:34.511 | JSON data: | Number times message added: 137 2025-04-16 13:35:34.511 | JSON data: 2025-04-16 13:35:34.511 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:34.511 | JSON data: | Number times message added: 101 2025-04-16 13:35:34.511 | JSON data: Sierra Chart 2025-04-16 13:35:34.511 | DTC JSON message: Missing 'Type' field. Ignoring message. * 2025-04-16 13:35:34.511 | JSON data: | Number times message added: 22 |
![]() ![]() |
[2025-04-16 17:54:50] |
colin0021 - Posts: 29 |
actually, I've resolved the connection issue from the 2nd instance of SC. Now both instances of SC are connected. Now i just need help with connecting my software to SC for trading. The idea is I want my software to initiate the trades, and hopefully the trades show up on my SC screen (from the first post). My custom trading software is built in Python and uses a custom DTC client. Any recommendations for correctly implementing the DTC protocol in a Python client to ensure proper communication with Sierra Chart? Date Time Of Last Edit: 2025-04-16 17:55:30
|
[2025-04-16 19:59:09] |
colin0021 - Posts: 29 |
i resolved it by 1st instance of SC - connects to SC data with global setting --> DTC protocol server enabled, encoding --> binary (variable length strings) 2nd instance, I'm using DTC sub instance. But can you explain the difference betwen DTC subinstance vs. DTC service (trading)? Now I want to get my bot to make trades through SC via DTC and pythons. Any useful tips? |
![]() |
[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
|
To post a message in this thread, you need to log in with your Sierra Chart account: