assignmentreport

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 assignmentreport msg type = AW.

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:"AW"`
	fix44.Header
	//AsgnRptID is a required field for AssignmentReport.
	AsgnRptID string `fix:"833"`
	//TotNumAssignmentReports is a non-required field for AssignmentReport.
	TotNumAssignmentReports *int `fix:"832"`
	//LastRptRequested is a non-required field for AssignmentReport.
	LastRptRequested *bool `fix:"912"`
	//Parties is a required component for AssignmentReport.
	parties.Parties
	//Account is a non-required field for AssignmentReport.
	Account *string `fix:"1"`
	//AccountType is a required field for AssignmentReport.
	AccountType int `fix:"581"`
	//Instrument is a non-required component for AssignmentReport.
	Instrument *instrument.Instrument
	//Currency is a non-required field for AssignmentReport.
	Currency *string `fix:"15"`
	//NoLegs is a non-required field for AssignmentReport.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//NoUnderlyings is a non-required field for AssignmentReport.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//PositionQty is a required component for AssignmentReport.
	positionqty.PositionQty
	//PositionAmountData is a required component for AssignmentReport.
	positionamountdata.PositionAmountData
	//ThresholdAmount is a non-required field for AssignmentReport.
	ThresholdAmount *float64 `fix:"834"`
	//SettlPrice is a required field for AssignmentReport.
	SettlPrice float64 `fix:"730"`
	//SettlPriceType is a required field for AssignmentReport.
	SettlPriceType int `fix:"731"`
	//UnderlyingSettlPrice is a required field for AssignmentReport.
	UnderlyingSettlPrice float64 `fix:"732"`
	//ExpireDate is a non-required field for AssignmentReport.
	ExpireDate *string `fix:"432"`
	//AssignmentMethod is a required field for AssignmentReport.
	AssignmentMethod string `fix:"744"`
	//AssignmentUnit is a non-required field for AssignmentReport.
	AssignmentUnit *float64 `fix:"745"`
	//OpenInterest is a required field for AssignmentReport.
	OpenInterest float64 `fix:"746"`
	//ExerciseMethod is a required field for AssignmentReport.
	ExerciseMethod string `fix:"747"`
	//SettlSessID is a required field for AssignmentReport.
	SettlSessID string `fix:"716"`
	//SettlSessSubID is a required field for AssignmentReport.
	SettlSessSubID string `fix:"717"`
	//ClearingBusinessDate is a required field for AssignmentReport.
	ClearingBusinessDate string `fix:"715"`
	//Text is a non-required field for AssignmentReport.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for AssignmentReport.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for AssignmentReport.
	EncodedText *string `fix:"355"`
	fix44.Trailer
}

Message is a AssignmentReport FIX Message

func New

func New(asgnrptid string, parties parties.Parties, accounttype int, positionqty positionqty.PositionQty, positionamountdata positionamountdata.PositionAmountData, settlprice float64, settlpricetype int, underlyingsettlprice float64, assignmentmethod string, openinterest float64, exercisemethod string, settlsessid string, settlsesssubid string, clearingbusinessdate string) *Message

New returns an initialized AssignmentReport 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) SetAsgnRptID

func (m *Message) SetAsgnRptID(v string)

func (*Message) SetAssignmentMethod

func (m *Message) SetAssignmentMethod(v string)

func (*Message) SetAssignmentUnit

func (m *Message) SetAssignmentUnit(v float64)

func (*Message) SetClearingBusinessDate

func (m *Message) SetClearingBusinessDate(v string)

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) SetExerciseMethod

func (m *Message) SetExerciseMethod(v string)

func (*Message) SetExpireDate

func (m *Message) SetExpireDate(v string)

func (*Message) SetInstrument

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

func (*Message) SetLastRptRequested

func (m *Message) SetLastRptRequested(v bool)

func (*Message) SetNoLegs

func (m *Message) SetNoLegs(v []NoLegs)

func (*Message) SetNoUnderlyings

func (m *Message) SetNoUnderlyings(v []NoUnderlyings)

func (*Message) SetOpenInterest

func (m *Message) SetOpenInterest(v float64)

func (*Message) SetParties

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

func (*Message) SetPositionAmountData

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

func (*Message) SetPositionQty

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

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) SetText

func (m *Message) SetText(v string)

func (*Message) SetThresholdAmount

func (m *Message) SetThresholdAmount(v float64)

func (*Message) SetTotNumAssignmentReports

func (m *Message) SetTotNumAssignmentReports(v int)

func (*Message) SetUnderlyingSettlPrice

func (m *Message) SetUnderlyingSettlPrice(v float64)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
}

NoLegs is a repeating group in AssignmentReport

func NewNoLegs

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg

func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)

type NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
}

NoUnderlyings is a repeating group in AssignmentReport

func NewNoUnderlyings

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument

func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)

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