requestforpositions

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 requestforpositions msg type = AN.

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:"AN"`
	fixt11.Header
	//PosReqID is a required field for RequestForPositions.
	PosReqID string `fix:"710"`
	//PosReqType is a required field for RequestForPositions.
	PosReqType int `fix:"724"`
	//MatchStatus is a non-required field for RequestForPositions.
	MatchStatus *string `fix:"573"`
	//SubscriptionRequestType is a non-required field for RequestForPositions.
	SubscriptionRequestType *string `fix:"263"`
	//Parties is a required component for RequestForPositions.
	parties.Parties
	//Account is a non-required field for RequestForPositions.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for RequestForPositions.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for RequestForPositions.
	AccountType *int `fix:"581"`
	//Instrument is a non-required component for RequestForPositions.
	Instrument *instrument.Instrument
	//Currency is a non-required field for RequestForPositions.
	Currency *string `fix:"15"`
	//InstrmtLegGrp is a non-required component for RequestForPositions.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//UndInstrmtGrp is a non-required component for RequestForPositions.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//ClearingBusinessDate is a required field for RequestForPositions.
	ClearingBusinessDate string `fix:"715"`
	//SettlSessID is a non-required field for RequestForPositions.
	SettlSessID *string `fix:"716"`
	//SettlSessSubID is a non-required field for RequestForPositions.
	SettlSessSubID *string `fix:"717"`
	//TrdgSesGrp is a non-required component for RequestForPositions.
	TrdgSesGrp *trdgsesgrp.TrdgSesGrp
	//TransactTime is a required field for RequestForPositions.
	TransactTime time.Time `fix:"60"`
	//ResponseTransportType is a non-required field for RequestForPositions.
	ResponseTransportType *int `fix:"725"`
	//ResponseDestination is a non-required field for RequestForPositions.
	ResponseDestination *string `fix:"726"`
	//Text is a non-required field for RequestForPositions.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for RequestForPositions.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for RequestForPositions.
	EncodedText *string `fix:"355"`
	//SettlCurrency is a non-required field for RequestForPositions.
	SettlCurrency *string `fix:"120"`
	fixt11.Trailer
}

Message is a RequestForPositions FIX Message

func New added in v0.2.0

func New(posreqid string, posreqtype int, parties parties.Parties, clearingbusinessdate string, transacttime time.Time) *Message

New returns an initialized RequestForPositions 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) 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) 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) SetMatchStatus added in v0.2.0

func (m *Message) SetMatchStatus(v string)

func (*Message) SetParties added in v0.2.0

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

func (*Message) SetPosReqID added in v0.2.0

func (m *Message) SetPosReqID(v string)

func (*Message) SetPosReqType added in v0.2.0

func (m *Message) SetPosReqType(v int)

func (*Message) SetResponseDestination added in v0.2.0

func (m *Message) SetResponseDestination(v string)

func (*Message) SetResponseTransportType added in v0.2.0

func (m *Message) SetResponseTransportType(v int)

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

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

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