news

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: Apache-1.1 Imports: 7 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 LinesOfText

type LinesOfText struct {
	*quickfix.Group
}

LinesOfText is a repeating group element, Tag 33

func (LinesOfText) GetEncodedText added in v0.4.0

func (m LinesOfText) GetEncodedText() (v string, err quickfix.MessageRejectError)

GetEncodedText gets EncodedText, Tag 355

func (LinesOfText) GetEncodedTextLen added in v0.4.0

func (m LinesOfText) GetEncodedTextLen() (v int, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (LinesOfText) GetText added in v0.4.0

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

GetText gets Text, Tag 58

func (LinesOfText) HasEncodedText added in v0.4.0

func (m LinesOfText) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355

func (LinesOfText) HasEncodedTextLen added in v0.4.0

func (m LinesOfText) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354

func (LinesOfText) HasText added in v0.4.0

func (m LinesOfText) HasText() bool

HasText returns true if Text is present, Tag 58

func (LinesOfText) SetEncodedText added in v0.2.0

func (m LinesOfText) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355

func (LinesOfText) SetEncodedTextLen added in v0.2.0

func (m LinesOfText) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354

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

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

News is the fix42 News type, MsgType = B

func FromMessage added in v0.4.0

func FromMessage(m *quickfix.Message) News

FromMessage creates a News from a quickfix.Message instance

func New added in v0.2.0

func New(headline field.HeadlineField) (m News)

New returns a News initialized with the required fields for News

func (News) GetEncodedHeadline added in v0.4.0

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

GetEncodedHeadline gets EncodedHeadline, Tag 359

func (News) GetEncodedHeadlineLen added in v0.4.0

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

GetEncodedHeadlineLen gets EncodedHeadlineLen, Tag 358

func (News) GetHeadline added in v0.4.0

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

GetHeadline gets Headline, Tag 148

func (News) GetLinesOfText added in v0.4.0

GetLinesOfText gets LinesOfText, Tag 33

func (News) GetNoRelatedSym added in v0.4.0

GetNoRelatedSym gets NoRelatedSym, Tag 146

func (News) GetNoRoutingIDs added in v0.4.0

GetNoRoutingIDs gets NoRoutingIDs, Tag 215

func (News) GetOrigTime added in v0.4.0

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

GetOrigTime gets OrigTime, Tag 42

func (News) GetRawData added in v0.4.0

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

GetRawData gets RawData, Tag 96

func (News) GetRawDataLength added in v0.4.0

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

GetRawDataLength gets RawDataLength, Tag 95

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

GetURLLink gets URLLink, Tag 149

func (News) GetUrgency added in v0.4.0

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

GetUrgency gets Urgency, Tag 61

func (News) HasEncodedHeadline added in v0.4.0

func (m News) HasEncodedHeadline() bool

HasEncodedHeadline returns true if EncodedHeadline is present, Tag 359

func (News) HasEncodedHeadlineLen added in v0.4.0

func (m News) HasEncodedHeadlineLen() bool

HasEncodedHeadlineLen returns true if EncodedHeadlineLen is present, Tag 358

func (News) HasHeadline added in v0.4.0

func (m News) HasHeadline() bool

HasHeadline returns true if Headline is present, Tag 148

func (News) HasLinesOfText added in v0.4.0

func (m News) HasLinesOfText() bool

HasLinesOfText returns true if LinesOfText is present, Tag 33

func (News) HasNoRelatedSym added in v0.4.0

func (m News) HasNoRelatedSym() bool

HasNoRelatedSym returns true if NoRelatedSym is present, Tag 146

func (News) HasNoRoutingIDs added in v0.4.0

func (m News) HasNoRoutingIDs() bool

HasNoRoutingIDs returns true if NoRoutingIDs is present, Tag 215

func (News) HasOrigTime added in v0.4.0

func (m News) HasOrigTime() bool

HasOrigTime returns true if OrigTime is present, Tag 42

func (News) HasRawData added in v0.4.0

func (m News) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (News) HasRawDataLength added in v0.4.0

func (m News) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (m News) HasURLLink() bool

HasURLLink returns true if URLLink is present, Tag 149

func (News) HasUrgency added in v0.4.0

func (m News) HasUrgency() bool

HasUrgency returns true if Urgency is present, Tag 61

func (News) SetEncodedHeadline added in v0.4.0

func (m News) SetEncodedHeadline(v string)

SetEncodedHeadline sets EncodedHeadline, Tag 359

func (News) SetEncodedHeadlineLen added in v0.4.0

func (m News) SetEncodedHeadlineLen(v int)

SetEncodedHeadlineLen sets EncodedHeadlineLen, Tag 358

func (News) SetHeadline added in v0.4.0

func (m News) SetHeadline(v string)

SetHeadline sets Headline, Tag 148

func (News) SetLinesOfText added in v0.4.0

func (m News) SetLinesOfText(f LinesOfTextRepeatingGroup)

SetLinesOfText sets LinesOfText, Tag 33

func (News) SetNoRelatedSym added in v0.4.0

func (m News) SetNoRelatedSym(f NoRelatedSymRepeatingGroup)

SetNoRelatedSym sets NoRelatedSym, Tag 146

func (News) SetNoRoutingIDs added in v0.4.0

func (m News) SetNoRoutingIDs(f NoRoutingIDsRepeatingGroup)

SetNoRoutingIDs sets NoRoutingIDs, Tag 215

func (News) SetOrigTime added in v0.4.0

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

SetOrigTime sets OrigTime, Tag 42

func (News) SetRawData added in v0.4.0

func (m News) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (News) SetRawDataLength added in v0.4.0

func (m News) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (m News) SetURLLink(v string)

SetURLLink sets URLLink, Tag 149

func (News) SetUrgency added in v0.4.0

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

SetUrgency sets Urgency, Tag 61

func (News) ToMessage added in v0.4.0

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

ToMessage returns a quickfix.Message instance

type NoRelatedSym

type NoRelatedSym struct {
	*quickfix.Group
}

NoRelatedSym is a repeating group element, Tag 146

func (NoRelatedSym) GetContractMultiplier added in v0.4.0

func (m NoRelatedSym) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError)

GetContractMultiplier gets ContractMultiplier, Tag 231

func (NoRelatedSym) GetCouponRate added in v0.4.0

func (m NoRelatedSym) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError)

GetCouponRate gets CouponRate, Tag 223

func (NoRelatedSym) GetEncodedIssuer added in v0.4.0

func (m NoRelatedSym) GetEncodedIssuer() (v string, err quickfix.MessageRejectError)

GetEncodedIssuer gets EncodedIssuer, Tag 349

func (NoRelatedSym) GetEncodedIssuerLen added in v0.4.0

func (m NoRelatedSym) GetEncodedIssuerLen() (v int, err quickfix.MessageRejectError)

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348

func (NoRelatedSym) GetEncodedSecurityDesc added in v0.4.0

func (m NoRelatedSym) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError)

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351

func (NoRelatedSym) GetEncodedSecurityDescLen added in v0.4.0

func (m NoRelatedSym) GetEncodedSecurityDescLen() (v int, err quickfix.MessageRejectError)

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350

func (NoRelatedSym) GetIDSource added in v0.4.0

func (m NoRelatedSym) GetIDSource() (v enum.IDSource, err quickfix.MessageRejectError)

GetIDSource gets IDSource, Tag 22

func (NoRelatedSym) GetIssuer added in v0.4.0

func (m NoRelatedSym) GetIssuer() (v string, err quickfix.MessageRejectError)

GetIssuer gets Issuer, Tag 106

func (NoRelatedSym) GetMaturityDay added in v0.4.0

func (m NoRelatedSym) GetMaturityDay() (v int, err quickfix.MessageRejectError)

GetMaturityDay gets MaturityDay, Tag 205

func (NoRelatedSym) GetMaturityMonthYear added in v0.4.0

func (m NoRelatedSym) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError)

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (NoRelatedSym) GetOptAttribute added in v0.4.0

func (m NoRelatedSym) GetOptAttribute() (v string, err quickfix.MessageRejectError)

GetOptAttribute gets OptAttribute, Tag 206

func (NoRelatedSym) GetPutOrCall added in v0.4.0

func (m NoRelatedSym) GetPutOrCall() (v enum.PutOrCall, err quickfix.MessageRejectError)

GetPutOrCall gets PutOrCall, Tag 201

func (NoRelatedSym) GetRelatdSym added in v0.4.0

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

GetRelatdSym gets RelatdSym, Tag 46

func (NoRelatedSym) GetSecurityDesc added in v0.4.0

func (m NoRelatedSym) GetSecurityDesc() (v string, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (NoRelatedSym) GetSecurityExchange added in v0.4.0

func (m NoRelatedSym) GetSecurityExchange() (v string, err quickfix.MessageRejectError)

GetSecurityExchange gets SecurityExchange, Tag 207

func (NoRelatedSym) GetSecurityID added in v0.4.0

func (m NoRelatedSym) GetSecurityID() (v string, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (NoRelatedSym) GetSecurityType added in v0.4.0

func (m NoRelatedSym) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError)

GetSecurityType gets SecurityType, Tag 167

func (NoRelatedSym) GetStrikePrice added in v0.4.0

func (m NoRelatedSym) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError)

GetStrikePrice gets StrikePrice, Tag 202

func (NoRelatedSym) GetSymbolSfx added in v0.4.0

func (m NoRelatedSym) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError)

GetSymbolSfx gets SymbolSfx, Tag 65

func (NoRelatedSym) HasContractMultiplier added in v0.4.0

func (m NoRelatedSym) HasContractMultiplier() bool

HasContractMultiplier returns true if ContractMultiplier is present, Tag 231

func (NoRelatedSym) HasCouponRate added in v0.4.0

func (m NoRelatedSym) HasCouponRate() bool

HasCouponRate returns true if CouponRate is present, Tag 223

func (NoRelatedSym) HasEncodedIssuer added in v0.4.0

func (m NoRelatedSym) HasEncodedIssuer() bool

HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349

func (NoRelatedSym) HasEncodedIssuerLen added in v0.4.0

func (m NoRelatedSym) HasEncodedIssuerLen() bool

HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348

func (NoRelatedSym) HasEncodedSecurityDesc added in v0.4.0

func (m NoRelatedSym) HasEncodedSecurityDesc() bool

HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351

func (NoRelatedSym) HasEncodedSecurityDescLen added in v0.4.0

func (m NoRelatedSym) HasEncodedSecurityDescLen() bool

HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350

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) SetContractMultiplier added in v0.2.0

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

SetContractMultiplier sets ContractMultiplier, Tag 231

func (NoRelatedSym) SetCouponRate added in v0.2.0

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

SetCouponRate sets CouponRate, Tag 223

func (NoRelatedSym) SetEncodedIssuer added in v0.2.0

func (m NoRelatedSym) SetEncodedIssuer(v string)

SetEncodedIssuer sets EncodedIssuer, Tag 349

func (NoRelatedSym) SetEncodedIssuerLen added in v0.2.0

func (m NoRelatedSym) SetEncodedIssuerLen(v int)

SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348

func (NoRelatedSym) SetEncodedSecurityDesc added in v0.2.0

func (m NoRelatedSym) SetEncodedSecurityDesc(v string)

SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351

func (NoRelatedSym) SetEncodedSecurityDescLen added in v0.2.0

func (m NoRelatedSym) SetEncodedSecurityDescLen(v int)

SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350

func (NoRelatedSym) SetIDSource added in v0.2.0

func (m NoRelatedSym) SetIDSource(v enum.IDSource)

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 enum.PutOrCall)

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 enum.SecurityType)

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 enum.SymbolSfx)

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 NoRoutingIDs

type NoRoutingIDs struct {
	*quickfix.Group
}

NoRoutingIDs is a repeating group element, Tag 215

func (NoRoutingIDs) GetRoutingID added in v0.4.0

func (m NoRoutingIDs) GetRoutingID() (v string, err quickfix.MessageRejectError)

GetRoutingID gets RoutingID, Tag 217

func (NoRoutingIDs) GetRoutingType added in v0.4.0

func (m NoRoutingIDs) GetRoutingType() (v enum.RoutingType, err quickfix.MessageRejectError)

GetRoutingType gets RoutingType, Tag 216

func (NoRoutingIDs) HasRoutingID added in v0.4.0

func (m NoRoutingIDs) HasRoutingID() bool

HasRoutingID returns true if RoutingID is present, Tag 217

func (NoRoutingIDs) HasRoutingType added in v0.4.0

func (m NoRoutingIDs) HasRoutingType() bool

HasRoutingType returns true if RoutingType is present, Tag 216

func (NoRoutingIDs) SetRoutingID added in v0.2.0

func (m NoRoutingIDs) SetRoutingID(v string)

SetRoutingID sets RoutingID, Tag 217

func (NoRoutingIDs) SetRoutingType added in v0.2.0

func (m NoRoutingIDs) SetRoutingType(v enum.RoutingType)

SetRoutingType sets RoutingType, Tag 216

type NoRoutingIDsRepeatingGroup added in v0.4.0

type NoRoutingIDsRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoRoutingIDsRepeatingGroup is a repeating group, Tag 215

func NewNoRoutingIDsRepeatingGroup added in v0.4.0

func NewNoRoutingIDsRepeatingGroup() NoRoutingIDsRepeatingGroup

NewNoRoutingIDsRepeatingGroup returns an initialized, NoRoutingIDsRepeatingGroup

func (NoRoutingIDsRepeatingGroup) Add added in v0.4.0

Add create and append a new NoRoutingIDs to this group

func (NoRoutingIDsRepeatingGroup) Get added in v0.4.0

Get returns the ith NoRoutingIDs in the NoRoutingIDsRepeatinGroup

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

Jump to

Keyboard shortcuts

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