confirmationrequest

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 confirmationrequest msg type = BH.

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:"BH"`
	fix44.Header
	//ConfirmReqID is a required field for ConfirmationRequest.
	ConfirmReqID string `fix:"859"`
	//ConfirmType is a required field for ConfirmationRequest.
	ConfirmType int `fix:"773"`
	//NoOrders is a non-required field for ConfirmationRequest.
	NoOrders []NoOrders `fix:"73,omitempty"`
	//AllocID is a non-required field for ConfirmationRequest.
	AllocID *string `fix:"70"`
	//SecondaryAllocID is a non-required field for ConfirmationRequest.
	SecondaryAllocID *string `fix:"793"`
	//IndividualAllocID is a non-required field for ConfirmationRequest.
	IndividualAllocID *string `fix:"467"`
	//TransactTime is a required field for ConfirmationRequest.
	TransactTime time.Time `fix:"60"`
	//AllocAccount is a non-required field for ConfirmationRequest.
	AllocAccount *string `fix:"79"`
	//AllocAcctIDSource is a non-required field for ConfirmationRequest.
	AllocAcctIDSource *int `fix:"661"`
	//AllocAccountType is a non-required field for ConfirmationRequest.
	AllocAccountType *int `fix:"798"`
	//Text is a non-required field for ConfirmationRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for ConfirmationRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for ConfirmationRequest.
	EncodedText *string `fix:"355"`
	fix44.Trailer
}

Message is a ConfirmationRequest FIX Message

func New added in v0.2.0

func New(confirmreqid string, confirmtype int, transacttime time.Time) *Message

New returns an initialized ConfirmationRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAllocAccount added in v0.2.0

func (m *Message) SetAllocAccount(v string)

func (*Message) SetAllocAccountType added in v0.2.0

func (m *Message) SetAllocAccountType(v int)

func (*Message) SetAllocAcctIDSource added in v0.2.0

func (m *Message) SetAllocAcctIDSource(v int)

func (*Message) SetAllocID added in v0.2.0

func (m *Message) SetAllocID(v string)

func (*Message) SetConfirmReqID added in v0.2.0

func (m *Message) SetConfirmReqID(v string)

func (*Message) SetConfirmType added in v0.2.0

func (m *Message) SetConfirmType(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) SetIndividualAllocID added in v0.2.0

func (m *Message) SetIndividualAllocID(v string)

func (*Message) SetNoOrders added in v0.2.0

func (m *Message) SetNoOrders(v []NoOrders)

func (*Message) SetSecondaryAllocID added in v0.2.0

func (m *Message) SetSecondaryAllocID(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTransactTime added in v0.2.0

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

type NoOrders

type NoOrders struct {
	//ClOrdID is a non-required field for NoOrders.
	ClOrdID *string `fix:"11"`
	//OrderID is a non-required field for NoOrders.
	OrderID *string `fix:"37"`
	//SecondaryOrderID is a non-required field for NoOrders.
	SecondaryOrderID *string `fix:"198"`
	//SecondaryClOrdID is a non-required field for NoOrders.
	SecondaryClOrdID *string `fix:"526"`
	//ListID is a non-required field for NoOrders.
	ListID *string `fix:"66"`
	//NestedParties2 is a non-required component for NoOrders.
	NestedParties2 *nestedparties2.NestedParties2
	//OrderQty is a non-required field for NoOrders.
	OrderQty *float64 `fix:"38"`
	//OrderAvgPx is a non-required field for NoOrders.
	OrderAvgPx *float64 `fix:"799"`
	//OrderBookingQty is a non-required field for NoOrders.
	OrderBookingQty *float64 `fix:"800"`
}

NoOrders is a repeating group in ConfirmationRequest

func NewNoOrders added in v0.2.0

func NewNoOrders() *NoOrders

NewNoOrders returns an initialized NoOrders instance

func (*NoOrders) SetClOrdID added in v0.2.0

func (m *NoOrders) SetClOrdID(v string)

func (*NoOrders) SetListID added in v0.2.0

func (m *NoOrders) SetListID(v string)

func (*NoOrders) SetNestedParties2 added in v0.2.0

func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2)

func (*NoOrders) SetOrderAvgPx added in v0.2.0

func (m *NoOrders) SetOrderAvgPx(v float64)

func (*NoOrders) SetOrderBookingQty added in v0.2.0

func (m *NoOrders) SetOrderBookingQty(v float64)

func (*NoOrders) SetOrderID added in v0.2.0

func (m *NoOrders) SetOrderID(v string)

func (*NoOrders) SetOrderQty added in v0.2.0

func (m *NoOrders) SetOrderQty(v float64)

func (*NoOrders) SetSecondaryClOrdID added in v0.2.0

func (m *NoOrders) SetSecondaryClOrdID(v string)

func (*NoOrders) SetSecondaryOrderID added in v0.2.0

func (m *NoOrders) SetSecondaryOrderID(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