crossordercancelrequest

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

Documentation

Overview

Package crossordercancelrequest msg type = u.

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:"u"`
	fixt11.Header
	//OrderID is a non-required field for CrossOrderCancelRequest.
	OrderID *string `fix:"37"`
	//CrossID is a required field for CrossOrderCancelRequest.
	CrossID string `fix:"548"`
	//OrigCrossID is a required field for CrossOrderCancelRequest.
	OrigCrossID string `fix:"551"`
	//CrossType is a required field for CrossOrderCancelRequest.
	CrossType int `fix:"549"`
	//CrossPrioritization is a required field for CrossOrderCancelRequest.
	CrossPrioritization int `fix:"550"`
	//SideCrossOrdCxlGrp is a required component for CrossOrderCancelRequest.
	sidecrossordcxlgrp.SideCrossOrdCxlGrp
	//Instrument is a required component for CrossOrderCancelRequest.
	instrument.Instrument
	//UndInstrmtGrp is a non-required component for CrossOrderCancelRequest.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//InstrmtLegGrp is a non-required component for CrossOrderCancelRequest.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//TransactTime is a required field for CrossOrderCancelRequest.
	TransactTime time.Time `fix:"60"`
	//HostCrossID is a non-required field for CrossOrderCancelRequest.
	HostCrossID *string `fix:"961"`
	//RootParties is a non-required component for CrossOrderCancelRequest.
	RootParties *rootparties.RootParties
	fixt11.Trailer
}

Message is a CrossOrderCancelRequest FIX Message

func New

func New(crossid string, origcrossid string, crosstype int, crossprioritization int, sidecrossordcxlgrp sidecrossordcxlgrp.SideCrossOrdCxlGrp, instrument instrument.Instrument, transacttime time.Time) *Message

New returns an initialized CrossOrderCancelRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetCrossID

func (m *Message) SetCrossID(v string)

func (*Message) SetCrossPrioritization

func (m *Message) SetCrossPrioritization(v int)

func (*Message) SetCrossType

func (m *Message) SetCrossType(v int)

func (*Message) SetHostCrossID

func (m *Message) SetHostCrossID(v string)

func (*Message) SetInstrmtLegGrp

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

func (*Message) SetInstrument

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

func (*Message) SetOrderID

func (m *Message) SetOrderID(v string)

func (*Message) SetOrigCrossID

func (m *Message) SetOrigCrossID(v string)

func (*Message) SetRootParties

func (m *Message) SetRootParties(v rootparties.RootParties)

func (*Message) SetSideCrossOrdCxlGrp

func (m *Message) SetSideCrossOrdCxlGrp(v sidecrossordcxlgrp.SideCrossOrdCxlGrp)

func (*Message) SetTransactTime

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

func (*Message) SetUndInstrmtGrp

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