neworderlist

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

Documentation

Overview

Package neworderlist msg type = E.

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:"E"`
	fixt11.Header
	//ListID is a required field for NewOrderList.
	ListID string `fix:"66"`
	//BidID is a non-required field for NewOrderList.
	BidID *string `fix:"390"`
	//ClientBidID is a non-required field for NewOrderList.
	ClientBidID *string `fix:"391"`
	//ProgRptReqs is a non-required field for NewOrderList.
	ProgRptReqs *int `fix:"414"`
	//BidType is a required field for NewOrderList.
	BidType int `fix:"394"`
	//ProgPeriodInterval is a non-required field for NewOrderList.
	ProgPeriodInterval *int `fix:"415"`
	//CancellationRights is a non-required field for NewOrderList.
	CancellationRights *string `fix:"480"`
	//MoneyLaunderingStatus is a non-required field for NewOrderList.
	MoneyLaunderingStatus *string `fix:"481"`
	//RegistID is a non-required field for NewOrderList.
	RegistID *string `fix:"513"`
	//ListExecInstType is a non-required field for NewOrderList.
	ListExecInstType *string `fix:"433"`
	//ListExecInst is a non-required field for NewOrderList.
	ListExecInst *string `fix:"69"`
	//EncodedListExecInstLen is a non-required field for NewOrderList.
	EncodedListExecInstLen *int `fix:"352"`
	//EncodedListExecInst is a non-required field for NewOrderList.
	EncodedListExecInst *string `fix:"353"`
	//AllowableOneSidednessPct is a non-required field for NewOrderList.
	AllowableOneSidednessPct *float64 `fix:"765"`
	//AllowableOneSidednessValue is a non-required field for NewOrderList.
	AllowableOneSidednessValue *float64 `fix:"766"`
	//AllowableOneSidednessCurr is a non-required field for NewOrderList.
	AllowableOneSidednessCurr *string `fix:"767"`
	//TotNoOrders is a required field for NewOrderList.
	TotNoOrders int `fix:"68"`
	//LastFragment is a non-required field for NewOrderList.
	LastFragment *bool `fix:"893"`
	//ListOrdGrp is a required component for NewOrderList.
	listordgrp.ListOrdGrp
	//RootParties is a non-required component for NewOrderList.
	RootParties *rootparties.RootParties
	//ContingencyType is a non-required field for NewOrderList.
	ContingencyType *int `fix:"1385"`
	fixt11.Trailer
}

Message is a NewOrderList FIX Message

func New

func New(listid string, bidtype int, totnoorders int, listordgrp listordgrp.ListOrdGrp) *Message

New returns an initialized NewOrderList instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAllowableOneSidednessCurr

func (m *Message) SetAllowableOneSidednessCurr(v string)

func (*Message) SetAllowableOneSidednessPct

func (m *Message) SetAllowableOneSidednessPct(v float64)

func (*Message) SetAllowableOneSidednessValue

func (m *Message) SetAllowableOneSidednessValue(v float64)

func (*Message) SetBidID

func (m *Message) SetBidID(v string)

func (*Message) SetBidType

func (m *Message) SetBidType(v int)

func (*Message) SetCancellationRights

func (m *Message) SetCancellationRights(v string)

func (*Message) SetClientBidID

func (m *Message) SetClientBidID(v string)

func (*Message) SetContingencyType

func (m *Message) SetContingencyType(v int)

func (*Message) SetEncodedListExecInst

func (m *Message) SetEncodedListExecInst(v string)

func (*Message) SetEncodedListExecInstLen

func (m *Message) SetEncodedListExecInstLen(v int)

func (*Message) SetLastFragment

func (m *Message) SetLastFragment(v bool)

func (*Message) SetListExecInst

func (m *Message) SetListExecInst(v string)

func (*Message) SetListExecInstType

func (m *Message) SetListExecInstType(v string)

func (*Message) SetListID

func (m *Message) SetListID(v string)

func (*Message) SetListOrdGrp

func (m *Message) SetListOrdGrp(v listordgrp.ListOrdGrp)

func (*Message) SetMoneyLaunderingStatus

func (m *Message) SetMoneyLaunderingStatus(v string)

func (*Message) SetProgPeriodInterval

func (m *Message) SetProgPeriodInterval(v int)

func (*Message) SetProgRptReqs

func (m *Message) SetProgRptReqs(v int)

func (*Message) SetRegistID

func (m *Message) SetRegistID(v string)

func (*Message) SetRootParties

func (m *Message) SetRootParties(v rootparties.RootParties)

func (*Message) SetTotNoOrders

func (m *Message) SetTotNoOrders(v int)

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