positionmaintenancerequest

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

Documentation

Overview

Package positionmaintenancerequest msg type = AL.

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:"AL"`
	fixt11.Header
	//PosReqID is a non-required field for PositionMaintenanceRequest.
	PosReqID *string `fix:"710"`
	//PosTransType is a required field for PositionMaintenanceRequest.
	PosTransType int `fix:"709"`
	//PosMaintAction is a required field for PositionMaintenanceRequest.
	PosMaintAction int `fix:"712"`
	//OrigPosReqRefID is a non-required field for PositionMaintenanceRequest.
	OrigPosReqRefID *string `fix:"713"`
	//PosMaintRptRefID is a non-required field for PositionMaintenanceRequest.
	PosMaintRptRefID *string `fix:"714"`
	//ClearingBusinessDate is a required field for PositionMaintenanceRequest.
	ClearingBusinessDate string `fix:"715"`
	//SettlSessID is a non-required field for PositionMaintenanceRequest.
	SettlSessID *string `fix:"716"`
	//SettlSessSubID is a non-required field for PositionMaintenanceRequest.
	SettlSessSubID *string `fix:"717"`
	//Parties is a required component for PositionMaintenanceRequest.
	parties.Parties
	//Account is a non-required field for PositionMaintenanceRequest.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for PositionMaintenanceRequest.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for PositionMaintenanceRequest.
	AccountType *int `fix:"581"`
	//Instrument is a required component for PositionMaintenanceRequest.
	instrument.Instrument
	//Currency is a non-required field for PositionMaintenanceRequest.
	Currency *string `fix:"15"`
	//InstrmtLegGrp is a non-required component for PositionMaintenanceRequest.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//UndInstrmtGrp is a non-required component for PositionMaintenanceRequest.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//TrdgSesGrp is a non-required component for PositionMaintenanceRequest.
	TrdgSesGrp *trdgsesgrp.TrdgSesGrp
	//TransactTime is a non-required field for PositionMaintenanceRequest.
	TransactTime *time.Time `fix:"60"`
	//PositionQty is a required component for PositionMaintenanceRequest.
	positionqty.PositionQty
	//AdjustmentType is a non-required field for PositionMaintenanceRequest.
	AdjustmentType *int `fix:"718"`
	//ContraryInstructionIndicator is a non-required field for PositionMaintenanceRequest.
	ContraryInstructionIndicator *bool `fix:"719"`
	//PriorSpreadIndicator is a non-required field for PositionMaintenanceRequest.
	PriorSpreadIndicator *bool `fix:"720"`
	//ThresholdAmount is a non-required field for PositionMaintenanceRequest.
	ThresholdAmount *float64 `fix:"834"`
	//Text is a non-required field for PositionMaintenanceRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for PositionMaintenanceRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for PositionMaintenanceRequest.
	EncodedText *string `fix:"355"`
	//PositionAmountData is a non-required component for PositionMaintenanceRequest.
	PositionAmountData *positionamountdata.PositionAmountData
	//SettlCurrency is a non-required field for PositionMaintenanceRequest.
	SettlCurrency *string `fix:"120"`
	fixt11.Trailer
}

Message is a PositionMaintenanceRequest FIX Message

func New added in v0.2.0

func New(postranstype int, posmaintaction int, clearingbusinessdate string, parties parties.Parties, instrument instrument.Instrument, positionqty positionqty.PositionQty) *Message

New returns an initialized PositionMaintenanceRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount added in v0.2.0

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType added in v0.2.0

func (m *Message) SetAccountType(v int)

func (*Message) SetAcctIDSource added in v0.2.0

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetAdjustmentType added in v0.2.0

func (m *Message) SetAdjustmentType(v int)

func (*Message) SetClearingBusinessDate added in v0.2.0

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetContraryInstructionIndicator added in v0.2.0

func (m *Message) SetContraryInstructionIndicator(v bool)

func (*Message) SetCurrency added in v0.2.0

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

func (m *Message) SetOrigPosReqRefID(v string)

func (*Message) SetParties added in v0.2.0

func (m *Message) SetParties(v parties.Parties)

func (*Message) SetPosMaintAction added in v0.2.0

func (m *Message) SetPosMaintAction(v int)

func (*Message) SetPosMaintRptRefID added in v0.2.0

func (m *Message) SetPosMaintRptRefID(v string)

func (*Message) SetPosReqID added in v0.2.0

func (m *Message) SetPosReqID(v string)

func (*Message) SetPosTransType added in v0.2.0

func (m *Message) SetPosTransType(v int)

func (*Message) SetPositionAmountData added in v0.2.0

func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData)

func (*Message) SetPositionQty added in v0.2.0

func (m *Message) SetPositionQty(v positionqty.PositionQty)

func (*Message) SetPriorSpreadIndicator added in v0.2.0

func (m *Message) SetPriorSpreadIndicator(v bool)

func (*Message) SetSettlCurrency added in v0.2.0

func (m *Message) SetSettlCurrency(v string)

func (*Message) SetSettlSessID added in v0.2.0

func (m *Message) SetSettlSessID(v string)

func (*Message) SetSettlSessSubID added in v0.2.0

func (m *Message) SetSettlSessSubID(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetThresholdAmount added in v0.2.0

func (m *Message) SetThresholdAmount(v float64)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetTrdgSesGrp added in v0.2.0

func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp)

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