allocation

package
v0.0.0-...-c8d12df Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2014 License: Apache-1.1 Imports: 3 Imported by: 0

Documentation

Overview

Package allocation msg type = J.

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 Mesage type

Types

type Message

type Message struct {
	quickfix.Message
}

Message is a Allocation wrapper for the generic Message type

func (Message) AllocID

AllocID is a required field for Allocation.

func (Message) AllocTransType

AllocTransType is a required field for Allocation.

func (Message) AvgPrxPrecision

AvgPrxPrecision is a non-required field for Allocation.

func (Message) AvgPx

AvgPx is a required field for Allocation.

func (Message) Currency

Currency is a non-required field for Allocation.

func (Message) FutSettDate

FutSettDate is a non-required field for Allocation.

func (Message) GetAllocID

GetAllocID reads a AllocID from Allocation.

func (Message) GetAllocTransType

GetAllocTransType reads a AllocTransType from Allocation.

func (Message) GetAvgPrxPrecision

GetAvgPrxPrecision reads a AvgPrxPrecision from Allocation.

func (Message) GetAvgPx

GetAvgPx reads a AvgPx from Allocation.

func (Message) GetCurrency

GetCurrency reads a Currency from Allocation.

func (Message) GetFutSettDate

GetFutSettDate reads a FutSettDate from Allocation.

func (Message) GetIDSource

GetIDSource reads a IDSource from Allocation.

func (Message) GetIssuer

GetIssuer reads a Issuer from Allocation.

func (Message) GetNetMoney

GetNetMoney reads a NetMoney from Allocation.

func (Message) GetNoAllocs

GetNoAllocs reads a NoAllocs from Allocation.

func (Message) GetNoExecs

GetNoExecs reads a NoExecs from Allocation.

func (Message) GetNoMiscFees

GetNoMiscFees reads a NoMiscFees from Allocation.

func (Message) GetNoOrders

GetNoOrders reads a NoOrders from Allocation.

func (Message) GetOpenClose

GetOpenClose reads a OpenClose from Allocation.

func (Message) GetRefAllocID

GetRefAllocID reads a RefAllocID from Allocation.

func (Message) GetSecurityDesc

GetSecurityDesc reads a SecurityDesc from Allocation.

func (Message) GetSecurityID

GetSecurityID reads a SecurityID from Allocation.

func (Message) GetSettlCurrAmt

GetSettlCurrAmt reads a SettlCurrAmt from Allocation.

func (Message) GetSettlCurrency

GetSettlCurrency reads a SettlCurrency from Allocation.

func (Message) GetSettlmntTyp

GetSettlmntTyp reads a SettlmntTyp from Allocation.

func (Message) GetShares

GetShares reads a Shares from Allocation.

func (Message) GetSide

GetSide reads a Side from Allocation.

func (Message) GetSymbol

GetSymbol reads a Symbol from Allocation.

func (Message) GetSymbolSfx

GetSymbolSfx reads a SymbolSfx from Allocation.

func (Message) GetText

GetText reads a Text from Allocation.

func (Message) GetTradeDate

GetTradeDate reads a TradeDate from Allocation.

func (Message) GetTransactTime

GetTransactTime reads a TransactTime from Allocation.

func (Message) IDSource

IDSource is a non-required field for Allocation.

func (Message) Issuer

Issuer is a non-required field for Allocation.

func (Message) NetMoney

NetMoney is a non-required field for Allocation.

func (Message) NoAllocs

NoAllocs is a required field for Allocation.

func (Message) NoExecs

NoExecs is a non-required field for Allocation.

func (Message) NoMiscFees

NoMiscFees is a non-required field for Allocation.

func (Message) NoOrders

NoOrders is a required field for Allocation.

func (Message) OpenClose

OpenClose is a non-required field for Allocation.

func (Message) RefAllocID

RefAllocID is a non-required field for Allocation.

func (Message) SecurityDesc

SecurityDesc is a non-required field for Allocation.

func (Message) SecurityID

SecurityID is a non-required field for Allocation.

func (Message) SettlCurrAmt

SettlCurrAmt is a non-required field for Allocation.

func (Message) SettlCurrency

SettlCurrency is a non-required field for Allocation.

func (Message) SettlmntTyp

SettlmntTyp is a non-required field for Allocation.

func (Message) Shares

Shares is a required field for Allocation.

func (Message) Side

Side is a required field for Allocation.

func (Message) Symbol

Symbol is a required field for Allocation.

func (Message) SymbolSfx

SymbolSfx is a non-required field for Allocation.

func (Message) Text

Text is a non-required field for Allocation.

func (Message) TradeDate

TradeDate is a required field for Allocation.

func (Message) TransactTime

TransactTime is a non-required field for Allocation.

type MessageBuilder

type MessageBuilder struct {
	quickfix.MessageBuilder
}

MessageBuilder builds Allocation messages.

func Builder

func Builder(
	allocid *field.AllocIDField,
	alloctranstype *field.AllocTransTypeField,
	noorders *field.NoOrdersField,
	side *field.SideField,
	symbol *field.SymbolField,
	shares *field.SharesField,
	avgpx *field.AvgPxField,
	tradedate *field.TradeDateField,
	noallocs *field.NoAllocsField) MessageBuilder

Builder returns an initialized MessageBuilder with specified required fields for Allocation.

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