neworderlist

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

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

func (m *Message) SetAllowableOneSidednessCurr(v string)

func (*Message) SetAllowableOneSidednessPct added in v0.2.0

func (m *Message) SetAllowableOneSidednessPct(v float64)

func (*Message) SetAllowableOneSidednessValue added in v0.2.0

func (m *Message) SetAllowableOneSidednessValue(v float64)

func (*Message) SetBidID added in v0.2.0

func (m *Message) SetBidID(v string)

func (*Message) SetBidType added in v0.2.0

func (m *Message) SetBidType(v int)

func (*Message) SetCancellationRights added in v0.2.0

func (m *Message) SetCancellationRights(v string)

func (*Message) SetClientBidID added in v0.2.0

func (m *Message) SetClientBidID(v string)

func (*Message) SetContingencyType added in v0.2.0

func (m *Message) SetContingencyType(v int)

func (*Message) SetEncodedListExecInst added in v0.2.0

func (m *Message) SetEncodedListExecInst(v string)

func (*Message) SetEncodedListExecInstLen added in v0.2.0

func (m *Message) SetEncodedListExecInstLen(v int)

func (*Message) SetLastFragment added in v0.2.0

func (m *Message) SetLastFragment(v bool)

func (*Message) SetListExecInst added in v0.2.0

func (m *Message) SetListExecInst(v string)

func (*Message) SetListExecInstType added in v0.2.0

func (m *Message) SetListExecInstType(v string)

func (*Message) SetListID added in v0.2.0

func (m *Message) SetListID(v string)

func (*Message) SetListOrdGrp added in v0.2.0

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

func (*Message) SetMoneyLaunderingStatus added in v0.2.0

func (m *Message) SetMoneyLaunderingStatus(v string)

func (*Message) SetProgPeriodInterval added in v0.2.0

func (m *Message) SetProgPeriodInterval(v int)

func (*Message) SetProgRptReqs added in v0.2.0

func (m *Message) SetProgRptReqs(v int)

func (*Message) SetRegistID added in v0.2.0

func (m *Message) SetRegistID(v string)

func (*Message) SetRootParties added in v0.2.0

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

func (*Message) SetTotNoOrders added in v0.2.0

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