Quickfix:FIX消息
我是新手 我需要使用以下聚会信息创建FIX消息, 453是重复组
"21hrs 2mins"
FIX 4.4版
答案 0 :(得分:2)
例如,对于一个新订单单:
NewOrderSingle.NoPartyIDs.NoPartySubIDs subID = new NewOrderSingle.NoPartyIDs.NoPartySubIDs();
subID.set(new PartySubID("Sub ID"));
subID.set(new PartySubIDType(PartySubIDType.EMAIL_ADDRESS));
NewOrderSingle.NoPartyIDs parties = new NewOrderSingle.NoPartyIDs();
parties.set(new PartyID("Party ID"));
parties.set(new PartyIDSource(PartyIDSource.MIC));
parties.set(new PartyRole(PartyRole.AGENT));
parties.addGroup(subID);
NewOrderSingle order = new NewOrderSingle();
order.addGroup(parties);