Support Board
Date/Time: Sat, 10 May 2025 09:46:39 +0000
Post From: DTC -> MarketDataRequest 92 bytes instead of 90 bytes
[2016-01-27 05:46:59] |
paska.houso - Posts: 7 |
Created a new thread to avoid polluting the DTC general thread. SierraChart is sending to my server, initial development and testing, a "MARKET_DATA_REQUEST" with "Size" set to 92 bytes. And the packet size is 92 bytes too. The header definition is: uint16_t Size; uint16_t Type; RequestActionEnum RequestAction; uint16_t SymbolID; char Symbol[SYMBOL_LENGTH]; char Exchange[EXCHANGE_LENGTH]; the constants: const int32_t SYMBOL_LENGTH = 64; const int32_t EXCHANGE_LENGTH= 16; the Enum: enum RequestActionEnum : int32_t My calculation gives: 2 + 2 + 4 + 2 + 64 + 16 = 90 Additionally: - This MARKET_DATA_REQUEST message is unsolicited, given that the LogonResponse of my server indicates that MARKET_DATA_REQUEST is not supported - RequestAction is set to 1 (SUBSCRIBE) in this message Date Time Of Last Edit: 2016-01-27 05:55:49
|