adjustedpositionreport

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

Documentation

Overview

Package adjustedpositionreport msg type = BL.

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:"BL"`
	fixt11.Header
	//PosMaintRptID is a required field for AdjustedPositionReport.
	PosMaintRptID string `fix:"721"`
	//PosReqType is a non-required field for AdjustedPositionReport.
	PosReqType *int `fix:"724"`
	//ClearingBusinessDate is a required field for AdjustedPositionReport.
	ClearingBusinessDate string `fix:"715"`
	//SettlSessID is a non-required field for AdjustedPositionReport.
	SettlSessID *string `fix:"716"`
	//Parties is a required component for AdjustedPositionReport.
	parties.Parties
	//PositionQty is a required component for AdjustedPositionReport.
	positionqty.PositionQty
	//InstrmtGrp is a non-required component for AdjustedPositionReport.
	InstrmtGrp *instrmtgrp.InstrmtGrp
	//SettlPrice is a non-required field for AdjustedPositionReport.
	SettlPrice *float64 `fix:"730"`
	//PriorSettlPrice is a non-required field for AdjustedPositionReport.
	PriorSettlPrice *float64 `fix:"734"`
	//PosMaintRptRefID is a non-required field for AdjustedPositionReport.
	PosMaintRptRefID *string `fix:"714"`
	fixt11.Trailer
}

Message is a AdjustedPositionReport FIX Message

func New added in v0.2.0

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

New returns an initialized AdjustedPositionReport instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetClearingBusinessDate added in v0.2.0

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetInstrmtGrp added in v0.2.0

func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp)

func (*Message) SetParties added in v0.2.0

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

func (*Message) SetPosMaintRptID added in v0.2.0

func (m *Message) SetPosMaintRptID(v string)

func (*Message) SetPosMaintRptRefID added in v0.2.0

func (m *Message) SetPosMaintRptRefID(v string)

func (*Message) SetPosReqType added in v0.2.0

func (m *Message) SetPosReqType(v int)

func (*Message) SetPositionQty added in v0.2.0

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

func (*Message) SetPriorSettlPrice added in v0.2.0

func (m *Message) SetPriorSettlPrice(v float64)

func (*Message) SetSettlPrice added in v0.2.0

func (m *Message) SetSettlPrice(v float64)

func (*Message) SetSettlSessID added in v0.2.0

func (m *Message) SetSettlSessID(v string)

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