Support Board
Date/Time: Sun, 06 Jul 2025 11:58:47 +0000
Post From: Orders Not Being Processed via DTC
[2025-04-03 17:07:54] |
User483520 - Posts: 7 |
Nope, nothing happening in neither Trade Orders or Trade Activity Log. Results are the same for both TRADE_MODE_LIVE and TRADE_MODE_SIMULATED. Sierra Chart Server Settings is set to standard ports. Allow Trading = Yes. Here's the Message Log for a test I ran just now. At 12:15:00:500 a BUY STOP MARKET order was sent by client. I suppose I need to get out of "relay server mode"? How does one do that? Or is it a security definition issue? In Server Settings Auto Send is set to Yes, I also have an intraday cchart open and symbol added to Quote Board. Message Log : 2025-04-03 12:14:36.991 | Unset | DTC Protocol server | Incoming connection from 127.0.0.1. 2025-04-03 12:14:36.991 | Network | DTC client #28. 127.0.0.1 (3) | Creating socket. 2025-04-03 12:14:36.991 | Network | DTC client #28. 127.0.0.1 (3) | New receive buffer size: 262144 2025-04-03 12:14:36.991 | Unset | DTC client #28. 127.0.0.1 | Requested heartbeat interval: 1 2025-04-03 12:14:36.991 | Unset | DTC client #28. �������������������������������. 127.0.0.1 | Received logon request. 2025-04-03 12:14:36.991 | Unset | DTC client #28. �������������������������������. 127.0.0.1 | Using relay server mode. Using subscriptions. 2025-04-03 12:14:36.991 | Unset | DTC client #28. �������������������������������. 127.0.0.1 | Sent successful Logon response message to client. Username: HIDDEN. Result text: Connected to SC DTC Protocol server. Service=sc_futures_direct.dtc.trading|SymbolSettings=sc_futures_direct.dtc.trading 2025-04-03 12:14:36.991 | Network | DTC client #28. 127.0.0.1 (3) | Allocated send buffers: 31 of 131072 bytes. 2025-04-03 12:14:39.997 | Unset | DTC client #28. �������������������������������. 127.0.0.1 | Sending all symbols to relay client. 2025-04-03 12:14:39.997 | Unset | DTC client #28. �������������������������������. 127.0.0.1 | Not sending MNQM25_FUT_CME security definition to the client. Market data not allowed to be relayed for symbol. 2025-04-03 12:15:06.501 | Unset | DTC client #28. �������������������������������. 127.0.0.1 | OnDelayedDisconnect 2025-04-03 12:15:06.501 | Network | DTC client #28. 127.0.0.1 (3) | CloseSocket call. 2025-04-03 12:15:06.501 | Network | DTC client #28. 127.0.0.1 (3) | Shutdown started. Waiting for graceful close. 2025-04-03 12:15:07.494 | Unset | Deleting individual DTC server: DTC client #28. �������������������������������. 127.0.0.1 2025-04-03 12:15:07.495 | Unset | DTC server: DTC client #28. �������������������������������. 127.0.0.1 successfully deleted. Here's the output from my client for that same test. It includes some debugging: [Thu Apr 3 12:14:36 2025] Trading client started. [Thu Apr 3 12:14:36 2025] Connected to DTC server at 127.0.0.1:11099 [Thu Apr 3 12:14:36 2025] sendAll: Attempting 508 bytes, sent 508 bytes. [Thu Apr 3 12:14:36 2025] sendAll: Total sent 508 bytes. [Thu Apr 3 12:14:36 2025] LOGON_REQUEST sent. [Thu Apr 3 12:14:36 2025] recvAll: Attempting 252 bytes, received 252 bytes. [Thu Apr 3 12:14:36 2025] Logon round-trip latency: 2.108229 ms [Thu Apr 3 12:14:36 2025] Logon successful. Server: [Thu Apr 3 12:14:36 2025] Synchronized Chicago time: 12:14:36.992 [Thu Apr 3 12:14:36 2025] Waiting until target order time (12:15:0.500) Chicago time... [Thu Apr 3 12:14:36 2025] Received 8 bytes from socket. [Thu Apr 3 12:14:36 2025] Received MARKET_DATA_FEED_STATUS (100). Raw data: 08 00 64 00 02 00 00 00 [Thu Apr 3 12:14:37 2025] NTP offset calculated: -0.000514 seconds. [Thu Apr 3 12:14:37 2025] Updated NTP offset: -0.000514 seconds. [Thu Apr 3 12:15:00 2025] Target time reached. Order send time (Chicago): 12:15:0.500 [Thu Apr 3 12:15:00 2025] === Dumping Order === [Thu Apr 3 12:15:00 2025] Symbol: MNQM25_FUT_CME [Thu Apr 3 12:15:00 2025] Exchange: [Thu Apr 3 12:15:00 2025] ClientOrderID: STOP_ORDER_17437005005013314 [Thu Apr 3 12:15:00 2025] OrderType: 3 [Thu Apr 3 12:15:00 2025] BuySell: 1 [Thu Apr 3 12:15:00 2025] Quantity: 1.000000 [Thu Apr 3 12:15:00 2025] TradeAccount: HIDDEN [Thu Apr 3 12:15:00 2025] FreeFormText: Stop Market Order Test [Thu Apr 3 12:15:00 2025] === End Dump === [Thu Apr 3 12:15:00 2025] sendAll: Attempting 252 bytes, sent 252 bytes. [Thu Apr 3 12:15:00 2025] sendAll: Total sent 252 bytes. [Thu Apr 3 12:15:00 2025] Stop market order submitted: BUY 1.000000 contracts with trigger price 20.000000 [Thu Apr 3 12:15:05 2025] sendAll: Attempting 133 bytes, sent 133 bytes.[Thu Apr 3 12:15:05 2025] Received 102 bytes from socket. [Thu Apr 3 12:15:05 2025] Received LOGOFF message from server. [Thu Apr 3 12:15:05 2025] sendAll: Total sent 133 bytes. [Thu Apr 3 12:15:05 2025] Sent LOGOFF. Disconnecting... [Thu Apr 3 12:15:06 2025] DTC receiver thread exiting. [Thu Apr 3 12:15:37 2025] Trading client terminated. Date Time Of Last Edit: 2025-04-03 20:44:25
|