executionacknowledgement

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: 7 Imported by: 0

Documentation

Overview

Package executionacknowledgement msg type = BN.

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:"BN"`
	fixt11.Header
	//OrderID is a required field for ExecutionAcknowledgement.
	OrderID string `fix:"37"`
	//SecondaryOrderID is a non-required field for ExecutionAcknowledgement.
	SecondaryOrderID *string `fix:"198"`
	//ClOrdID is a non-required field for ExecutionAcknowledgement.
	ClOrdID *string `fix:"11"`
	//ExecAckStatus is a required field for ExecutionAcknowledgement.
	ExecAckStatus string `fix:"1036"`
	//ExecID is a required field for ExecutionAcknowledgement.
	ExecID string `fix:"17"`
	//DKReason is a non-required field for ExecutionAcknowledgement.
	DKReason *string `fix:"127"`
	//Instrument is a required component for ExecutionAcknowledgement.
	instrument.Instrument
	//UndInstrmtGrp is a non-required component for ExecutionAcknowledgement.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//InstrmtLegGrp is a non-required component for ExecutionAcknowledgement.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//Side is a required field for ExecutionAcknowledgement.
	Side string `fix:"54"`
	//OrderQtyData is a required component for ExecutionAcknowledgement.
	orderqtydata.OrderQtyData
	//LastQty is a non-required field for ExecutionAcknowledgement.
	LastQty *float64 `fix:"32"`
	//LastPx is a non-required field for ExecutionAcknowledgement.
	LastPx *float64 `fix:"31"`
	//PriceType is a non-required field for ExecutionAcknowledgement.
	PriceType *int `fix:"423"`
	//LastParPx is a non-required field for ExecutionAcknowledgement.
	LastParPx *float64 `fix:"669"`
	//CumQty is a non-required field for ExecutionAcknowledgement.
	CumQty *float64 `fix:"14"`
	//AvgPx is a non-required field for ExecutionAcknowledgement.
	AvgPx *float64 `fix:"6"`
	//Text is a non-required field for ExecutionAcknowledgement.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for ExecutionAcknowledgement.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for ExecutionAcknowledgement.
	EncodedText *string `fix:"355"`
	fixt11.Trailer
}

Message is a ExecutionAcknowledgement FIX Message

func New added in v0.2.0

func New(orderid string, execackstatus string, execid string, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *Message

New returns an initialized ExecutionAcknowledgement instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAvgPx added in v0.2.0

func (m *Message) SetAvgPx(v float64)

func (*Message) SetClOrdID added in v0.2.0

func (m *Message) SetClOrdID(v string)

func (*Message) SetCumQty added in v0.2.0

func (m *Message) SetCumQty(v float64)

func (*Message) SetDKReason added in v0.2.0

func (m *Message) SetDKReason(v string)

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) SetExecAckStatus added in v0.2.0

func (m *Message) SetExecAckStatus(v string)

func (*Message) SetExecID added in v0.2.0

func (m *Message) SetExecID(v string)

func (*Message) SetInstrmtLegGrp added in v0.2.0

func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp)

func (*Message) SetInstrument added in v0.2.0

func (m *Message) SetInstrument(v instrument.Instrument)

func (*Message) SetLastParPx added in v0.2.0

func (m *Message) SetLastParPx(v float64)

func (*Message) SetLastPx added in v0.2.0

func (m *Message) SetLastPx(v float64)

func (*Message) SetLastQty added in v0.2.0

func (m *Message) SetLastQty(v float64)

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

func (*Message) SetOrderQtyData added in v0.2.0

func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)

func (*Message) SetPriceType added in v0.2.0

func (m *Message) SetPriceType(v int)

func (*Message) SetSecondaryOrderID added in v0.2.0

func (m *Message) SetSecondaryOrderID(v string)

func (*Message) SetSide added in v0.2.0

func (m *Message) SetSide(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetUndInstrmtGrp added in v0.2.0

func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)

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