Login Page - Create Account

Support Board


Date/Time: Fri, 28 Feb 2025 18:08:14 +0000



Protobuf file outdated?

View Count: 779

[2019-05-14 02:37:26]
bfreis - Posts: 19
Hi,

Are the protobuf files outdated?

Reason I ask is because:

(1) The protobuf file is a "V3" file, but apparently the protocol is a "v8" (not sure they should match, though); and

(2) More importantly, I'm receiving messages with fields that are not defined on the proto file!

In the proto file I got from Github, the message PositionUpdate has 11 fields:


message PositionUpdate
{
  int32 RequestID = 1;

  int32 TotalNumberMessages = 2;

  int32 MessageNumber = 3;

  string Symbol = 4;
  string Exchange = 5;

  double Quantity = 6;
  double AveragePrice = 7;

  string PositionIdentifier = 8;

  string TradeAccount = 9;
  uint32 NoPositions = 10;

  uint32 Unsolicited = 11;
}

However, I'm receiving a message fields tag 12 and 13:


TotalNumberMessages: 1
MessageNumber: 1
Symbol: "ES-FOP-20190517-2810-P-GLOBEX-50-USD"
Quantity: 3
AveragePrice: 27.111733333000004
TradeAccount: "XXXXXXX"
Unsolicited: 1
/* 11 unknown bytes */
12: 0
13: 0

Any ideas?
[2019-05-14 03:20:49]
bfreis - Posts: 19
I found a different proto file that has those 2 extra fields. It also contain a lot of other changes compared to the file on Github.

http://dtcprotocol.org/DTC_Files/DTCProtocol.GPBV3.proto

So it's safe to say that the file on Github is badly outdated.

Anyways, problem solved. Hopefully this can help others.
[2019-05-14 04:02:21]
Sierra Chart Engineering - Posts: 104368
So it's safe to say that the file on Github is badly outdated.
Yes
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-05-14 05:57:43]
Sierra Chart Engineering - Posts: 104368
The protobuf file is a "V3" file, but apparently the protocol is a "v8" (not sure they should match, though)
Version 3 refers to Google protocol buffers version 3. Version 8 refers to the DTC protocol version.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account