fix sendOrder handlInst

This commit is contained in:
etreschenkov 2026-04-29 14:41:08 +03:00
parent 24bb9d3966
commit b3d01c17ea

View file

@ -200,7 +200,7 @@ public class Application extends MessageCracker implements quickfix.Application,
newOrderSingle.setField(new ContraBroker(orderCurrency.getCounterTradingCode()));
newOrderSingle.set(new SettlType(orderCurrency.getSettleCode()));
newOrderSingle.setField(new StringField(5018, orderCurrency.getTradingCode())); // FirmId
newOrderSingle.set(new HandlInst(HandlInst.AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION));
boolean result = Session.sendToTarget(newOrderSingle, fixSessionID);
} catch (SessionNotFound sessionNotFound) {
log.error(orderCurrency.toString(), sessionNotFound);