Support Board
Date/Time: Sat, 04 May 2024 18:20:38 +0000
Post From: [DTC] Subscribing to market data correctly
[2019-03-21 08:17:11] |
User406106 - Posts: 6 |
Thank you for your latest response. I did not expect further answers so I really appreciate it. > Certainly you cannot leave out a field in a binary data structure. Actually what I learned from the server's responses is that I can leave them out (Size can be less than the actual structure size) if there are only unset optional fields after a field. For the logon fields I created a workaround so I can define a custom unset value for a field so it still can be optional (so a JSON serializer still can omit this field, for example). > At the menu at the top look at the DTC Files. They are all there. Thank you, of course I have them and they helped a lot with the missing fields/wrong sizes/enum sizes. However, they do not indicate the memory alignment gaps between the fields, which is a C++ artifact (see the example in my previous answer). But by this time I know I have to deal with this issue and how to calculate them by the field position. And thank you for correcting the documentation. I know this is a huge material to maintain. Date Time Of Last Edit: 2019-03-21 08:29:31
|