bidresponse

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

Documentation

Overview

Package bidresponse msg type = l.

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:"l"`
	fix42.Header
	//BidID is a non-required field for BidResponse.
	BidID *string `fix:"390"`
	//ClientBidID is a non-required field for BidResponse.
	ClientBidID *string `fix:"391"`
	//NoBidComponents is a required field for BidResponse.
	NoBidComponents []NoBidComponents `fix:"420"`
	fix42.Trailer
}

Message is a BidResponse FIX Message

func New added in v0.2.0

func New(nobidcomponents []NoBidComponents) *Message

New returns an initialized BidResponse instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetBidID added in v0.2.0

func (m *Message) SetBidID(v string)

func (*Message) SetClientBidID added in v0.2.0

func (m *Message) SetClientBidID(v string)

func (*Message) SetNoBidComponents added in v0.2.0

func (m *Message) SetNoBidComponents(v []NoBidComponents)

type NoBidComponents

type NoBidComponents struct {
	//Commission is a required field for NoBidComponents.
	Commission float64 `fix:"12"`
	//CommType is a required field for NoBidComponents.
	CommType string `fix:"13"`
	//ListID is a non-required field for NoBidComponents.
	ListID *string `fix:"66"`
	//Country is a non-required field for NoBidComponents.
	Country *string `fix:"421"`
	//Side is a non-required field for NoBidComponents.
	Side *string `fix:"54"`
	//Price is a non-required field for NoBidComponents.
	Price *float64 `fix:"44"`
	//PriceType is a non-required field for NoBidComponents.
	PriceType *int `fix:"423"`
	//FairValue is a non-required field for NoBidComponents.
	FairValue *float64 `fix:"406"`
	//NetGrossInd is a non-required field for NoBidComponents.
	NetGrossInd *int `fix:"430"`
	//SettlmntTyp is a non-required field for NoBidComponents.
	SettlmntTyp *string `fix:"63"`
	//FutSettDate is a non-required field for NoBidComponents.
	FutSettDate *string `fix:"64"`
	//TradingSessionID is a non-required field for NoBidComponents.
	TradingSessionID *string `fix:"336"`
	//Text is a non-required field for NoBidComponents.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NoBidComponents.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NoBidComponents.
	EncodedText *string `fix:"355"`
}

NoBidComponents is a repeating group in BidResponse

func NewNoBidComponents added in v0.2.0

func NewNoBidComponents(commission float64, commtype string) *NoBidComponents

NewNoBidComponents returns an initialized NoBidComponents instance

func (*NoBidComponents) SetCommType added in v0.2.0

func (m *NoBidComponents) SetCommType(v string)

func (*NoBidComponents) SetCommission added in v0.2.0

func (m *NoBidComponents) SetCommission(v float64)

func (*NoBidComponents) SetCountry added in v0.2.0

func (m *NoBidComponents) SetCountry(v string)

func (*NoBidComponents) SetEncodedText added in v0.2.0

func (m *NoBidComponents) SetEncodedText(v string)

func (*NoBidComponents) SetEncodedTextLen added in v0.2.0

func (m *NoBidComponents) SetEncodedTextLen(v int)

func (*NoBidComponents) SetFairValue added in v0.2.0

func (m *NoBidComponents) SetFairValue(v float64)

func (*NoBidComponents) SetFutSettDate added in v0.2.0

func (m *NoBidComponents) SetFutSettDate(v string)

func (*NoBidComponents) SetListID added in v0.2.0

func (m *NoBidComponents) SetListID(v string)

func (*NoBidComponents) SetNetGrossInd added in v0.2.0

func (m *NoBidComponents) SetNetGrossInd(v int)

func (*NoBidComponents) SetPrice added in v0.2.0

func (m *NoBidComponents) SetPrice(v float64)

func (*NoBidComponents) SetPriceType added in v0.2.0

func (m *NoBidComponents) SetPriceType(v int)

func (*NoBidComponents) SetSettlmntTyp added in v0.2.0

func (m *NoBidComponents) SetSettlmntTyp(v string)

func (*NoBidComponents) SetSide added in v0.2.0

func (m *NoBidComponents) SetSide(v string)

func (*NoBidComponents) SetText added in v0.2.0

func (m *NoBidComponents) SetText(v string)

func (*NoBidComponents) SetTradingSessionID added in v0.2.0

func (m *NoBidComponents) SetTradingSessionID(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