advertisement

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: Apache-1.1 Imports: 4 Imported by: 0

Documentation

Overview

Package advertisement msg type = 7.

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 Message

type Message struct {
	FIXMsgType string `fix:"7"`
	fix42.Header
	//AdvId is a required field for Advertisement.
	AdvId string `fix:"2"`
	//AdvTransType is a required field for Advertisement.
	AdvTransType string `fix:"5"`
	//AdvRefID is a non-required field for Advertisement.
	AdvRefID *string `fix:"3"`
	//Symbol is a required field for Advertisement.
	Symbol string `fix:"55"`
	//SymbolSfx is a non-required field for Advertisement.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for Advertisement.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for Advertisement.
	IDSource *string `fix:"22"`
	//SecurityType is a non-required field for Advertisement.
	SecurityType *string `fix:"167"`
	//MaturityMonthYear is a non-required field for Advertisement.
	MaturityMonthYear *string `fix:"200"`
	//MaturityDay is a non-required field for Advertisement.
	MaturityDay *int `fix:"205"`
	//PutOrCall is a non-required field for Advertisement.
	PutOrCall *int `fix:"201"`
	//StrikePrice is a non-required field for Advertisement.
	StrikePrice *float64 `fix:"202"`
	//OptAttribute is a non-required field for Advertisement.
	OptAttribute *string `fix:"206"`
	//ContractMultiplier is a non-required field for Advertisement.
	ContractMultiplier *float64 `fix:"231"`
	//CouponRate is a non-required field for Advertisement.
	CouponRate *float64 `fix:"223"`
	//SecurityExchange is a non-required field for Advertisement.
	SecurityExchange *string `fix:"207"`
	//Issuer is a non-required field for Advertisement.
	Issuer *string `fix:"106"`
	//EncodedIssuerLen is a non-required field for Advertisement.
	EncodedIssuerLen *int `fix:"348"`
	//EncodedIssuer is a non-required field for Advertisement.
	EncodedIssuer *string `fix:"349"`
	//SecurityDesc is a non-required field for Advertisement.
	SecurityDesc *string `fix:"107"`
	//EncodedSecurityDescLen is a non-required field for Advertisement.
	EncodedSecurityDescLen *int `fix:"350"`
	//EncodedSecurityDesc is a non-required field for Advertisement.
	EncodedSecurityDesc *string `fix:"351"`
	//AdvSide is a required field for Advertisement.
	AdvSide string `fix:"4"`
	//Shares is a required field for Advertisement.
	Shares float64 `fix:"53"`
	//Price is a non-required field for Advertisement.
	Price *float64 `fix:"44"`
	//Currency is a non-required field for Advertisement.
	Currency *string `fix:"15"`
	//TradeDate is a non-required field for Advertisement.
	TradeDate *string `fix:"75"`
	//TransactTime is a non-required field for Advertisement.
	TransactTime *time.Time `fix:"60"`
	//Text is a non-required field for Advertisement.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for Advertisement.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for Advertisement.
	EncodedText *string `fix:"355"`
	//URLLink is a non-required field for Advertisement.
	URLLink *string `fix:"149"`
	//LastMkt is a non-required field for Advertisement.
	LastMkt *string `fix:"30"`
	//TradingSessionID is a non-required field for Advertisement.
	TradingSessionID *string `fix:"336"`
	fix42.Trailer
}

Message is a Advertisement FIX Message

func New added in v0.2.0

func New(advid string, advtranstype string, symbol string, advside string, shares float64) *Message

New returns an initialized Advertisement instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAdvId added in v0.2.0

func (m *Message) SetAdvId(v string)

func (*Message) SetAdvRefID added in v0.2.0

func (m *Message) SetAdvRefID(v string)

func (*Message) SetAdvSide added in v0.2.0

func (m *Message) SetAdvSide(v string)

func (*Message) SetAdvTransType added in v0.2.0

func (m *Message) SetAdvTransType(v string)

func (*Message) SetContractMultiplier added in v0.2.0

func (m *Message) SetContractMultiplier(v float64)

func (*Message) SetCouponRate added in v0.2.0

func (m *Message) SetCouponRate(v float64)

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedIssuer added in v0.2.0

func (m *Message) SetEncodedIssuer(v string)

func (*Message) SetEncodedIssuerLen added in v0.2.0

func (m *Message) SetEncodedIssuerLen(v int)

func (*Message) SetEncodedSecurityDesc added in v0.2.0

func (m *Message) SetEncodedSecurityDesc(v string)

func (*Message) SetEncodedSecurityDescLen added in v0.2.0

func (m *Message) SetEncodedSecurityDescLen(v int)

func (*Message) SetEncodedText added in v0.2.0

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen added in v0.2.0

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetIDSource added in v0.2.0

func (m *Message) SetIDSource(v string)

func (*Message) SetIssuer added in v0.2.0

func (m *Message) SetIssuer(v string)

func (*Message) SetLastMkt added in v0.2.0

func (m *Message) SetLastMkt(v string)

func (*Message) SetMaturityDay added in v0.2.0

func (m *Message) SetMaturityDay(v int)

func (*Message) SetMaturityMonthYear added in v0.2.0

func (m *Message) SetMaturityMonthYear(v string)

func (*Message) SetOptAttribute added in v0.2.0

func (m *Message) SetOptAttribute(v string)

func (*Message) SetPrice added in v0.2.0

func (m *Message) SetPrice(v float64)

func (*Message) SetPutOrCall added in v0.2.0

func (m *Message) SetPutOrCall(v int)

func (*Message) SetSecurityDesc added in v0.2.0

func (m *Message) SetSecurityDesc(v string)

func (*Message) SetSecurityExchange added in v0.2.0

func (m *Message) SetSecurityExchange(v string)

func (*Message) SetSecurityID added in v0.2.0

func (m *Message) SetSecurityID(v string)

func (*Message) SetSecurityType added in v0.2.0

func (m *Message) SetSecurityType(v string)

func (*Message) SetShares added in v0.2.0

func (m *Message) SetShares(v float64)

func (*Message) SetStrikePrice added in v0.2.0

func (m *Message) SetStrikePrice(v float64)

func (*Message) SetSymbol added in v0.2.0

func (m *Message) SetSymbol(v string)

func (*Message) SetSymbolSfx added in v0.2.0

func (m *Message) SetSymbolSfx(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTradeDate added in v0.2.0

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTransactTime added in v0.2.0

func (m *Message) SetTransactTime(v time.Time)
func (m *Message) SetURLLink(v string)

type RouteOut

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