Merged in DJ_ICE_ManualOrderIndicator (pull request #417)

added ManualOrderIndicator to ICENativeOrder.cpp after merge with Prod
This commit is contained in:
Pete Fisher committed 2021-03-02 15:47:34 +00:00
commit 1921f02d30
1 file changed
+3
@@ -1136,6 +1136,7 @@ void ICENativeOrder::init_fix()
create_encoding.add<fix::HandlInst>('1');
create_encoding.add<fix::Int_Symbol>(sec.ice().exchange_id());
create_encoding.add<fix::Side>(def.side());
create_encoding.add<fix::ManualOrderIndicator>(def.manual_order_indicator());
me->create_transact_time_bm = create_encoding.add<fix::TransactTimeStr>(datetime::FIX_timestamp(datetime::now()));
me->create_quantity_bm = create_encoding.add<fix::OrderQty>(0, quantity_sz());
create_encoding.add<fix::TimeInForce>(def.time_in_force());
@@ -1165,6 +1166,7 @@ void ICENativeOrder::init_fix()
update_encoding.add<fix::HandlInst>('1');
update_encoding.add<fix::Int_Symbol>(sec.ice().exchange_id());
update_encoding.add<fix::Side>(def.side());
update_encoding.add<fix::ManualOrderIndicator>(def.manual_order_indicator());
me->update_transact_time_bm = update_encoding.add<fix::TransactTimeStr>(datetime::FIX_timestamp(datetime::now()));
me->update_quantity_bm = update_encoding.add<fix::OrderQty>(0, quantity_sz());
me->update_clordid_bm = update_encoding.add<fix::Int_ClOrdID>(get_clordid(0), ice_orderid_sz());
@@ -1189,6 +1191,7 @@ void ICENativeOrder::init_fix()
cancel_encoding.add<fix::OriginatorUserID>(rr.authorized_trader());
cancel_encoding.add<fix::Int_Symbol>(sec.ice().exchange_id());
cancel_encoding.add<fix::Side>(def.side());
cancel_encoding.add<fix::ManualOrderIndicator>(def.manual_order_indicator());
me->cancel_clordid_bm = cancel_encoding.add<fix::Int_ClOrdID>(get_clordid(0), ice_orderid_sz());
// special tags