您的位置:首页 > 产品设计 > UI/UE

Fix协议介绍21-party信息查询(PartyEntitlementsRequest )

2013-12-13 20:30 826 查看

FIX.5.0SP2_EP168 Message

PartyEntitlementsRequest [type 'CU']

<PtyEntlmntReq>

The PartyEntitlementsRequest message is used to request for entitlement information for one or more party(-ies), specific party role(s), or specific instruments(s).

Added FIX.5.0SP2 EP129
Expand Components | Collapse Components
Field or ComponentField NameFIXML nameReq'dCommentsDepr.

ComponentStandardHeaderBaseHeader
MsgType=CU

1770EntitlementRequestID@ReqID

263SubscriptionRequestType@SubReqTyp

ComponentRequestingPartyGrpReqPtyMay be used to identify the party making the request and their role.

ComponentPartiesPtyScope of the query/request for specific party(-ies).

ComponentRequestedPartyRoleGrpReqRScope of the query/request for specific party roles. For example, "all information for PartyRole=24".

1784EntitlementPlatform@Pltfm

ComponentInstrumentScopeGrpInstrmtScopeScope of the query/request for specific securities.

58Text@Txt

354EncodedTextLen@EncTxtLen

355EncodedText@EncTxt

ComponentStandardTrailer
消息实现:

package cs.mina.codec.msg;

import java.util.List;

/*
*@author(huangxiaoping)
*@date 2013-12-2
*/
public class PartyEntitlementRequest extends BaseMsg {
private Tag entitlementsRequestID = new Tag("1770", "String", true);

public PartyEntitlementRequest() {
this.getHeadEntity().getMsgType().setTagValue("CU");
this.bodyEntity.getBodyTagList().add(entitlementsRequestID);
}

@Override
public void decodeBody() {

}

@Override
public void validate() {
this.headEntity.validate();
List<Tag> bodyTagList = this.bodyEntity.getBodyTagList();
for (int i = 0; i < bodyTagList.size(); i++) {
bodyTagList.get(i).validate();
}
this.tailerEntity.validate();
}

public Tag getEntitlementsRequestID() {
return entitlementsRequestID;
}

public void setEntitlementsRequestID(Tag entitlementsRequestID) {
this.entitlementsRequestID = entitlementsRequestID;
}

}


消息处理:略
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: