DTC Protocol Discussion Forum
- DTC Protocol Discussion Forum |
- Search Board |
- Control Panel |
- View My Posts / Threads |
- Direct Messages
Date/Time: Fri, 29 Nov 2024 14:38:48 +0000
Post From: DTC message responses issues
[2020-12-06 21:41:18] |
DTC Engineering - Posts: 320 |
We apologize for the delay with the response. 1. Not all fields are going to be set if they are not available for the symbol in Sierra Chart. It depends upon the the Symbol Settings for the symbol and other reasons. If a field is not available it will just simply not be provided in order to make the response more compact. 2. Regarding exchanges, this is provided based upon the Exchange field for the symbol in the Symbol Settings. In many cases the exchange field is not set. This is the reason why the list of exchanges is not complete. Also, it is not dependent upon what exchanges you are subscribed to with an external data feed. There is no relationship to that. 3. This is very basic and you are not handling the network socket data properly. This is not specific to how Sierra Chart is transmitting the data but how the underlying network is handling it. You need to continue to read data from the socket buffer and buffer it on your side, until you get a null terminated JSON message. Date Time Of Last Edit: 2020-12-06 21:41:48
|