예제 #1
0
//New returns a Logout initialized with the required fields for Logout
func New() (m Logout) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("5"))

	return
}
예제 #2
0
//New returns a Heartbeat initialized with the required fields for Heartbeat
func New() (m Heartbeat) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("0"))

	return
}
예제 #3
0
//New returns a BidResponse initialized with the required fields for BidResponse
func New() (m BidResponse) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("l"))

	return
}
//New returns a TradingSessionList initialized with the required fields for TradingSessionList
func New() (m TradingSessionList) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BJ"))

	return
}
//New returns a UserNotification initialized with the required fields for UserNotification
func New(userstatus field.UserStatusField) (m UserNotification) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("CB"))
	m.Set(userstatus)

	return
}
예제 #6
0
//New returns a Reject initialized with the required fields for Reject
func New(refseqnum field.RefSeqNumField) (m Reject) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("3"))
	m.Set(refseqnum)

	return
}
//New returns a PartyDetailsListRequest initialized with the required fields for PartyDetailsListRequest
func New(partydetailslistrequestid field.PartyDetailsListRequestIDField) (m PartyDetailsListRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("CF"))
	m.Set(partydetailslistrequestid)

	return
}
예제 #8
0
//New returns a SequenceReset initialized with the required fields for SequenceReset
func New(newseqno field.NewSeqNoField) (m SequenceReset) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("4"))
	m.Set(newseqno)

	return
}
//New returns a SecurityTypeRequest initialized with the required fields for SecurityTypeRequest
func New(securityreqid field.SecurityReqIDField) (m SecurityTypeRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("v"))
	m.Set(securityreqid)

	return
}
//New returns a ApplicationMessageRequestAck initialized with the required fields for ApplicationMessageRequestAck
func New(applresponseid field.ApplResponseIDField) (m ApplicationMessageRequestAck) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BX"))
	m.Set(applresponseid)

	return
}
예제 #11
0
//New returns a Logout initialized with the required fields for Logout
func New() (m Logout) {
	m.Message = quickfix.NewMessage()
	m.Header = fixt11.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("5"))

	return
}
//New returns a AllocationReportAck initialized with the required fields for AllocationReportAck
func New(allocreportid field.AllocReportIDField) (m AllocationReportAck) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("AT"))
	m.Set(allocreportid)

	return
}
예제 #13
0
//New returns a TestRequest initialized with the required fields for TestRequest
func New(testreqid field.TestReqIDField) (m TestRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("1"))
	m.Set(testreqid)

	return
}
//New returns a TradingSessionList initialized with the required fields for TradingSessionList
func New() (m TradingSessionList) {
	m.Message = quickfix.NewMessage()
	m.Header = fixt11.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("BJ"))

	return
}
//New returns a ListStatusRequest initialized with the required fields for ListStatusRequest
func New(listid field.ListIDField) (m ListStatusRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("M"))
	m.Set(listid)

	return
}
//New returns a MarketDataRequestReject initialized with the required fields for MarketDataRequestReject
func New(mdreqid field.MDReqIDField) (m MarketDataRequestReject) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("Y"))
	m.Set(mdreqid)

	return
}
//New returns a TradingSessionListRequest initialized with the required fields for TradingSessionListRequest
func New(tradsesreqid field.TradSesReqIDField, subscriptionrequesttype field.SubscriptionRequestTypeField) (m TradingSessionListRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BI"))
	m.Set(tradsesreqid)
	m.Set(subscriptionrequesttype)

	return
}
예제 #18
0
//New returns a ListExecute initialized with the required fields for ListExecute
func New(listid field.ListIDField, transacttime field.TransactTimeField) (m ListExecute) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("L"))
	m.Set(listid)
	m.Set(transacttime)

	return
}
예제 #19
0
//New returns a UserResponse initialized with the required fields for UserResponse
func New(userrequestid field.UserRequestIDField, username field.UsernameField) (m UserResponse) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BF"))
	m.Set(userrequestid)
	m.Set(username)

	return
}
//New returns a TradingSessionStatus initialized with the required fields for TradingSessionStatus
func New(tradingsessionid field.TradingSessionIDField, tradsesstatus field.TradSesStatusField) (m TradingSessionStatus) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("h"))
	m.Set(tradingsessionid)
	m.Set(tradsesstatus)

	return
}
//New returns a BusinessMessageReject initialized with the required fields for BusinessMessageReject
func New(refmsgtype field.RefMsgTypeField, businessrejectreason field.BusinessRejectReasonField) (m BusinessMessageReject) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("j"))
	m.Set(refmsgtype)
	m.Set(businessrejectreason)

	return
}
//New returns a SettlementInstructionRequest initialized with the required fields for SettlementInstructionRequest
func New(settlinstreqid field.SettlInstReqIDField, transacttime field.TransactTimeField) (m SettlementInstructionRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("AV"))
	m.Set(settlinstreqid)
	m.Set(transacttime)

	return
}
//New returns a ListStatusRequest initialized with the required fields for ListStatusRequest
func New(listid field.ListIDField) (m ListStatusRequest) {
	m.Message = quickfix.NewMessage()
	m.Header = fixt11.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("M"))
	m.Set(listid)

	return
}
//New returns a UserNotification initialized with the required fields for UserNotification
func New(userstatus field.UserStatusField) (m UserNotification) {
	m.Message = quickfix.NewMessage()
	m.Header = fixt11.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("CB"))
	m.Set(userstatus)

	return
}
//New returns a NetworkCounterpartySystemStatusResponse initialized with the required fields for NetworkCounterpartySystemStatusResponse
func New(networkstatusresponsetype field.NetworkStatusResponseTypeField, networkresponseid field.NetworkResponseIDField) (m NetworkCounterpartySystemStatusResponse) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BD"))
	m.Set(networkstatusresponsetype)
	m.Set(networkresponseid)

	return
}
//New returns a ApplicationMessageRequestAck initialized with the required fields for ApplicationMessageRequestAck
func New(applresponseid field.ApplResponseIDField) (m ApplicationMessageRequestAck) {
	m.Message = quickfix.NewMessage()
	m.Header = fixt11.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("BX"))
	m.Set(applresponseid)

	return
}
예제 #27
0
//New returns a SequenceReset initialized with the required fields for SequenceReset
func New(newseqno field.NewSeqNoField) (m SequenceReset) {
	m.Message = quickfix.NewMessage()
	m.Header = fixt11.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("4"))
	m.Set(newseqno)

	return
}
//New returns a ApplicationMessageRequest initialized with the required fields for ApplicationMessageRequest
func New(applreqid field.ApplReqIDField, applreqtype field.ApplReqTypeField) (m ApplicationMessageRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BW"))
	m.Set(applreqid)
	m.Set(applreqtype)

	return
}
//New returns a NetworkCounterpartySystemStatusRequest initialized with the required fields for NetworkCounterpartySystemStatusRequest
func New(networkrequesttype field.NetworkRequestTypeField, networkrequestid field.NetworkRequestIDField) (m NetworkCounterpartySystemStatusRequest) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BC"))
	m.Set(networkrequesttype)
	m.Set(networkrequestid)

	return
}
//New returns a MarketDefinitionUpdateReport initialized with the required fields for MarketDefinitionUpdateReport
func New(marketreportid field.MarketReportIDField, marketid field.MarketIDField) (m MarketDefinitionUpdateReport) {
	m.Header = fixt11.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("BV"))
	m.Set(marketreportid)
	m.Set(marketid)

	return
}