//New returns a Logout initialized with the required fields for Logout func New() (m Logout) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("5")) return }
//New returns a Heartbeat initialized with the required fields for Heartbeat func New() (m Heartbeat) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("0")) return }
//New returns a Reject initialized with the required fields for Reject func New(refseqnum field.RefSeqNumField) (m Reject) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("3")) m.Set(refseqnum) return }
//New returns a SequenceReset initialized with the required fields for SequenceReset func New(newseqno field.NewSeqNoField) (m SequenceReset) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("4")) m.Set(newseqno) return }
//New returns a ListExecute initialized with the required fields for ListExecute func New(listid field.ListIDField) (m ListExecute) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("L")) m.Set(listid) return }
//New returns a News initialized with the required fields for News func New(headline field.HeadlineField) (m News) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("B")) m.Set(headline) return }
//New returns a ListCancelRequest initialized with the required fields for ListCancelRequest func New(listid field.ListIDField) (m ListCancelRequest) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("K")) m.Set(listid) return }
//New returns a TestRequest initialized with the required fields for TestRequest func New(testreqid field.TestReqIDField) (m TestRequest) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("1")) m.Set(testreqid) return }
//New returns a Heartbeat initialized with the required fields for Heartbeat func New() (m Heartbeat) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("0")) return }
//New returns a Logon initialized with the required fields for Logon func New(encryptmethod field.EncryptMethodField, heartbtint field.HeartBtIntField) (m Logon) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("A")) m.Set(encryptmethod) m.Set(heartbtint) return }
//New returns a SequenceReset initialized with the required fields for SequenceReset func New(newseqno field.NewSeqNoField) (m SequenceReset) { m.Message = quickfix.NewMessage() m.Header = fix41.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 TestRequest initialized with the required fields for TestRequest func New(testreqid field.TestReqIDField) (m TestRequest) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("1")) m.Set(testreqid) return }
//New returns a Quote initialized with the required fields for Quote func New(quoteid field.QuoteIDField, symbol field.SymbolField) (m Quote) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("S")) m.Set(quoteid) m.Set(symbol) 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 = fix41.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 News initialized with the required fields for News func New(headline field.HeadlineField) (m News) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("B")) m.Set(headline) return }
//New returns a ResendRequest initialized with the required fields for ResendRequest func New(beginseqno field.BeginSeqNoField, endseqno field.EndSeqNoField) (m ResendRequest) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("2")) m.Set(beginseqno) m.Set(endseqno) return }
//New returns a Reject initialized with the required fields for Reject func New(refseqnum field.RefSeqNumField) (m Reject) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("3")) m.Set(refseqnum) return }
//New returns a ResendRequest initialized with the required fields for ResendRequest func New(beginseqno field.BeginSeqNoField, endseqno field.EndSeqNoField) (m ResendRequest) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("2")) m.Set(beginseqno) m.Set(endseqno) return }
//New returns a QuoteRequest initialized with the required fields for QuoteRequest func New(quotereqid field.QuoteReqIDField, symbol field.SymbolField) (m QuoteRequest) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("R")) m.Set(quotereqid) m.Set(symbol) return }
//New returns a DontKnowTrade initialized with the required fields for DontKnowTrade func New(dkreason field.DKReasonField, symbol field.SymbolField, side field.SideField) (m DontKnowTrade) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("Q")) m.Set(dkreason) m.Set(symbol) m.Set(side) return }
//New returns a Logon initialized with the required fields for Logon func New(encryptmethod field.EncryptMethodField, heartbtint field.HeartBtIntField) (m Logon) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("A")) m.Set(encryptmethod) m.Set(heartbtint) return }
//New returns a AllocationACK initialized with the required fields for AllocationACK func New(allocid field.AllocIDField, tradedate field.TradeDateField, allocstatus field.AllocStatusField) (m AllocationACK) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("P")) m.Set(allocid) m.Set(tradedate) m.Set(allocstatus) return }
//New returns a Email initialized with the required fields for Email func New(emailthreadid field.EmailThreadIDField, emailtype field.EmailTypeField, subject field.SubjectField) (m Email) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("C")) m.Set(emailthreadid) m.Set(emailtype) m.Set(subject) return }
//New returns a OrderStatusRequest initialized with the required fields for OrderStatusRequest func New(clordid field.ClOrdIDField, symbol field.SymbolField, side field.SideField) (m OrderStatusRequest) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("H")) m.Set(clordid) m.Set(symbol) m.Set(side) return }
//New returns a ListStatus initialized with the required fields for ListStatus func New(listid field.ListIDField, norpts field.NoRptsField, rptseq field.RptSeqField) (m ListStatus) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("N")) m.Set(listid) m.Set(norpts) m.Set(rptseq) return }
//New returns a ListStatus initialized with the required fields for ListStatus func New(listid field.ListIDField, norpts field.NoRptsField, rptseq field.RptSeqField) (m ListStatus) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("N")) m.Set(listid) m.Set(norpts) m.Set(rptseq) return }
//New returns a Email initialized with the required fields for Email func New(emailthreadid field.EmailThreadIDField, emailtype field.EmailTypeField, subject field.SubjectField) (m Email) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("C")) m.Set(emailthreadid) m.Set(emailtype) m.Set(subject) return }
//New returns a DontKnowTrade initialized with the required fields for DontKnowTrade func New(dkreason field.DKReasonField, symbol field.SymbolField, side field.SideField) (m DontKnowTrade) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("Q")) m.Set(dkreason) m.Set(symbol) m.Set(side) return }
//New returns a OrderCancelRequest initialized with the required fields for OrderCancelRequest func New(origclordid field.OrigClOrdIDField, clordid field.ClOrdIDField, symbol field.SymbolField, side field.SideField) (m OrderCancelRequest) { m.Header = fix41.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("F")) m.Set(origclordid) m.Set(clordid) m.Set(symbol) m.Set(side) return }
//New returns a AllocationACK initialized with the required fields for AllocationACK func New(allocid field.AllocIDField, tradedate field.TradeDateField, allocstatus field.AllocStatusField) (m AllocationACK) { m.Message = quickfix.NewMessage() m.Header = fix41.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("P")) m.Set(allocid) m.Set(tradedate) m.Set(allocstatus) return }