Added OnBehalfofcompid tag to ICE as per cert.
This commit is contained in:
1 parent
f8395c11b5
commit
2cb458af2d
1 file changed
+4
-4
@@ -1106,14 +1106,14 @@ void ICENativeOrder::init_fix()
|
||||
create_encoding.add<fix::Memo>(memo);
|
||||
me->create_clordid_bm = create_encoding.add<fix::Int_ClOrdID>(get_clordid(0), ice_orderid_sz());
|
||||
create_encoding.add<fix::CompanyID>(std::atoi(rr.company_id().c_str()));
|
||||
//create_encoding.add<fix::OnBehalfOfCompID>(""); //optional, unclear if we need
|
||||
create_encoding.add<fix::OnBehalfOfCompID>("Katallage|Katallage");
|
||||
std::string cust = rr.cust_order_handing_inst();
|
||||
if(cust == "")
|
||||
cust = "Y";
|
||||
create_encoding.add<fix::CustOrderHandlingInst>(cust);
|
||||
create_encoding.add<fix::SenderSubID>(rr.operator_id());
|
||||
create_encoding.add<fix::OnBehalfOfSubID>(rr.operator_id() + "|" + rr.authorized_trader());
|
||||
create_encoding.add<fix::OnBehalfOfLocationID>("ISV-BTS|" + rr.authorized_group());
|
||||
create_encoding.add<fix::OnBehalfOfLocationID>("DAU|" + rr.authorized_group());
|
||||
create_encoding.add<fix::OriginatorUserID>(rr.authorized_trader());
|
||||
create_encoding.add<fix::HandlInst>('1');
|
||||
create_encoding.add<fix::Int_Symbol>(sec.ice().exchange_id());
|
||||
@@ -1137,10 +1137,10 @@ void ICENativeOrder::init_fix()
|
||||
update_encoding.add<fix::Memo>(memo);
|
||||
me->update_orig_clordid_bm = update_encoding.add<fix::Int_OrigClOrdID>(get_clordid(0), ice_orderid_sz());
|
||||
update_encoding.add<fix::CompanyID>(std::atoi(rr.company_id().c_str()));
|
||||
//update_encoding.add<fix::OnBehalfOfCompID>(""); //optional, unclear if we need
|
||||
update_encoding.add<fix::OnBehalfOfCompID>("Katallage|Katallage");
|
||||
update_encoding.add<fix::SenderSubID>(rr.operator_id());
|
||||
update_encoding.add<fix::OnBehalfOfSubID>(rr.operator_id() + "|" + rr.authorized_trader());
|
||||
update_encoding.add<fix::OnBehalfOfLocationID>("ISV-BTS|" + rr.authorized_group());
|
||||
update_encoding.add<fix::OnBehalfOfLocationID>("DAU|" + rr.authorized_group());
|
||||
update_encoding.add<fix::OriginatorUserID>(rr.authorized_trader());
|
||||
update_encoding.add<fix::HandlInst>('1');
|
||||
update_encoding.add<fix::Int_Symbol>(sec.ice().exchange_id());
|
||||
|
||||
Reference in new issue
Block a user