-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdepth_by_order.proto
More file actions
44 lines (33 loc) · 2.23 KB
/
depth_by_order.proto
File metadata and controls
44 lines (33 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package rti;
message DepthByOrder
{
// PB_OFFSET = 100000 , is the offset added for each MNM field id
enum TransactionType {
BUY = 1;
SELL = 2;
}
enum UpdateType {
NEW = 1;
CHANGE = 2;
DELETE = 3;
}
required int32 template_id = 154467; // PB_OFFSET + MNM_TEMPLATE_ID
optional string symbol = 110100; // PB_OFFSET + MNM_SYMBOL
optional string exchange = 110101; // PB_OFFSET + MNM_EXCHANGE
optional uint64 sequence_number = 112002; // PB_OFFSET + MNM_SEQUENCE_NUMBER
repeated UpdateType update_type = 110121; // PB_OFFSET + MNM_UPDATE_TYPE
repeated TransactionType transaction_type = 153612; // PB_OFFSET + MNM_MARKET_DEPTH_SIDE
repeated double depth_price = 154405; // PB_OFFSET + MNM_MARKET_DEPTH_PRICE
repeated double prev_depth_price = 154906; // PB_OFFSET + MNM_PREVIOUS_MARKET_DEPTH_PRICE
repeated bool prev_depth_price_flag = 154930; // PB_OFFSET + MNM_PREVIOUS_MARKET_DEPTH_PRICE_FLAG
repeated int32 depth_size = 154406; // PB_OFFSET + MNM_MARKET_DEPTH_SIZE
repeated uint64 depth_order_priority = 153613; // PB_OFFSET + MNM_MARKET_DEPTH_ORDER_PRIORITY
repeated string exchange_order_id = 149238; // PB_OFFSET + MNM_EXCH_ORD_ID
optional int32 ssboe = 150100; // PB_OFFSET + MNM_SECONDS_SINCE_BOE
optional int32 usecs = 150101; // PB_OFFSET + MNM_USECS
optional int32 source_ssboe = 150400; // PB_OFFSET + MNM_SOURCE_SSBOE
optional int32 source_usecs = 150401; // PB_OFFSET + MNM_SOURCE_USECS
optional int32 source_nsecs = 150404; // PB_OFFSET + MNM_SOURCE_NSECS
optional int32 jop_ssboe = 150600; // PB_OFFSET + MNM_JOP_SSBOE
optional int32 jop_nsecs = 150604; // PB_OFFSET + MNM_JOP_NSECS
}