Exemplo n.º 1
0
//Builder returns an initialized MessageBuilder with specified required fields for SecurityList.
func Builder() MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("y"))
	return builder
}
Exemplo n.º 2
0
//Builder returns an initialized MessageBuilder with specified required fields for OrderStatusRequest.
func Builder(
	side *field.SideField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("H"))
	builder.Body().Set(side)
	return builder
}
Exemplo n.º 3
0
//Builder returns an initialized MessageBuilder with specified required fields for QuoteCancel.
func Builder(
	quotecanceltype *field.QuoteCancelTypeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("Z"))
	builder.Body().Set(quotecanceltype)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for PartyDetailsListReport.
func Builder(
	partydetailslistreportid *field.PartyDetailsListReportIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("CG"))
	builder.Body().Set(partydetailslistreportid)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for ApplicationMessageRequestAck.
func Builder(
	applresponseid *field.ApplResponseIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("BX"))
	builder.Body().Set(applresponseid)
	return builder
}
Exemplo n.º 6
0
//Builder returns an initialized MessageBuilder with specified required fields for TradingSessionList.
func Builder(
	notradingsessions *field.NoTradingSessionsField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("BJ"))
	builder.Body().Set(notradingsessions)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for MassQuoteAcknowledgement.
func Builder(
	quotestatus *field.QuoteStatusField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("b"))
	builder.Body().Set(quotestatus)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for MarketDataSnapshotFullRefresh.
func Builder(
	nomdentries *field.NoMDEntriesField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("W"))
	builder.Body().Set(nomdentries)
	return builder
}
Exemplo n.º 9
0
//Builder returns an initialized MessageBuilder with specified required fields for ListStatusRequest.
func Builder(
	listid *field.ListIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("M"))
	builder.Body().Set(listid)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for StreamAssignmentReport.
func Builder(
	streamasgnrptid *field.StreamAsgnRptIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("CD"))
	builder.Body().Set(streamasgnrptid)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for MarketDataRequestReject.
func Builder(
	mdreqid *field.MDReqIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("Y"))
	builder.Body().Set(mdreqid)
	return builder
}
Exemplo n.º 12
0
//Builder returns an initialized MessageBuilder with specified required fields for BidResponse.
func Builder(
	nobidcomponents *field.NoBidComponentsField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("l"))
	builder.Body().Set(nobidcomponents)
	return builder
}
Exemplo n.º 13
0
//Builder returns an initialized MessageBuilder with specified required fields for AllocationReportAck.
func Builder(
	allocreportid *field.AllocReportIDField,
	allocid *field.AllocIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("AT"))
	builder.Body().Set(allocreportid)
	builder.Body().Set(allocid)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for SettlementInstructionRequest.
func Builder(
	settlinstreqid *field.SettlInstReqIDField,
	transacttime *field.TransactTimeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("AV"))
	builder.Body().Set(settlinstreqid)
	builder.Body().Set(transacttime)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for NetworkCounterpartySystemStatusRequest.
func Builder(
	networkrequesttype *field.NetworkRequestTypeField,
	networkrequestid *field.NetworkRequestIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("BC"))
	builder.Body().Set(networkrequesttype)
	builder.Body().Set(networkrequestid)
	return builder
}
Exemplo n.º 16
0
//Builder returns an initialized MessageBuilder with specified required fields for UserResponse.
func Builder(
	userrequestid *field.UserRequestIDField,
	username *field.UsernameField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("BF"))
	builder.Body().Set(userrequestid)
	builder.Body().Set(username)
	return builder
}
Exemplo n.º 17
0
//Builder returns an initialized MessageBuilder with specified required fields for MassQuote.
func Builder(
	quoteid *field.QuoteIDField,
	noquotesets *field.NoQuoteSetsField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("i"))
	builder.Body().Set(quoteid)
	builder.Body().Set(noquotesets)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for SettlementObligationReport.
func Builder(
	settlobligmsgid *field.SettlObligMsgIDField,
	settlobligmode *field.SettlObligModeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("BQ"))
	builder.Body().Set(settlobligmsgid)
	builder.Body().Set(settlobligmode)
	return builder
}
Exemplo n.º 19
0
//Builder returns an initialized MessageBuilder with specified required fields for SecurityListRequest.
func Builder(
	securityreqid *field.SecurityReqIDField,
	securitylistrequesttype *field.SecurityListRequestTypeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("x"))
	builder.Body().Set(securityreqid)
	builder.Body().Set(securitylistrequesttype)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for TradeCaptureReportRequest.
func Builder(
	traderequestid *field.TradeRequestIDField,
	traderequesttype *field.TradeRequestTypeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("AD"))
	builder.Body().Set(traderequestid)
	builder.Body().Set(traderequesttype)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for BusinessMessageReject.
func Builder(
	refmsgtype *field.RefMsgTypeField,
	businessrejectreason *field.BusinessRejectReasonField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("j"))
	builder.Body().Set(refmsgtype)
	builder.Body().Set(businessrejectreason)
	return builder
}
Exemplo n.º 22
0
//Builder returns an initialized MessageBuilder with specified required fields for CollateralInquiryAck.
func Builder(
	collinquiryid *field.CollInquiryIDField,
	collinquirystatus *field.CollInquiryStatusField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("BG"))
	builder.Body().Set(collinquiryid)
	builder.Body().Set(collinquirystatus)
	return builder
}
Exemplo n.º 23
0
//Builder returns an initialized MessageBuilder with specified required fields for RFQRequest.
func Builder(
	rfqreqid *field.RFQReqIDField,
	norelatedsym *field.NoRelatedSymField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("AH"))
	builder.Body().Set(rfqreqid)
	builder.Body().Set(norelatedsym)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for ApplicationMessageReport.
func Builder(
	applreportid *field.ApplReportIDField,
	applreporttype *field.ApplReportTypeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("BY"))
	builder.Body().Set(applreportid)
	builder.Body().Set(applreporttype)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for TradingSessionStatusRequest.
func Builder(
	tradsesreqid *field.TradSesReqIDField,
	subscriptionrequesttype *field.SubscriptionRequestTypeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("g"))
	builder.Body().Set(tradsesreqid)
	builder.Body().Set(subscriptionrequesttype)
	return builder
}
Exemplo n.º 26
0
//Builder returns an initialized MessageBuilder with specified required fields for News.
func Builder(
	headline *field.HeadlineField,
	nolinesoftext *field.NoLinesOfTextField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("B"))
	builder.Body().Set(headline)
	builder.Body().Set(nolinesoftext)
	return builder
}
Exemplo n.º 27
0
//Builder returns an initialized MessageBuilder with specified required fields for ListExecute.
func Builder(
	listid *field.ListIDField,
	transacttime *field.TransactTimeField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
	builder.Header().Set(field.NewMsgType("L"))
	builder.Body().Set(listid)
	builder.Body().Set(transacttime)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for PartyDetailsListRequest.
func Builder(
	partydetailslistrequestid *field.PartyDetailsListRequestIDField,
	nopartylistresponsetypes *field.NoPartyListResponseTypesField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("CF"))
	builder.Body().Set(partydetailslistrequestid)
	builder.Body().Set(nopartylistresponsetypes)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for AdjustedPositionReport.
func Builder(
	posmaintrptid *field.PosMaintRptIDField,
	clearingbusinessdate *field.ClearingBusinessDateField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
	builder.Header().Set(field.NewMsgType("BL"))
	builder.Body().Set(posmaintrptid)
	builder.Body().Set(clearingbusinessdate)
	return builder
}
//Builder returns an initialized MessageBuilder with specified required fields for MarketDefinitionUpdateReport.
func Builder(
	marketreportid *field.MarketReportIDField,
	marketid *field.MarketIDField) MessageBuilder {
	var builder MessageBuilder
	builder.MessageBuilder = quickfix.NewMessageBuilder()
	builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
	builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
	builder.Header().Set(field.NewMsgType("BV"))
	builder.Body().Set(marketreportid)
	builder.Body().Set(marketid)
	return builder
}