Made cme_market_segment_id mandatory in config to avoid mistakes.

Its too easy to forget this value and end up routing orders
incorrectly. Unfortunately mandatory fields are not yet enforced in
config but we have a case to do it in a next cycle.
This commit is contained in:
Pedro Pinto committed 2018-06-26 15:36:53 +00:00
1 parent 709229ac14
commit 564cd3e273
2 files changed
+19 -2

No files matched your search

+18 -1
View File
@@ -9,13 +9,14 @@ JetFIX {
# sender_compid: "MBX004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
# end_day: "friday"
# sender_subid: "BTS"
# raw_data: "T8F8F"
# use_cme_secure_logon: true
# use_cme_secure_logon: true
# }
# connection {
# # cert
@@ -26,6 +27,7 @@ JetFIX {
# sender_compid: "MBX004N"
# target_compid: "CME"
# target_subid: "70"
# cme_market_segment_id: 70
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -42,6 +44,7 @@ JetFIX {
# sender_compid: "MC1004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -58,12 +61,14 @@ JetFIX {
# sender_compid: "MC1004N"
# target_compid: "CME"
# target_subid: "70"
# cme_market_segment_id: 70
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
# end_day: "friday"
# sender_subid: "BTS"
# raw_data: "S4PMA"
# cme_market_segment_id: 70
# }
# connection {
# # cert
@@ -74,6 +79,7 @@ JetFIX {
# sender_compid: "MC1004N"
# target_compid: "CME"
# target_subid: "72"
# cme_market_segment_id: 72
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -90,6 +96,7 @@ JetFIX {
# sender_compid: "MC1004N"
# target_compid: "CME"
# target_subid: "76"
# cme_market_segment_id: 76
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -106,6 +113,7 @@ JetFIX {
# sender_compid: "MC1004N"
# target_compid: "CME"
# target_subid: "84"
# cme_market_segment_id: 84
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -122,6 +130,7 @@ JetFIX {
# sender_compid: "MC1004N"
# target_compid: "CME"
# target_subid: "82"
# cme_market_segment_id: 82
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -138,6 +147,7 @@ JetFIX {
# sender_compid: "MC5004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -154,6 +164,7 @@ JetFIX {
# sender_compid: "MC7004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -170,6 +181,7 @@ JetFIX {
# sender_compid: "MC8004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -186,6 +198,7 @@ JetFIX {
# sender_compid: "M5Y004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -202,6 +215,7 @@ JetFIX {
# sender_compid: "ANS004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -218,6 +232,7 @@ JetFIX {
# sender_compid: "T39004N"
# target_compid: "CME"
# target_subid: "64"
# cme_market_segment_id: 64
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -234,6 +249,7 @@ JetFIX {
# sender_compid: "KTK004N"
# target_compid: "CME"
# target_subid: "99"
# cme_market_segment_id: 99
# start_time: "00:30:00"
# end_time: "23:30:00"
# start_day: "sunday"
@@ -251,6 +267,7 @@ JetFIX {
sender_subid: "BTS"
target_compid: "BTS"
target_subid: "BTS"
cme_market_segment_id: 0
end_time: "07:48:00"
start_time: "07:52:00"
raw_data: "1JE9X"
+1 -1
View File
@@ -71,7 +71,7 @@ message JetFIX {
optional bool log_fix_stream = 260 [default=false];
optional bool use_persisted_quote_ids = 270 [default=true];
optional uint32 quote_id_reservation_size = 290 [default=100000];
optional uint32 cme_market_segment_id = 320 [default=0];
required uint32 cme_market_segment_id = 320;
optional string trading_session_id = 330 [default=""];
optional int32 udf_support_indicator = 340 [default=1];