liststatus

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: 5 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 ListStatus

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

ListStatus is the fix40 ListStatus type, MsgType = N

func FromMessage

func FromMessage(m *quickfix.Message) ListStatus

FromMessage creates a ListStatus from a quickfix.Message instance

func New

func New(listid field.ListIDField, norpts field.NoRptsField, rptseq field.RptSeqField) (m ListStatus)

New returns a ListStatus initialized with the required fields for ListStatus

func (ListStatus) GetListID

func (m ListStatus) GetListID() (v string, err quickfix.MessageRejectError)

GetListID gets ListID, Tag 66

func (ListStatus) GetNoOrders

GetNoOrders gets NoOrders, Tag 73

func (ListStatus) GetNoRpts

func (m ListStatus) GetNoRpts() (v int, err quickfix.MessageRejectError)

GetNoRpts gets NoRpts, Tag 82

func (ListStatus) GetRptSeq

func (m ListStatus) GetRptSeq() (v int, err quickfix.MessageRejectError)

GetRptSeq gets RptSeq, Tag 83

func (ListStatus) GetWaveNo

func (m ListStatus) GetWaveNo() (v string, err quickfix.MessageRejectError)

GetWaveNo gets WaveNo, Tag 105

func (ListStatus) HasListID

func (m ListStatus) HasListID() bool

HasListID returns true if ListID is present, Tag 66

func (ListStatus) HasNoOrders

func (m ListStatus) HasNoOrders() bool

HasNoOrders returns true if NoOrders is present, Tag 73

func (ListStatus) HasNoRpts

func (m ListStatus) HasNoRpts() bool

HasNoRpts returns true if NoRpts is present, Tag 82

func (ListStatus) HasRptSeq

func (m ListStatus) HasRptSeq() bool

HasRptSeq returns true if RptSeq is present, Tag 83

func (ListStatus) HasWaveNo

func (m ListStatus) HasWaveNo() bool

HasWaveNo returns true if WaveNo is present, Tag 105

func (ListStatus) SetListID

func (m ListStatus) SetListID(v string)

SetListID sets ListID, Tag 66

func (ListStatus) SetNoOrders

func (m ListStatus) SetNoOrders(f NoOrdersRepeatingGroup)

SetNoOrders sets NoOrders, Tag 73

func (ListStatus) SetNoRpts

func (m ListStatus) SetNoRpts(v int)

SetNoRpts sets NoRpts, Tag 82

func (ListStatus) SetRptSeq

func (m ListStatus) SetRptSeq(v int)

SetRptSeq sets RptSeq, Tag 83

func (ListStatus) SetWaveNo

func (m ListStatus) SetWaveNo(v string)

SetWaveNo sets WaveNo, Tag 105

func (ListStatus) ToMessage

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

ToMessage returns a quickfix.Message instance

type NoOrders

type NoOrders struct {
	*quickfix.Group
}

NoOrders is a repeating group element, Tag 73

func (NoOrders) GetAvgPx

func (m NoOrders) GetAvgPx() (v decimal.Decimal, err quickfix.MessageRejectError)

GetAvgPx gets AvgPx, Tag 6

func (NoOrders) GetClOrdID

func (m NoOrders) GetClOrdID() (v string, err quickfix.MessageRejectError)

GetClOrdID gets ClOrdID, Tag 11

func (NoOrders) GetCumQty

func (m NoOrders) GetCumQty() (v decimal.Decimal, err quickfix.MessageRejectError)

GetCumQty gets CumQty, Tag 14

func (NoOrders) GetCxlQty

func (m NoOrders) GetCxlQty() (v decimal.Decimal, err quickfix.MessageRejectError)

GetCxlQty gets CxlQty, Tag 84

func (NoOrders) HasAvgPx

func (m NoOrders) HasAvgPx() bool

HasAvgPx returns true if AvgPx is present, Tag 6

func (NoOrders) HasClOrdID

func (m NoOrders) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11

func (NoOrders) HasCumQty

func (m NoOrders) HasCumQty() bool

HasCumQty returns true if CumQty is present, Tag 14

func (NoOrders) HasCxlQty

func (m NoOrders) HasCxlQty() bool

HasCxlQty returns true if CxlQty is present, Tag 84

func (NoOrders) SetAvgPx

func (m NoOrders) SetAvgPx(value decimal.Decimal, scale int32)

SetAvgPx sets AvgPx, Tag 6

func (NoOrders) SetClOrdID

func (m NoOrders) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11

func (NoOrders) SetCumQty

func (m NoOrders) SetCumQty(value decimal.Decimal, scale int32)

SetCumQty sets CumQty, Tag 14

func (NoOrders) SetCxlQty

func (m NoOrders) SetCxlQty(value decimal.Decimal, scale int32)

SetCxlQty sets CxlQty, Tag 84

type NoOrdersRepeatingGroup

type NoOrdersRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoOrdersRepeatingGroup is a repeating group, Tag 73

func NewNoOrdersRepeatingGroup

func NewNoOrdersRepeatingGroup() NoOrdersRepeatingGroup

NewNoOrdersRepeatingGroup returns an initialized, NoOrdersRepeatingGroup

func (NoOrdersRepeatingGroup) Add

Add create and append a new NoOrders to this group

func (NoOrdersRepeatingGroup) Get

Get returns the ith NoOrders in the NoOrdersRepeatinGroup

type RouteOut

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