positionreport

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

Documentation

Overview

Package positionreport msg type = AP.

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:"AP"`
	fixt11.Header
	//PosMaintRptID is a required field for PositionReport.
	PosMaintRptID string `fix:"721"`
	//PosReqID is a non-required field for PositionReport.
	PosReqID *string `fix:"710"`
	//PosReqType is a non-required field for PositionReport.
	PosReqType *int `fix:"724"`
	//SubscriptionRequestType is a non-required field for PositionReport.
	SubscriptionRequestType *string `fix:"263"`
	//TotalNumPosReports is a non-required field for PositionReport.
	TotalNumPosReports *int `fix:"727"`
	//UnsolicitedIndicator is a non-required field for PositionReport.
	UnsolicitedIndicator *bool `fix:"325"`
	//PosReqResult is a non-required field for PositionReport.
	PosReqResult *int `fix:"728"`
	//ClearingBusinessDate is a required field for PositionReport.
	ClearingBusinessDate string `fix:"715"`
	//SettlSessID is a non-required field for PositionReport.
	SettlSessID *string `fix:"716"`
	//SettlSessSubID is a non-required field for PositionReport.
	SettlSessSubID *string `fix:"717"`
	//Parties is a required component for PositionReport.
	parties.Parties
	//Account is a non-required field for PositionReport.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for PositionReport.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for PositionReport.
	AccountType *int `fix:"581"`
	//Instrument is a non-required component for PositionReport.
	Instrument *instrument.Instrument
	//Currency is a non-required field for PositionReport.
	Currency *string `fix:"15"`
	//SettlPrice is a non-required field for PositionReport.
	SettlPrice *float64 `fix:"730"`
	//SettlPriceType is a non-required field for PositionReport.
	SettlPriceType *int `fix:"731"`
	//PriorSettlPrice is a non-required field for PositionReport.
	PriorSettlPrice *float64 `fix:"734"`
	//InstrmtLegGrp is a non-required component for PositionReport.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//PosUndInstrmtGrp is a non-required component for PositionReport.
	PosUndInstrmtGrp *posundinstrmtgrp.PosUndInstrmtGrp
	//PositionQty is a non-required component for PositionReport.
	PositionQty *positionqty.PositionQty
	//PositionAmountData is a non-required component for PositionReport.
	PositionAmountData *positionamountdata.PositionAmountData
	//RegistStatus is a non-required field for PositionReport.
	RegistStatus *string `fix:"506"`
	//DeliveryDate is a non-required field for PositionReport.
	DeliveryDate *string `fix:"743"`
	//Text is a non-required field for PositionReport.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for PositionReport.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for PositionReport.
	EncodedText *string `fix:"355"`
	//MatchStatus is a non-required field for PositionReport.
	MatchStatus *string `fix:"573"`
	//PriceType is a non-required field for PositionReport.
	PriceType *int `fix:"423"`
	//SettlCurrency is a non-required field for PositionReport.
	SettlCurrency *string `fix:"120"`
	//MessageEventSource is a non-required field for PositionReport.
	MessageEventSource *string `fix:"1011"`
	//ApplicationSequenceControl is a non-required component for PositionReport.
	ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl
	//ModelType is a non-required field for PositionReport.
	ModelType *int `fix:"1434"`
	//PriceDelta is a non-required field for PositionReport.
	PriceDelta *float64 `fix:"811"`
	fixt11.Trailer
}

Message is a PositionReport FIX Message

func New

func New(posmaintrptid string, clearingbusinessdate string, parties parties.Parties) *Message

New returns an initialized PositionReport 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) SetApplicationSequenceControl

func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl)

func (*Message) SetClearingBusinessDate

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetDeliveryDate

func (m *Message) SetDeliveryDate(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) SetMatchStatus

func (m *Message) SetMatchStatus(v string)

func (*Message) SetMessageEventSource

func (m *Message) SetMessageEventSource(v string)

func (*Message) SetModelType

func (m *Message) SetModelType(v int)

func (*Message) SetParties

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

func (*Message) SetPosMaintRptID

func (m *Message) SetPosMaintRptID(v string)

func (*Message) SetPosReqID

func (m *Message) SetPosReqID(v string)

func (*Message) SetPosReqResult

func (m *Message) SetPosReqResult(v int)

func (*Message) SetPosReqType

func (m *Message) SetPosReqType(v int)

func (*Message) SetPosUndInstrmtGrp

func (m *Message) SetPosUndInstrmtGrp(v posundinstrmtgrp.PosUndInstrmtGrp)

func (*Message) SetPositionAmountData

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

func (*Message) SetPositionQty

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

func (*Message) SetPriceDelta

func (m *Message) SetPriceDelta(v float64)

func (*Message) SetPriceType

func (m *Message) SetPriceType(v int)

func (*Message) SetPriorSettlPrice

func (m *Message) SetPriorSettlPrice(v float64)

func (*Message) SetRegistStatus

func (m *Message) SetRegistStatus(v string)

func (*Message) SetSettlCurrency

func (m *Message) SetSettlCurrency(v string)

func (*Message) SetSettlPrice

func (m *Message) SetSettlPrice(v float64)

func (*Message) SetSettlPriceType

func (m *Message) SetSettlPriceType(v int)

func (*Message) SetSettlSessID

func (m *Message) SetSettlSessID(v string)

func (*Message) SetSettlSessSubID

func (m *Message) SetSettlSessSubID(v string)

func (*Message) SetSubscriptionRequestType

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotalNumPosReports

func (m *Message) SetTotalNumPosReports(v int)

func (*Message) SetUnsolicitedIndicator

func (m *Message) SetUnsolicitedIndicator(v bool)

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