email

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2016 License: Apache-1.1 Imports: 6 Imported by: 0

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 Email added in v0.4.0

type Email struct {
	fix41.Header
	quickfix.Body
	fix41.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

Email is the fix41 Email type, MsgType = C

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) Email

FromMessage creates a Email from a quickfix.Message instance

func New added in v0.2.0

func New(emailthreadid field.EmailThreadIDField, emailtype field.EmailTypeField, subject field.SubjectField) (m Email)

New returns a Email initialized with the required fields for Email

func (Email) GetClOrdID added in v0.4.0

func (m Email) GetClOrdID() (f field.ClOrdIDField, err quickfix.MessageRejectError)

GetClOrdID gets ClOrdID, Tag 11

func (Email) GetEmailThreadID added in v0.4.0

func (m Email) GetEmailThreadID() (f field.EmailThreadIDField, err quickfix.MessageRejectError)

GetEmailThreadID gets EmailThreadID, Tag 164

func (Email) GetEmailType added in v0.4.0

func (m Email) GetEmailType() (f field.EmailTypeField, err quickfix.MessageRejectError)

GetEmailType gets EmailType, Tag 94

func (Email) GetLinesOfText added in v0.4.0

GetLinesOfText gets LinesOfText, Tag 33

func (Email) GetNoRelatedSym added in v0.4.0

GetNoRelatedSym gets NoRelatedSym, Tag 146

func (Email) GetOrderID added in v0.4.0

func (m Email) GetOrderID() (f field.OrderIDField, err quickfix.MessageRejectError)

GetOrderID gets OrderID, Tag 37

func (Email) GetOrigTime added in v0.4.0

func (m Email) GetOrigTime() (f field.OrigTimeField, err quickfix.MessageRejectError)

GetOrigTime gets OrigTime, Tag 42

func (Email) GetRawData added in v0.4.0

func (m Email) GetRawData() (f field.RawDataField, err quickfix.MessageRejectError)

GetRawData gets RawData, Tag 96

func (Email) GetRawDataLength added in v0.4.0

func (m Email) GetRawDataLength() (f field.RawDataLengthField, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95

func (Email) GetSubject added in v0.4.0

func (m Email) GetSubject() (f field.SubjectField, err quickfix.MessageRejectError)

GetSubject gets Subject, Tag 147

func (Email) HasClOrdID added in v0.4.0

func (m Email) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11

func (Email) HasEmailThreadID added in v0.4.0

func (m Email) HasEmailThreadID() bool

HasEmailThreadID returns true if EmailThreadID is present, Tag 164

func (Email) HasEmailType added in v0.4.0

func (m Email) HasEmailType() bool

HasEmailType returns true if EmailType is present, Tag 94

func (Email) HasLinesOfText added in v0.4.0

func (m Email) HasLinesOfText() bool

HasLinesOfText returns true if LinesOfText is present, Tag 33

func (Email) HasNoRelatedSym added in v0.4.0

func (m Email) HasNoRelatedSym() bool

HasNoRelatedSym returns true if NoRelatedSym is present, Tag 146

func (Email) HasOrderID added in v0.4.0

func (m Email) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37

func (Email) HasOrigTime added in v0.4.0

func (m Email) HasOrigTime() bool

HasOrigTime returns true if OrigTime is present, Tag 42

func (Email) HasRawData added in v0.4.0

func (m Email) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (Email) HasRawDataLength added in v0.4.0

func (m Email) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (Email) HasSubject added in v0.4.0

func (m Email) HasSubject() bool

HasSubject returns true if Subject is present, Tag 147

func (Email) SetClOrdID added in v0.4.0

func (m Email) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11

func (Email) SetEmailThreadID added in v0.4.0

func (m Email) SetEmailThreadID(v string)

SetEmailThreadID sets EmailThreadID, Tag 164

func (Email) SetEmailType added in v0.4.0

func (m Email) SetEmailType(v string)

SetEmailType sets EmailType, Tag 94

func (Email) SetLinesOfText added in v0.4.0

func (m Email) SetLinesOfText(f LinesOfTextRepeatingGroup)

SetLinesOfText sets LinesOfText, Tag 33

func (Email) SetNoRelatedSym added in v0.4.0

func (m Email) SetNoRelatedSym(f NoRelatedSymRepeatingGroup)

SetNoRelatedSym sets NoRelatedSym, Tag 146

func (Email) SetOrderID added in v0.4.0

func (m Email) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37

func (Email) SetOrigTime added in v0.4.0

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

SetOrigTime sets OrigTime, Tag 42

func (Email) SetRawData added in v0.4.0

func (m Email) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (Email) SetRawDataLength added in v0.4.0

func (m Email) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (Email) SetSubject added in v0.4.0

func (m Email) SetSubject(v string)

SetSubject sets Subject, Tag 147

func (Email) ToMessage added in v0.4.0

func (m Email) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type LinesOfText

type LinesOfText struct {
	quickfix.Group
}

LinesOfText is a repeating group element, Tag 33

func (LinesOfText) GetText added in v0.4.0

func (m LinesOfText) GetText() (f field.TextField, err quickfix.MessageRejectError)

GetText gets Text, Tag 58

func (LinesOfText) HasText added in v0.4.0

func (m LinesOfText) HasText() bool

HasText returns true if Text is present, Tag 58

func (LinesOfText) SetText added in v0.2.0

func (m LinesOfText) SetText(v string)

SetText sets Text, Tag 58

type LinesOfTextRepeatingGroup added in v0.4.0

type LinesOfTextRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

LinesOfTextRepeatingGroup is a repeating group, Tag 33

func NewLinesOfTextRepeatingGroup added in v0.4.0

func NewLinesOfTextRepeatingGroup() LinesOfTextRepeatingGroup

NewLinesOfTextRepeatingGroup returns an initialized, LinesOfTextRepeatingGroup

func (LinesOfTextRepeatingGroup) Add added in v0.4.0

Add create and append a new LinesOfText to this group

func (LinesOfTextRepeatingGroup) Get added in v0.4.0

Get returns the ith LinesOfText in the LinesOfTextRepeatinGroup

type NoRelatedSym

type NoRelatedSym struct {
	quickfix.Group
}

NoRelatedSym is a repeating group element, Tag 146

func (NoRelatedSym) GetIDSource added in v0.4.0

func (m NoRelatedSym) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)

GetIDSource gets IDSource, Tag 22

func (NoRelatedSym) GetIssuer added in v0.4.0

func (m NoRelatedSym) GetIssuer() (f field.IssuerField, err quickfix.MessageRejectError)

GetIssuer gets Issuer, Tag 106

func (NoRelatedSym) GetMaturityDay added in v0.4.0

func (m NoRelatedSym) GetMaturityDay() (f field.MaturityDayField, err quickfix.MessageRejectError)

GetMaturityDay gets MaturityDay, Tag 205

func (NoRelatedSym) GetMaturityMonthYear added in v0.4.0

func (m NoRelatedSym) GetMaturityMonthYear() (f field.MaturityMonthYearField, err quickfix.MessageRejectError)

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (NoRelatedSym) GetOptAttribute added in v0.4.0

func (m NoRelatedSym) GetOptAttribute() (f field.OptAttributeField, err quickfix.MessageRejectError)

GetOptAttribute gets OptAttribute, Tag 206

func (NoRelatedSym) GetPutOrCall added in v0.4.0

func (m NoRelatedSym) GetPutOrCall() (f field.PutOrCallField, err quickfix.MessageRejectError)

GetPutOrCall gets PutOrCall, Tag 201

func (NoRelatedSym) GetRelatdSym added in v0.4.0

func (m NoRelatedSym) GetRelatdSym() (f field.RelatdSymField, err quickfix.MessageRejectError)

GetRelatdSym gets RelatdSym, Tag 46

func (NoRelatedSym) GetSecurityDesc added in v0.4.0

func (m NoRelatedSym) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (NoRelatedSym) GetSecurityExchange added in v0.4.0

func (m NoRelatedSym) GetSecurityExchange() (f field.SecurityExchangeField, err quickfix.MessageRejectError)

GetSecurityExchange gets SecurityExchange, Tag 207

func (NoRelatedSym) GetSecurityID added in v0.4.0

func (m NoRelatedSym) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (NoRelatedSym) GetSecurityType added in v0.4.0

func (m NoRelatedSym) GetSecurityType() (f field.SecurityTypeField, err quickfix.MessageRejectError)

GetSecurityType gets SecurityType, Tag 167

func (NoRelatedSym) GetStrikePrice added in v0.4.0

func (m NoRelatedSym) GetStrikePrice() (f field.StrikePriceField, err quickfix.MessageRejectError)

GetStrikePrice gets StrikePrice, Tag 202

func (NoRelatedSym) GetSymbolSfx added in v0.4.0

func (m NoRelatedSym) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)

GetSymbolSfx gets SymbolSfx, Tag 65

func (NoRelatedSym) HasIDSource added in v0.4.0

func (m NoRelatedSym) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (NoRelatedSym) HasIssuer added in v0.4.0

func (m NoRelatedSym) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (NoRelatedSym) HasMaturityDay added in v0.4.0

func (m NoRelatedSym) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205

func (NoRelatedSym) HasMaturityMonthYear added in v0.4.0

func (m NoRelatedSym) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200

func (NoRelatedSym) HasOptAttribute added in v0.4.0

func (m NoRelatedSym) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206

func (NoRelatedSym) HasPutOrCall added in v0.4.0

func (m NoRelatedSym) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201

func (NoRelatedSym) HasRelatdSym added in v0.4.0

func (m NoRelatedSym) HasRelatdSym() bool

HasRelatdSym returns true if RelatdSym is present, Tag 46

func (NoRelatedSym) HasSecurityDesc added in v0.4.0

func (m NoRelatedSym) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (NoRelatedSym) HasSecurityExchange added in v0.4.0

func (m NoRelatedSym) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207

func (NoRelatedSym) HasSecurityID added in v0.4.0

func (m NoRelatedSym) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (NoRelatedSym) HasSecurityType added in v0.4.0

func (m NoRelatedSym) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167

func (NoRelatedSym) HasStrikePrice added in v0.4.0

func (m NoRelatedSym) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202

func (NoRelatedSym) HasSymbolSfx added in v0.4.0

func (m NoRelatedSym) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (NoRelatedSym) SetIDSource added in v0.2.0

func (m NoRelatedSym) SetIDSource(v string)

SetIDSource sets IDSource, Tag 22

func (NoRelatedSym) SetIssuer added in v0.2.0

func (m NoRelatedSym) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (NoRelatedSym) SetMaturityDay added in v0.2.0

func (m NoRelatedSym) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205

func (NoRelatedSym) SetMaturityMonthYear added in v0.2.0

func (m NoRelatedSym) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200

func (NoRelatedSym) SetOptAttribute added in v0.2.0

func (m NoRelatedSym) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206

func (NoRelatedSym) SetPutOrCall added in v0.2.0

func (m NoRelatedSym) SetPutOrCall(v int)

SetPutOrCall sets PutOrCall, Tag 201

func (NoRelatedSym) SetRelatdSym added in v0.2.0

func (m NoRelatedSym) SetRelatdSym(v string)

SetRelatdSym sets RelatdSym, Tag 46

func (NoRelatedSym) SetSecurityDesc added in v0.2.0

func (m NoRelatedSym) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (NoRelatedSym) SetSecurityExchange added in v0.2.0

func (m NoRelatedSym) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207

func (NoRelatedSym) SetSecurityID added in v0.2.0

func (m NoRelatedSym) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (NoRelatedSym) SetSecurityType added in v0.2.0

func (m NoRelatedSym) SetSecurityType(v string)

SetSecurityType sets SecurityType, Tag 167

func (NoRelatedSym) SetStrikePrice added in v0.2.0

func (m NoRelatedSym) SetStrikePrice(value decimal.Decimal, scale int32)

SetStrikePrice sets StrikePrice, Tag 202

func (NoRelatedSym) SetSymbolSfx added in v0.2.0

func (m NoRelatedSym) SetSymbolSfx(v string)

SetSymbolSfx sets SymbolSfx, Tag 65

type NoRelatedSymRepeatingGroup added in v0.4.0

type NoRelatedSymRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoRelatedSymRepeatingGroup is a repeating group, Tag 146

func NewNoRelatedSymRepeatingGroup added in v0.4.0

func NewNoRelatedSymRepeatingGroup() NoRelatedSymRepeatingGroup

NewNoRelatedSymRepeatingGroup returns an initialized, NoRelatedSymRepeatingGroup

func (NoRelatedSymRepeatingGroup) Add added in v0.4.0

Add create and append a new NoRelatedSym to this group

func (NoRelatedSymRepeatingGroup) Get added in v0.4.0

Get returns the ith NoRelatedSym in the NoRelatedSymRepeatinGroup

type RouteOut

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL