assignmentreport

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 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 added in v0.2.0

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

func (m *Message) SetAsgnRptID(v string)

func (*Message) SetAssignmentMethod added in v0.2.0

func (m *Message) SetAssignmentMethod(v string)

func (*Message) SetAssignmentUnit added in v0.2.0

func (m *Message) SetAssignmentUnit(v float64)

func (*Message) SetClearingBusinessDate added in v0.2.0

func (m *Message) SetClearingBusinessDate(v string)

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

func (m *Message) SetExerciseMethod(v string)

func (*Message) SetExpireDate added in v0.2.0

func (m *Message) SetExpireDate(v string)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetLastRptRequested added in v0.2.0

func (m *Message) SetLastRptRequested(v bool)

func (*Message) SetNoLegs added in v0.2.0

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

func (*Message) SetNoUnderlyings added in v0.2.0

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

func (*Message) SetOpenInterest added in v0.2.0

func (m *Message) SetOpenInterest(v float64)

func (*Message) SetParties added in v0.2.0

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

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

func (m *Message) SetSettlPrice(v float64)

func (*Message) SetSettlPriceType added in v0.2.0

func (m *Message) SetSettlPriceType(v int)

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

func (m *Message) SetTotNumAssignmentReports(v int)

func (*Message) SetUnderlyingSettlPrice added in v0.2.0

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

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg added in v0.2.0

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

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument added in v0.2.0

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