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

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 Component Field Name FIXML name Req'd Comments Depr.
Component StandardHeader BaseHeader

MsgType=CU

 
1770 EntitlementRequestID @ReqID      
263 SubscriptionRequestType @SubReqTyp      
Component RequestingPartyGrp ReqPty  

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

 
Component Parties Pty  

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

 
Component RequestedPartyRoleGrp ReqR  

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

 
1784 EntitlementPlatform @Pltfm      
Component InstrumentScopeGrp InstrmtScope  

Scope of the query/request for specific securities.

 
58 Text @Txt      
354 EncodedTextLen @EncTxtLen      
355 EncodedText @EncTxt      

Component StandardTrailer  


消息实现:

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;
	}

}

消息处理:略


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

hxpjava1

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值