advertisement

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 Advertisement struct {
	fix42.Header
	*quickfix.Body
	fix42.Trailer
	Message *quickfix.Message
}

Advertisement is the fix42 Advertisement type, MsgType = 7

func FromMessage added in v0.4.0

func FromMessage(m *quickfix.Message) Advertisement

FromMessage creates a Advertisement from a quickfix.Message instance

func New added in v0.2.0

func New(advid field.AdvIdField, advtranstype field.AdvTransTypeField, symbol field.SymbolField, advside field.AdvSideField, shares field.SharesField) (m Advertisement)

New returns a Advertisement initialized with the required fields for Advertisement

func (Advertisement) GetAdvId added in v0.4.0

func (m Advertisement) GetAdvId() (v string, err quickfix.MessageRejectError)

GetAdvId gets AdvId, Tag 2

func (Advertisement) GetAdvRefID added in v0.4.0

func (m Advertisement) GetAdvRefID() (v string, err quickfix.MessageRejectError)

GetAdvRefID gets AdvRefID, Tag 3

func (Advertisement) GetAdvSide added in v0.4.0

func (m Advertisement) GetAdvSide() (v enum.AdvSide, err quickfix.MessageRejectError)

GetAdvSide gets AdvSide, Tag 4

func (Advertisement) GetAdvTransType added in v0.4.0

func (m Advertisement) GetAdvTransType() (v enum.AdvTransType, err quickfix.MessageRejectError)

GetAdvTransType gets AdvTransType, Tag 5

func (Advertisement) GetContractMultiplier added in v0.4.0

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

GetContractMultiplier gets ContractMultiplier, Tag 231

func (Advertisement) GetCouponRate added in v0.4.0

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

GetCouponRate gets CouponRate, Tag 223

func (Advertisement) GetCurrency added in v0.4.0

func (m Advertisement) GetCurrency() (v string, err quickfix.MessageRejectError)

GetCurrency gets Currency, Tag 15

func (Advertisement) GetEncodedIssuer added in v0.4.0

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

GetEncodedIssuer gets EncodedIssuer, Tag 349

func (Advertisement) GetEncodedIssuerLen added in v0.4.0

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

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348

func (Advertisement) GetEncodedSecurityDesc added in v0.4.0

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

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351

func (Advertisement) GetEncodedSecurityDescLen added in v0.4.0

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

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350

func (Advertisement) GetEncodedText added in v0.4.0

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

GetEncodedText gets EncodedText, Tag 355

func (Advertisement) GetEncodedTextLen added in v0.4.0

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

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (Advertisement) GetIDSource added in v0.4.0

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

GetIDSource gets IDSource, Tag 22

func (Advertisement) GetIssuer added in v0.4.0

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

GetIssuer gets Issuer, Tag 106

func (Advertisement) GetLastMkt added in v0.4.0

func (m Advertisement) GetLastMkt() (v string, err quickfix.MessageRejectError)

GetLastMkt gets LastMkt, Tag 30

func (Advertisement) GetMaturityDay added in v0.4.0

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

GetMaturityDay gets MaturityDay, Tag 205

func (Advertisement) GetMaturityMonthYear added in v0.4.0

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

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (Advertisement) GetOptAttribute added in v0.4.0

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

GetOptAttribute gets OptAttribute, Tag 206

func (Advertisement) GetPrice added in v0.4.0

GetPrice gets Price, Tag 44

func (Advertisement) GetPutOrCall added in v0.4.0

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

GetPutOrCall gets PutOrCall, Tag 201

func (Advertisement) GetSecurityDesc added in v0.4.0

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

GetSecurityDesc gets SecurityDesc, Tag 107

func (Advertisement) GetSecurityExchange added in v0.4.0

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

GetSecurityExchange gets SecurityExchange, Tag 207

func (Advertisement) GetSecurityID added in v0.4.0

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

GetSecurityID gets SecurityID, Tag 48

func (Advertisement) GetSecurityType added in v0.4.0

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

GetSecurityType gets SecurityType, Tag 167

func (Advertisement) GetShares added in v0.4.0

func (m Advertisement) GetShares() (v decimal.Decimal, err quickfix.MessageRejectError)

GetShares gets Shares, Tag 53

func (Advertisement) GetStrikePrice added in v0.4.0

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

GetStrikePrice gets StrikePrice, Tag 202

func (Advertisement) GetSymbol added in v0.4.0

func (m Advertisement) GetSymbol() (v string, err quickfix.MessageRejectError)

GetSymbol gets Symbol, Tag 55

func (Advertisement) GetSymbolSfx added in v0.4.0

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

GetSymbolSfx gets SymbolSfx, Tag 65

func (Advertisement) GetText added in v0.4.0

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

GetText gets Text, Tag 58

func (Advertisement) GetTradeDate added in v0.4.0

func (m Advertisement) GetTradeDate() (v string, err quickfix.MessageRejectError)

GetTradeDate gets TradeDate, Tag 75

func (Advertisement) GetTradingSessionID added in v0.4.0

func (m Advertisement) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError)

GetTradingSessionID gets TradingSessionID, Tag 336

func (Advertisement) GetTransactTime added in v0.4.0

func (m Advertisement) GetTransactTime() (v time.Time, err quickfix.MessageRejectError)

GetTransactTime gets TransactTime, Tag 60

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

GetURLLink gets URLLink, Tag 149

func (Advertisement) HasAdvId added in v0.4.0

func (m Advertisement) HasAdvId() bool

HasAdvId returns true if AdvId is present, Tag 2

func (Advertisement) HasAdvRefID added in v0.4.0

func (m Advertisement) HasAdvRefID() bool

HasAdvRefID returns true if AdvRefID is present, Tag 3

func (Advertisement) HasAdvSide added in v0.4.0

func (m Advertisement) HasAdvSide() bool

HasAdvSide returns true if AdvSide is present, Tag 4

func (Advertisement) HasAdvTransType added in v0.4.0

func (m Advertisement) HasAdvTransType() bool

HasAdvTransType returns true if AdvTransType is present, Tag 5

func (Advertisement) HasContractMultiplier added in v0.4.0

func (m Advertisement) HasContractMultiplier() bool

HasContractMultiplier returns true if ContractMultiplier is present, Tag 231

func (Advertisement) HasCouponRate added in v0.4.0

func (m Advertisement) HasCouponRate() bool

HasCouponRate returns true if CouponRate is present, Tag 223

func (Advertisement) HasCurrency added in v0.4.0

func (m Advertisement) HasCurrency() bool

HasCurrency returns true if Currency is present, Tag 15

func (Advertisement) HasEncodedIssuer added in v0.4.0

func (m Advertisement) HasEncodedIssuer() bool

HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349

func (Advertisement) HasEncodedIssuerLen added in v0.4.0

func (m Advertisement) HasEncodedIssuerLen() bool

HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348

func (Advertisement) HasEncodedSecurityDesc added in v0.4.0

func (m Advertisement) HasEncodedSecurityDesc() bool

HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351

func (Advertisement) HasEncodedSecurityDescLen added in v0.4.0

func (m Advertisement) HasEncodedSecurityDescLen() bool

HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350

func (Advertisement) HasEncodedText added in v0.4.0

func (m Advertisement) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355

func (Advertisement) HasEncodedTextLen added in v0.4.0

func (m Advertisement) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354

func (Advertisement) HasIDSource added in v0.4.0

func (m Advertisement) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (Advertisement) HasIssuer added in v0.4.0

func (m Advertisement) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (Advertisement) HasLastMkt added in v0.4.0

func (m Advertisement) HasLastMkt() bool

HasLastMkt returns true if LastMkt is present, Tag 30

func (Advertisement) HasMaturityDay added in v0.4.0

func (m Advertisement) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205

func (Advertisement) HasMaturityMonthYear added in v0.4.0

func (m Advertisement) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200

func (Advertisement) HasOptAttribute added in v0.4.0

func (m Advertisement) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206

func (Advertisement) HasPrice added in v0.4.0

func (m Advertisement) HasPrice() bool

HasPrice returns true if Price is present, Tag 44

func (Advertisement) HasPutOrCall added in v0.4.0

func (m Advertisement) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201

func (Advertisement) HasSecurityDesc added in v0.4.0

func (m Advertisement) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (Advertisement) HasSecurityExchange added in v0.4.0

func (m Advertisement) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207

func (Advertisement) HasSecurityID added in v0.4.0

func (m Advertisement) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (Advertisement) HasSecurityType added in v0.4.0

func (m Advertisement) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167

func (Advertisement) HasShares added in v0.4.0

func (m Advertisement) HasShares() bool

HasShares returns true if Shares is present, Tag 53

func (Advertisement) HasStrikePrice added in v0.4.0

func (m Advertisement) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202

func (Advertisement) HasSymbol added in v0.4.0

func (m Advertisement) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55

func (Advertisement) HasSymbolSfx added in v0.4.0

func (m Advertisement) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (Advertisement) HasText added in v0.4.0

func (m Advertisement) HasText() bool

HasText returns true if Text is present, Tag 58

func (Advertisement) HasTradeDate added in v0.4.0

func (m Advertisement) HasTradeDate() bool

HasTradeDate returns true if TradeDate is present, Tag 75

func (Advertisement) HasTradingSessionID added in v0.4.0

func (m Advertisement) HasTradingSessionID() bool

HasTradingSessionID returns true if TradingSessionID is present, Tag 336

func (Advertisement) HasTransactTime added in v0.4.0

func (m Advertisement) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60

func (m Advertisement) HasURLLink() bool

HasURLLink returns true if URLLink is present, Tag 149

func (Advertisement) SetAdvId added in v0.4.0

func (m Advertisement) SetAdvId(v string)

SetAdvId sets AdvId, Tag 2

func (Advertisement) SetAdvRefID added in v0.4.0

func (m Advertisement) SetAdvRefID(v string)

SetAdvRefID sets AdvRefID, Tag 3

func (Advertisement) SetAdvSide added in v0.4.0

func (m Advertisement) SetAdvSide(v enum.AdvSide)

SetAdvSide sets AdvSide, Tag 4

func (Advertisement) SetAdvTransType added in v0.4.0

func (m Advertisement) SetAdvTransType(v enum.AdvTransType)

SetAdvTransType sets AdvTransType, Tag 5

func (Advertisement) SetContractMultiplier added in v0.4.0

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

SetContractMultiplier sets ContractMultiplier, Tag 231

func (Advertisement) SetCouponRate added in v0.4.0

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

SetCouponRate sets CouponRate, Tag 223

func (Advertisement) SetCurrency added in v0.4.0

func (m Advertisement) SetCurrency(v string)

SetCurrency sets Currency, Tag 15

func (Advertisement) SetEncodedIssuer added in v0.4.0

func (m Advertisement) SetEncodedIssuer(v string)

SetEncodedIssuer sets EncodedIssuer, Tag 349

func (Advertisement) SetEncodedIssuerLen added in v0.4.0

func (m Advertisement) SetEncodedIssuerLen(v int)

SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348

func (Advertisement) SetEncodedSecurityDesc added in v0.4.0

func (m Advertisement) SetEncodedSecurityDesc(v string)

SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351

func (Advertisement) SetEncodedSecurityDescLen added in v0.4.0

func (m Advertisement) SetEncodedSecurityDescLen(v int)

SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350

func (Advertisement) SetEncodedText added in v0.4.0

func (m Advertisement) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355

func (Advertisement) SetEncodedTextLen added in v0.4.0

func (m Advertisement) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354

func (Advertisement) SetIDSource added in v0.4.0

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

SetIDSource sets IDSource, Tag 22

func (Advertisement) SetIssuer added in v0.4.0

func (m Advertisement) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (Advertisement) SetLastMkt added in v0.4.0

func (m Advertisement) SetLastMkt(v string)

SetLastMkt sets LastMkt, Tag 30

func (Advertisement) SetMaturityDay added in v0.4.0

func (m Advertisement) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205

func (Advertisement) SetMaturityMonthYear added in v0.4.0

func (m Advertisement) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200

func (Advertisement) SetOptAttribute added in v0.4.0

func (m Advertisement) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206

func (Advertisement) SetPrice added in v0.4.0

func (m Advertisement) SetPrice(value decimal.Decimal, scale int32)

SetPrice sets Price, Tag 44

func (Advertisement) SetPutOrCall added in v0.4.0

func (m Advertisement) SetPutOrCall(v enum.PutOrCall)

SetPutOrCall sets PutOrCall, Tag 201

func (Advertisement) SetSecurityDesc added in v0.4.0

func (m Advertisement) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (Advertisement) SetSecurityExchange added in v0.4.0

func (m Advertisement) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207

func (Advertisement) SetSecurityID added in v0.4.0

func (m Advertisement) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (Advertisement) SetSecurityType added in v0.4.0

func (m Advertisement) SetSecurityType(v enum.SecurityType)

SetSecurityType sets SecurityType, Tag 167

func (Advertisement) SetShares added in v0.4.0

func (m Advertisement) SetShares(value decimal.Decimal, scale int32)

SetShares sets Shares, Tag 53

func (Advertisement) SetStrikePrice added in v0.4.0

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

SetStrikePrice sets StrikePrice, Tag 202

func (Advertisement) SetSymbol added in v0.4.0

func (m Advertisement) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55

func (Advertisement) SetSymbolSfx added in v0.4.0

func (m Advertisement) SetSymbolSfx(v enum.SymbolSfx)

SetSymbolSfx sets SymbolSfx, Tag 65

func (Advertisement) SetText added in v0.4.0

func (m Advertisement) SetText(v string)

SetText sets Text, Tag 58

func (Advertisement) SetTradeDate added in v0.4.0

func (m Advertisement) SetTradeDate(v string)

SetTradeDate sets TradeDate, Tag 75

func (Advertisement) SetTradingSessionID added in v0.4.0

func (m Advertisement) SetTradingSessionID(v enum.TradingSessionID)

SetTradingSessionID sets TradingSessionID, Tag 336

func (Advertisement) SetTransactTime added in v0.4.0

func (m Advertisement) SetTransactTime(v time.Time)

SetTransactTime sets TransactTime, Tag 60

func (m Advertisement) SetURLLink(v string)

SetURLLink sets URLLink, Tag 149

func (Advertisement) ToMessage added in v0.4.0

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

ToMessage returns a quickfix.Message instance

type RouteOut

type RouteOut func(msg Advertisement, 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