liststatus

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 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 ListStatus

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

ListStatus is the fix50 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, liststatustype field.ListStatusTypeField, norpts field.NoRptsField, listorderstatus field.ListOrderStatusField, rptseq field.RptSeqField, totnoorders field.TotNoOrdersField) (m ListStatus)

New returns a ListStatus initialized with the required fields for ListStatus.

func (ListStatus) GetEncodedListStatusText

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

GetEncodedListStatusText gets EncodedListStatusText, Tag 446.

func (ListStatus) GetEncodedListStatusTextLen

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

GetEncodedListStatusTextLen gets EncodedListStatusTextLen, Tag 445.

func (ListStatus) GetLastFragment

func (m ListStatus) GetLastFragment() (v bool, err quickfix.MessageRejectError)

GetLastFragment gets LastFragment, Tag 893.

func (ListStatus) GetListID

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

GetListID gets ListID, Tag 66.

func (ListStatus) GetListOrderStatus

func (m ListStatus) GetListOrderStatus() (v enum.ListOrderStatus, err quickfix.MessageRejectError)

GetListOrderStatus gets ListOrderStatus, Tag 431.

func (ListStatus) GetListStatusText

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

GetListStatusText gets ListStatusText, Tag 444.

func (ListStatus) GetListStatusType

func (m ListStatus) GetListStatusType() (v enum.ListStatusType, err quickfix.MessageRejectError)

GetListStatusType gets ListStatusType, Tag 429.

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) GetTotNoOrders

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

GetTotNoOrders gets TotNoOrders, Tag 68.

func (ListStatus) GetTransactTime

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

GetTransactTime gets TransactTime, Tag 60.

func (ListStatus) HasEncodedListStatusText

func (m ListStatus) HasEncodedListStatusText() bool

HasEncodedListStatusText returns true if EncodedListStatusText is present, Tag 446.

func (ListStatus) HasEncodedListStatusTextLen

func (m ListStatus) HasEncodedListStatusTextLen() bool

HasEncodedListStatusTextLen returns true if EncodedListStatusTextLen is present, Tag 445.

func (ListStatus) HasLastFragment

func (m ListStatus) HasLastFragment() bool

HasLastFragment returns true if LastFragment is present, Tag 893.

func (ListStatus) HasListID

func (m ListStatus) HasListID() bool

HasListID returns true if ListID is present, Tag 66.

func (ListStatus) HasListOrderStatus

func (m ListStatus) HasListOrderStatus() bool

HasListOrderStatus returns true if ListOrderStatus is present, Tag 431.

func (ListStatus) HasListStatusText

func (m ListStatus) HasListStatusText() bool

HasListStatusText returns true if ListStatusText is present, Tag 444.

func (ListStatus) HasListStatusType

func (m ListStatus) HasListStatusType() bool

HasListStatusType returns true if ListStatusType is present, Tag 429.

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) HasTotNoOrders

func (m ListStatus) HasTotNoOrders() bool

HasTotNoOrders returns true if TotNoOrders is present, Tag 68.

func (ListStatus) HasTransactTime

func (m ListStatus) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60.

func (ListStatus) SetEncodedListStatusText

func (m ListStatus) SetEncodedListStatusText(v string)

SetEncodedListStatusText sets EncodedListStatusText, Tag 446.

func (ListStatus) SetEncodedListStatusTextLen

func (m ListStatus) SetEncodedListStatusTextLen(v int)

SetEncodedListStatusTextLen sets EncodedListStatusTextLen, Tag 445.

func (ListStatus) SetLastFragment

func (m ListStatus) SetLastFragment(v bool)

SetLastFragment sets LastFragment, Tag 893.

func (ListStatus) SetListID

func (m ListStatus) SetListID(v string)

SetListID sets ListID, Tag 66.

func (ListStatus) SetListOrderStatus

func (m ListStatus) SetListOrderStatus(v enum.ListOrderStatus)

SetListOrderStatus sets ListOrderStatus, Tag 431.

func (ListStatus) SetListStatusText

func (m ListStatus) SetListStatusText(v string)

SetListStatusText sets ListStatusText, Tag 444.

func (ListStatus) SetListStatusType

func (m ListStatus) SetListStatusType(v enum.ListStatusType)

SetListStatusType sets ListStatusType, Tag 429.

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) SetTotNoOrders

func (m ListStatus) SetTotNoOrders(v int)

SetTotNoOrders sets TotNoOrders, Tag 68.

func (ListStatus) SetTransactTime

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

SetTransactTime sets TransactTime, Tag 60.

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) GetEncodedText

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

GetEncodedText gets EncodedText, Tag 355.

func (NoOrders) GetEncodedTextLen

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

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (NoOrders) GetLeavesQty

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

GetLeavesQty gets LeavesQty, Tag 151.

func (NoOrders) GetOrdRejReason

func (m NoOrders) GetOrdRejReason() (v enum.OrdRejReason, err quickfix.MessageRejectError)

GetOrdRejReason gets OrdRejReason, Tag 103.

func (NoOrders) GetOrdStatus

func (m NoOrders) GetOrdStatus() (v enum.OrdStatus, err quickfix.MessageRejectError)

GetOrdStatus gets OrdStatus, Tag 39.

func (NoOrders) GetSecondaryClOrdID

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

GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.

func (NoOrders) GetText

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

GetText gets Text, Tag 58.

func (NoOrders) GetWorkingIndicator

func (m NoOrders) GetWorkingIndicator() (v bool, err quickfix.MessageRejectError)

GetWorkingIndicator gets WorkingIndicator, Tag 636.

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) HasEncodedText

func (m NoOrders) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (NoOrders) HasEncodedTextLen

func (m NoOrders) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (NoOrders) HasLeavesQty

func (m NoOrders) HasLeavesQty() bool

HasLeavesQty returns true if LeavesQty is present, Tag 151.

func (NoOrders) HasOrdRejReason

func (m NoOrders) HasOrdRejReason() bool

HasOrdRejReason returns true if OrdRejReason is present, Tag 103.

func (NoOrders) HasOrdStatus

func (m NoOrders) HasOrdStatus() bool

HasOrdStatus returns true if OrdStatus is present, Tag 39.

func (NoOrders) HasSecondaryClOrdID

func (m NoOrders) HasSecondaryClOrdID() bool

HasSecondaryClOrdID returns true if SecondaryClOrdID is present, Tag 526.

func (NoOrders) HasText

func (m NoOrders) HasText() bool

HasText returns true if Text is present, Tag 58.

func (NoOrders) HasWorkingIndicator

func (m NoOrders) HasWorkingIndicator() bool

HasWorkingIndicator returns true if WorkingIndicator is present, Tag 636.

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.

func (NoOrders) SetEncodedText

func (m NoOrders) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (NoOrders) SetEncodedTextLen

func (m NoOrders) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (NoOrders) SetLeavesQty

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

SetLeavesQty sets LeavesQty, Tag 151.

func (NoOrders) SetOrdRejReason

func (m NoOrders) SetOrdRejReason(v enum.OrdRejReason)

SetOrdRejReason sets OrdRejReason, Tag 103.

func (NoOrders) SetOrdStatus

func (m NoOrders) SetOrdStatus(v enum.OrdStatus)

SetOrdStatus sets OrdStatus, Tag 39.

func (NoOrders) SetSecondaryClOrdID

func (m NoOrders) SetSecondaryClOrdID(v string)

SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.

func (NoOrders) SetText

func (m NoOrders) SetText(v string)

SetText sets Text, Tag 58.

func (NoOrders) SetWorkingIndicator

func (m NoOrders) SetWorkingIndicator(v bool)

SetWorkingIndicator sets WorkingIndicator, Tag 636.

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