liststatus

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-1.1 Imports: 5 Imported by: 0

Documentation

Overview

Package liststatus msg type = N.

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:"N"`
	fixt11.Header
	//ListID is a required field for ListStatus.
	ListID string `fix:"66"`
	//ListStatusType is a required field for ListStatus.
	ListStatusType int `fix:"429"`
	//NoRpts is a required field for ListStatus.
	NoRpts int `fix:"82"`
	//ListOrderStatus is a required field for ListStatus.
	ListOrderStatus int `fix:"431"`
	//RptSeq is a required field for ListStatus.
	RptSeq int `fix:"83"`
	//ListStatusText is a non-required field for ListStatus.
	ListStatusText *string `fix:"444"`
	//EncodedListStatusTextLen is a non-required field for ListStatus.
	EncodedListStatusTextLen *int `fix:"445"`
	//EncodedListStatusText is a non-required field for ListStatus.
	EncodedListStatusText *string `fix:"446"`
	//TransactTime is a non-required field for ListStatus.
	TransactTime *time.Time `fix:"60"`
	//TotNoOrders is a required field for ListStatus.
	TotNoOrders int `fix:"68"`
	//LastFragment is a non-required field for ListStatus.
	LastFragment *bool `fix:"893"`
	//OrdListStatGrp is a required component for ListStatus.
	ordliststatgrp.OrdListStatGrp
	fixt11.Trailer
}

Message is a ListStatus FIX Message

func New added in v0.2.0

func New(listid string, liststatustype int, norpts int, listorderstatus int, rptseq int, totnoorders int, ordliststatgrp ordliststatgrp.OrdListStatGrp) *Message

New returns an initialized ListStatus instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetEncodedListStatusText added in v0.2.0

func (m *Message) SetEncodedListStatusText(v string)

func (*Message) SetEncodedListStatusTextLen added in v0.2.0

func (m *Message) SetEncodedListStatusTextLen(v int)

func (*Message) SetLastFragment added in v0.2.0

func (m *Message) SetLastFragment(v bool)

func (*Message) SetListID added in v0.2.0

func (m *Message) SetListID(v string)

func (*Message) SetListOrderStatus added in v0.2.0

func (m *Message) SetListOrderStatus(v int)

func (*Message) SetListStatusText added in v0.2.0

func (m *Message) SetListStatusText(v string)

func (*Message) SetListStatusType added in v0.2.0

func (m *Message) SetListStatusType(v int)

func (*Message) SetNoRpts added in v0.2.0

func (m *Message) SetNoRpts(v int)

func (*Message) SetOrdListStatGrp added in v0.2.0

func (m *Message) SetOrdListStatGrp(v ordliststatgrp.OrdListStatGrp)

func (*Message) SetRptSeq added in v0.2.0

func (m *Message) SetRptSeq(v int)

func (*Message) SetTotNoOrders added in v0.2.0

func (m *Message) SetTotNoOrders(v int)

func (*Message) SetTransactTime added in v0.2.0

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

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