bidrequest

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 bidrequest msg type = k.

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:"k"`
	fix42.Header
	//BidID is a non-required field for BidRequest.
	BidID *string `fix:"390"`
	//ClientBidID is a required field for BidRequest.
	ClientBidID string `fix:"391"`
	//BidRequestTransType is a required field for BidRequest.
	BidRequestTransType string `fix:"374"`
	//ListName is a non-required field for BidRequest.
	ListName *string `fix:"392"`
	//TotalNumSecurities is a required field for BidRequest.
	TotalNumSecurities int `fix:"393"`
	//BidType is a required field for BidRequest.
	BidType int `fix:"394"`
	//NumTickets is a non-required field for BidRequest.
	NumTickets *int `fix:"395"`
	//Currency is a non-required field for BidRequest.
	Currency *string `fix:"15"`
	//SideValue1 is a non-required field for BidRequest.
	SideValue1 *float64 `fix:"396"`
	//SideValue2 is a non-required field for BidRequest.
	SideValue2 *float64 `fix:"397"`
	//NoBidDescriptors is a non-required field for BidRequest.
	NoBidDescriptors []NoBidDescriptors `fix:"398,omitempty"`
	//NoBidComponents is a non-required field for BidRequest.
	NoBidComponents []NoBidComponents `fix:"420,omitempty"`
	//LiquidityIndType is a non-required field for BidRequest.
	LiquidityIndType *int `fix:"409"`
	//WtAverageLiquidity is a non-required field for BidRequest.
	WtAverageLiquidity *float64 `fix:"410"`
	//ExchangeForPhysical is a non-required field for BidRequest.
	ExchangeForPhysical *bool `fix:"411"`
	//OutMainCntryUIndex is a non-required field for BidRequest.
	OutMainCntryUIndex *float64 `fix:"412"`
	//CrossPercent is a non-required field for BidRequest.
	CrossPercent *float64 `fix:"413"`
	//ProgRptReqs is a non-required field for BidRequest.
	ProgRptReqs *int `fix:"414"`
	//ProgPeriodInterval is a non-required field for BidRequest.
	ProgPeriodInterval *int `fix:"415"`
	//IncTaxInd is a non-required field for BidRequest.
	IncTaxInd *int `fix:"416"`
	//ForexReq is a non-required field for BidRequest.
	ForexReq *bool `fix:"121"`
	//NumBidders is a non-required field for BidRequest.
	NumBidders *int `fix:"417"`
	//TradeDate is a non-required field for BidRequest.
	TradeDate *string `fix:"75"`
	//TradeType is a required field for BidRequest.
	TradeType string `fix:"418"`
	//BasisPxType is a required field for BidRequest.
	BasisPxType string `fix:"419"`
	//StrikeTime is a non-required field for BidRequest.
	StrikeTime *time.Time `fix:"443"`
	//Text is a non-required field for BidRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for BidRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for BidRequest.
	EncodedText *string `fix:"355"`
	fix42.Trailer
}

Message is a BidRequest FIX Message

func New added in v0.2.0

func New(clientbidid string, bidrequesttranstype string, totalnumsecurities int, bidtype int, tradetype string, basispxtype string) *Message

New returns an initialized BidRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetBasisPxType added in v0.2.0

func (m *Message) SetBasisPxType(v string)

func (*Message) SetBidID added in v0.2.0

func (m *Message) SetBidID(v string)

func (*Message) SetBidRequestTransType added in v0.2.0

func (m *Message) SetBidRequestTransType(v string)

func (*Message) SetBidType added in v0.2.0

func (m *Message) SetBidType(v int)

func (*Message) SetClientBidID added in v0.2.0

func (m *Message) SetClientBidID(v string)

func (*Message) SetCrossPercent added in v0.2.0

func (m *Message) SetCrossPercent(v float64)

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedText added in v0.2.0

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen added in v0.2.0

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetExchangeForPhysical added in v0.2.0

func (m *Message) SetExchangeForPhysical(v bool)

func (*Message) SetForexReq added in v0.2.0

func (m *Message) SetForexReq(v bool)

func (*Message) SetIncTaxInd added in v0.2.0

func (m *Message) SetIncTaxInd(v int)

func (*Message) SetLiquidityIndType added in v0.2.0

func (m *Message) SetLiquidityIndType(v int)

func (*Message) SetListName added in v0.2.0

func (m *Message) SetListName(v string)

func (*Message) SetNoBidComponents added in v0.2.0

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

func (*Message) SetNoBidDescriptors added in v0.2.0

func (m *Message) SetNoBidDescriptors(v []NoBidDescriptors)

func (*Message) SetNumBidders added in v0.2.0

func (m *Message) SetNumBidders(v int)

func (*Message) SetNumTickets added in v0.2.0

func (m *Message) SetNumTickets(v int)

func (*Message) SetOutMainCntryUIndex added in v0.2.0

func (m *Message) SetOutMainCntryUIndex(v float64)

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

func (m *Message) SetSideValue1(v float64)

func (*Message) SetSideValue2 added in v0.2.0

func (m *Message) SetSideValue2(v float64)

func (*Message) SetStrikeTime added in v0.2.0

func (m *Message) SetStrikeTime(v time.Time)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTotalNumSecurities added in v0.2.0

func (m *Message) SetTotalNumSecurities(v int)

func (*Message) SetTradeDate added in v0.2.0

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradeType added in v0.2.0

func (m *Message) SetTradeType(v string)

func (*Message) SetWtAverageLiquidity added in v0.2.0

func (m *Message) SetWtAverageLiquidity(v float64)

type NoBidComponents

type NoBidComponents struct {
	//ListID is a non-required field for NoBidComponents.
	ListID *string `fix:"66"`
	//Side is a non-required field for NoBidComponents.
	Side *string `fix:"54"`
	//TradingSessionID is a non-required field for NoBidComponents.
	TradingSessionID *string `fix:"336"`
	//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"`
	//Account is a non-required field for NoBidComponents.
	Account *string `fix:"1"`
}

NoBidComponents is a repeating group in BidRequest

func NewNoBidComponents added in v0.2.0

func NewNoBidComponents() *NoBidComponents

NewNoBidComponents returns an initialized NoBidComponents instance

func (*NoBidComponents) SetAccount added in v0.2.0

func (m *NoBidComponents) SetAccount(v string)

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

func (m *NoBidComponents) SetTradingSessionID(v string)

type NoBidDescriptors

type NoBidDescriptors struct {
	//BidDescriptorType is a non-required field for NoBidDescriptors.
	BidDescriptorType *int `fix:"399"`
	//BidDescriptor is a non-required field for NoBidDescriptors.
	BidDescriptor *string `fix:"400"`
	//SideValueInd is a non-required field for NoBidDescriptors.
	SideValueInd *int `fix:"401"`
	//LiquidityValue is a non-required field for NoBidDescriptors.
	LiquidityValue *float64 `fix:"404"`
	//LiquidityNumSecurities is a non-required field for NoBidDescriptors.
	LiquidityNumSecurities *int `fix:"441"`
	//LiquidityPctLow is a non-required field for NoBidDescriptors.
	LiquidityPctLow *float64 `fix:"402"`
	//LiquidityPctHigh is a non-required field for NoBidDescriptors.
	LiquidityPctHigh *float64 `fix:"403"`
	//EFPTrackingError is a non-required field for NoBidDescriptors.
	EFPTrackingError *float64 `fix:"405"`
	//FairValue is a non-required field for NoBidDescriptors.
	FairValue *float64 `fix:"406"`
	//OutsideIndexPct is a non-required field for NoBidDescriptors.
	OutsideIndexPct *float64 `fix:"407"`
	//ValueOfFutures is a non-required field for NoBidDescriptors.
	ValueOfFutures *float64 `fix:"408"`
}

NoBidDescriptors is a repeating group in BidRequest

func NewNoBidDescriptors added in v0.2.0

func NewNoBidDescriptors() *NoBidDescriptors

NewNoBidDescriptors returns an initialized NoBidDescriptors instance

func (*NoBidDescriptors) SetBidDescriptor added in v0.2.0

func (m *NoBidDescriptors) SetBidDescriptor(v string)

func (*NoBidDescriptors) SetBidDescriptorType added in v0.2.0

func (m *NoBidDescriptors) SetBidDescriptorType(v int)

func (*NoBidDescriptors) SetEFPTrackingError added in v0.2.0

func (m *NoBidDescriptors) SetEFPTrackingError(v float64)

func (*NoBidDescriptors) SetFairValue added in v0.2.0

func (m *NoBidDescriptors) SetFairValue(v float64)

func (*NoBidDescriptors) SetLiquidityNumSecurities added in v0.2.0

func (m *NoBidDescriptors) SetLiquidityNumSecurities(v int)

func (*NoBidDescriptors) SetLiquidityPctHigh added in v0.2.0

func (m *NoBidDescriptors) SetLiquidityPctHigh(v float64)

func (*NoBidDescriptors) SetLiquidityPctLow added in v0.2.0

func (m *NoBidDescriptors) SetLiquidityPctLow(v float64)

func (*NoBidDescriptors) SetLiquidityValue added in v0.2.0

func (m *NoBidDescriptors) SetLiquidityValue(v float64)

func (*NoBidDescriptors) SetOutsideIndexPct added in v0.2.0

func (m *NoBidDescriptors) SetOutsideIndexPct(v float64)

func (*NoBidDescriptors) SetSideValueInd added in v0.2.0

func (m *NoBidDescriptors) SetSideValueInd(v int)

func (*NoBidDescriptors) SetValueOfFutures added in v0.2.0

func (m *NoBidDescriptors) SetValueOfFutures(v float64)

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