Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(router RouteOut) (string, string, quickfix.MessageRoute)

    Route returns the beginstring, message type, and MessageRoute for this Message type

    Types

    type News

    type News struct {
    	fix40.Header
    	*quickfix.Body
    	fix40.Trailer
    	Message *quickfix.Message
    }

      News is the fix40 News type, MsgType = B

      func FromMessage

      func FromMessage(m *quickfix.Message) News

        FromMessage creates a News from a quickfix.Message instance

        func New

        func New(linesoftext field.LinesOfTextField, text field.TextField) (m News)

          New returns a News initialized with the required fields for News

          func (News) GetLinesOfText

          func (m News) GetLinesOfText() (v int, err quickfix.MessageRejectError)

            GetLinesOfText gets LinesOfText, Tag 33

            func (News) GetOrigTime

            func (m News) GetOrigTime() (v time.Time, err quickfix.MessageRejectError)

              GetOrigTime gets OrigTime, Tag 42

              func (News) GetRawData

              func (m News) GetRawData() (v string, err quickfix.MessageRejectError)

                GetRawData gets RawData, Tag 96

                func (News) GetRawDataLength

                func (m News) GetRawDataLength() (v int, err quickfix.MessageRejectError)

                  GetRawDataLength gets RawDataLength, Tag 95

                  func (News) GetRelatdSym

                  func (m News) GetRelatdSym() (v string, err quickfix.MessageRejectError)

                    GetRelatdSym gets RelatdSym, Tag 46

                    func (News) GetText

                    func (m News) GetText() (v string, err quickfix.MessageRejectError)

                      GetText gets Text, Tag 58

                      func (News) GetUrgency

                      func (m News) GetUrgency() (v enum.Urgency, err quickfix.MessageRejectError)

                        GetUrgency gets Urgency, Tag 61

                        func (News) HasLinesOfText

                        func (m News) HasLinesOfText() bool

                          HasLinesOfText returns true if LinesOfText is present, Tag 33

                          func (News) HasOrigTime

                          func (m News) HasOrigTime() bool

                            HasOrigTime returns true if OrigTime is present, Tag 42

                            func (News) HasRawData

                            func (m News) HasRawData() bool

                              HasRawData returns true if RawData is present, Tag 96

                              func (News) HasRawDataLength

                              func (m News) HasRawDataLength() bool

                                HasRawDataLength returns true if RawDataLength is present, Tag 95

                                func (News) HasRelatdSym

                                func (m News) HasRelatdSym() bool

                                  HasRelatdSym returns true if RelatdSym is present, Tag 46

                                  func (News) HasText

                                  func (m News) HasText() bool

                                    HasText returns true if Text is present, Tag 58

                                    func (News) HasUrgency

                                    func (m News) HasUrgency() bool

                                      HasUrgency returns true if Urgency is present, Tag 61

                                      func (News) SetLinesOfText

                                      func (m News) SetLinesOfText(v int)

                                        SetLinesOfText sets LinesOfText, Tag 33

                                        func (News) SetOrigTime

                                        func (m News) SetOrigTime(v time.Time)

                                          SetOrigTime sets OrigTime, Tag 42

                                          func (News) SetRawData

                                          func (m News) SetRawData(v string)

                                            SetRawData sets RawData, Tag 96

                                            func (News) SetRawDataLength

                                            func (m News) SetRawDataLength(v int)

                                              SetRawDataLength sets RawDataLength, Tag 95

                                              func (News) SetRelatdSym

                                              func (m News) SetRelatdSym(v string)

                                                SetRelatdSym sets RelatdSym, Tag 46

                                                func (News) SetText

                                                func (m News) SetText(v string)

                                                  SetText sets Text, Tag 58

                                                  func (News) SetUrgency

                                                  func (m News) SetUrgency(v enum.Urgency)

                                                    SetUrgency sets Urgency, Tag 61

                                                    func (News) ToMessage

                                                    func (m News) ToMessage() *quickfix.Message

                                                      ToMessage returns a quickfix.Message instance

                                                      type RouteOut

                                                      type RouteOut func(msg News, sessionID quickfix.SessionID) quickfix.MessageRejectError

                                                        A RouteOut is the callback type that should be implemented for routing Message