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: 4 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"`
	fix44.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"`
	fix44.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 {
	//CommissionData is a required component for NoBidComponents.
	commissiondata.CommissionData
	//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"`
	//SettlType is a non-required field for NoBidComponents.
	SettlType *string `fix:"63"`
	//SettlDate is a non-required field for NoBidComponents.
	SettlDate *string `fix:"64"`
	//TradingSessionID is a non-required field for NoBidComponents.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for NoBidComponents.
	TradingSessionSubID *string `fix:"625"`
	//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(commissiondata commissiondata.CommissionData) *NoBidComponents

NewNoBidComponents returns an initialized NoBidComponents instance

func (*NoBidComponents) SetCommissionData added in v0.2.0

func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData)

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

func (m *NoBidComponents) SetSettlDate(v string)

func (*NoBidComponents) SetSettlType added in v0.2.0

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

func (*NoBidComponents) SetTradingSessionSubID added in v0.2.0

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