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

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

func (m *Message) SetCrossID(v string)

func (*Message) SetCrossPrioritization added in v0.2.0

func (m *Message) SetCrossPrioritization(v int)

func (*Message) SetCrossType added in v0.2.0

func (m *Message) SetCrossType(v int)

func (*Message) SetHostCrossID added in v0.2.0

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

func (m *Message) SetOrderID(v string)

func (*Message) SetOrigCrossID added in v0.2.0

func (m *Message) SetOrigCrossID(v string)

func (*Message) SetRootParties added in v0.2.0

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

func (*Message) SetSideCrossOrdCxlGrp added in v0.2.0

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

func (*Message) SetTransactTime added in v0.2.0

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

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