Support Board
Date/Time: Sun, 22 Dec 2024 21:02:49 +0000
Post From: Receiving Delayed Data
[2015-06-11 14:28:48] |
User21320 - Posts: 12 |
I am a paying subscriber to Sierra Charts for a year now. I am using the Rithmic service with the DTCBridge that comes with Sierra Charts with an account with AMP Futures. I have been utilizing your "DTCBridge" application from my personal application (as per source code provided by you) approximately as follows (C code calling Windows base services) SOCKET DTCSocket; //Socket handle char DTCPort[] = "/port:xxx" ; SOCKADDR_IN Server; //Socket address information CreateProcess("DTCBridge.exe", DTCPort, NULL, NULL, FALSE, 0, NULL, DTCDirectory, &Startupinfo, &Process_Information)) ; DTCSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); //Create socket Server.sin_family = AF_INET; // address family Internet Server.sin_port = htons ((unsigned short)DTCPort); //Port to connect on Server.sin_addr.s_addr = inet_addr ("127.0.0.1"); //localhost connect(DTCSocket, (SOCKADDR *)&Server, sizeof(Server)) ; I then used your DTC protocol (as per documentation provided by you) to request/receive real time quotes and also to submit/modify/cancel orders using Windows send and recv calls upon the DTCSocket. (using very basic socket calls to localhost:port, sending and receiving data, and interpreting the data as per the DTCProtocol.h file provided with Sierra Charts) This has been working well until today when all I could receive were "delayed" quotes in my application. Please comment on this issue. |