//New returns a Heartbeat initialized with the required fields for Heartbeat func New() (m Heartbeat) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("0")) return }
//New returns a Logout initialized with the required fields for Logout func New() (m Logout) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("5")) return }
//New returns a Reject initialized with the required fields for Reject func New(refseqnum field.RefSeqNumField) (m Reject) { m.Header = fix40.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 = fix40.NewHeader() m.Init() m.Trailer.Init() 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.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("1")) m.Set(testreqid) return }
//New returns a ListCancelRequest initialized with the required fields for ListCancelRequest func New(listid field.ListIDField) (m ListCancelRequest) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("K")) m.Set(listid) return }
//New returns a Logout initialized with the required fields for Logout func New() (m Logout) { m.Message = quickfix.NewMessage() m.Header = fix40.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 ListExecute initialized with the required fields for ListExecute func New(listid field.ListIDField) (m ListExecute) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("L")) m.Set(listid) return }
//New returns a ResendRequest initialized with the required fields for ResendRequest func New(beginseqno field.BeginSeqNoField, endseqno field.EndSeqNoField) (m ResendRequest) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("2")) m.Set(beginseqno) m.Set(endseqno) return }
//New returns a News initialized with the required fields for News func New(linesoftext field.LinesOfTextField, text field.TextField) (m News) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("B")) m.Set(linesoftext) m.Set(text) return }
//New returns a OrderCancelReject initialized with the required fields for OrderCancelReject func New(orderid field.OrderIDField, clordid field.ClOrdIDField) (m OrderCancelReject) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("9")) m.Set(orderid) m.Set(clordid) return }
//New returns a Logon initialized with the required fields for Logon func New(encryptmethod field.EncryptMethodField, heartbtint field.HeartBtIntField) (m Logon) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("A")) m.Set(encryptmethod) m.Set(heartbtint) 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 = fix40.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 SequenceReset initialized with the required fields for SequenceReset func New(newseqno field.NewSeqNoField) (m SequenceReset) { m.Message = quickfix.NewMessage() m.Header = fix40.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 Reject initialized with the required fields for Reject func New(refseqnum field.RefSeqNumField) (m Reject) { m.Message = quickfix.NewMessage() m.Header = fix40.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 ListStatusRequest initialized with the required fields for ListStatusRequest func New(listid field.ListIDField) (m ListStatusRequest) { m.Message = quickfix.NewMessage() m.Header = fix40.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 QuoteRequest initialized with the required fields for QuoteRequest func New(quotereqid field.QuoteReqIDField, symbol field.SymbolField) (m QuoteRequest) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("R")) m.Set(quotereqid) m.Set(symbol) 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 = fix40.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 Logon initialized with the required fields for Logon func New(encryptmethod field.EncryptMethodField, heartbtint field.HeartBtIntField) (m Logon) { m.Message = quickfix.NewMessage() m.Header = fix40.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 Quote initialized with the required fields for Quote func New(quoteid field.QuoteIDField, symbol field.SymbolField, bidpx field.BidPxField) (m Quote) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("S")) m.Set(quoteid) m.Set(symbol) m.Set(bidpx) 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 = fix40.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 ResendRequest initialized with the required fields for ResendRequest func New(beginseqno field.BeginSeqNoField, endseqno field.EndSeqNoField) (m ResendRequest) { m.Message = quickfix.NewMessage() m.Header = fix40.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 OrderStatusRequest initialized with the required fields for OrderStatusRequest func New(clordid field.ClOrdIDField, symbol field.SymbolField, side field.SideField) (m OrderStatusRequest) { m.Header = fix40.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 News initialized with the required fields for News func New(linesoftext field.LinesOfTextField, text field.TextField) (m News) { m.Message = quickfix.NewMessage() m.Header = fix40.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("B")) m.Set(linesoftext) m.Set(text) return }
//New returns a Email initialized with the required fields for Email func New(emailtype field.EmailTypeField, linesoftext field.LinesOfTextField, text field.TextField) (m Email) { m.Header = fix40.NewHeader() m.Init() m.Trailer.Init() m.Header.Set(field.NewMsgType("C")) m.Set(emailtype) m.Set(linesoftext) m.Set(text) return }
//New returns a OrderCancelReject initialized with the required fields for OrderCancelReject func New(orderid field.OrderIDField, clordid field.ClOrdIDField) (m OrderCancelReject) { m.Message = quickfix.NewMessage() m.Header = fix40.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("9")) m.Set(orderid) m.Set(clordid) 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 = fix40.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 OrderStatusRequest initialized with the required fields for OrderStatusRequest func New(clordid field.ClOrdIDField, symbol field.SymbolField, side field.SideField) (m OrderStatusRequest) { m.Message = quickfix.NewMessage() m.Header = fix40.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("H")) 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 = fix40.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 }
//New returns a Email initialized with the required fields for Email func New(emailtype field.EmailTypeField, linesoftext field.LinesOfTextField, text field.TextField) (m Email) { m.Message = quickfix.NewMessage() m.Header = fix40.NewHeader(&m.Message.Header) m.Body = &m.Message.Body m.Trailer.Trailer = &m.Message.Trailer m.Header.Set(field.NewMsgType("C")) m.Set(emailtype) m.Set(linesoftext) m.Set(text) return }