positionmaintenancereport

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 positionmaintenancereport msg type = AM.

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

Message is a PositionMaintenanceReport FIX Message

func New

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

New returns an initialized PositionMaintenanceReport instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType

func (m *Message) SetAccountType(v int)

func (*Message) SetAcctIDSource

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetAdjustmentType

func (m *Message) SetAdjustmentType(v int)

func (*Message) SetClearingBusinessDate

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetContraryInstructionIndicator

func (m *Message) SetContraryInstructionIndicator(v bool)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetInstrmtLegGrp

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

func (*Message) SetInstrument

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

func (*Message) SetOrigPosReqRefID

func (m *Message) SetOrigPosReqRefID(v string)

func (*Message) SetParties

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

func (*Message) SetPosMaintAction

func (m *Message) SetPosMaintAction(v int)

func (*Message) SetPosMaintResult

func (m *Message) SetPosMaintResult(v int)

func (*Message) SetPosMaintRptID

func (m *Message) SetPosMaintRptID(v string)

func (*Message) SetPosMaintRptRefID

func (m *Message) SetPosMaintRptRefID(v string)

func (*Message) SetPosMaintStatus

func (m *Message) SetPosMaintStatus(v int)

func (*Message) SetPosReqID

func (m *Message) SetPosReqID(v string)

func (*Message) SetPosTransType

func (m *Message) SetPosTransType(v int)

func (*Message) SetPositionAmountData

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

func (*Message) SetPositionQty

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

func (*Message) SetPriorSpreadIndicator

func (m *Message) SetPriorSpreadIndicator(v bool)

func (*Message) SetSettlCurrency

func (m *Message) SetSettlCurrency(v string)

func (*Message) SetSettlSessID

func (m *Message) SetSettlSessID(v string)

func (*Message) SetSettlSessSubID

func (m *Message) SetSettlSessSubID(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetThresholdAmount

func (m *Message) SetThresholdAmount(v float64)

func (*Message) SetTransactTime

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

func (*Message) SetTrdgSesGrp

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

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