diff --git a/src/lib/config/profiles/default/marex_fix_cfg.conf b/src/lib/config/profiles/default/marex_fix_cfg.conf new file mode 100644 index 000000000..aee300492 --- /dev/null +++ b/src/lib/config/profiles/default/marex_fix_cfg.conf @@ -0,0 +1,17 @@ +MarexFixCfg { + value{ + customer_or_firm :0 + handl_inst: 2 + rule80a: 1 + heart_bt_int : 30 + counterparty_port :22754 + name: "trafix" + msg_type: "Order_Single" + protocol_version: "FIX_42" + sender_sub_id: "BTS" + target_sub_id: "TRFXMRX" + client_id: "BTS" + counterparty_host : "74.217.55.230" + open_close :"O" + } +} \ No newline at end of file diff --git a/src/lib/config/protos/marex_fix_cfg.proto b/src/lib/config/protos/marex_fix_cfg.proto new file mode 100644 index 000000000..a5ec9b16b --- /dev/null +++ b/src/lib/config/protos/marex_fix_cfg.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; +package bts.config; +message MarexFixCfg { + enum HandlInst { + UNDEFINED = 0; + DMA = 1; + ALGO = 2; + CARE = 3; + } + enum Rule80A { + UNUSED = 0; + A = 1; + P = 2; + } + string msg_type = 1; + string protocol_version = 2; + HandlInst handl_inst = 3; + string sender_sub_id = 4; + string target_sub_id = 5; + string client_id = 6; + Rule80A rule80a = 7; + string counterparty_host = 8; + int32 heart_bt_int = 9; + int32 counterparty_port = 10; + uint32 customer_or_firm =11; + string open_close =12; + string name = 13; +} \ No newline at end of file