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

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

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetInstrmtGrp

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

func (*Message) SetParties

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

func (*Message) SetPosMaintRptID

func (m *Message) SetPosMaintRptID(v string)

func (*Message) SetPosMaintRptRefID

func (m *Message) SetPosMaintRptRefID(v string)

func (*Message) SetPosReqType

func (m *Message) SetPosReqType(v int)

func (*Message) SetPositionQty

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

func (*Message) SetPriorSettlPrice

func (m *Message) SetPriorSettlPrice(v float64)

func (*Message) SetSettlPrice

func (m *Message) SetSettlPrice(v float64)

func (*Message) SetSettlSessID

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