bidrequest

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: 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

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

func (m *Message) SetBasisPxType(v string)

func (*Message) SetBidID

func (m *Message) SetBidID(v string)

func (*Message) SetBidRequestTransType

func (m *Message) SetBidRequestTransType(v string)

func (*Message) SetBidType

func (m *Message) SetBidType(v int)

func (*Message) SetClientBidID

func (m *Message) SetClientBidID(v string)

func (*Message) SetCrossPercent

func (m *Message) SetCrossPercent(v float64)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetExchangeForPhysical

func (m *Message) SetExchangeForPhysical(v bool)

func (*Message) SetForexReq

func (m *Message) SetForexReq(v bool)

func (*Message) SetIncTaxInd

func (m *Message) SetIncTaxInd(v int)

func (*Message) SetLiquidityIndType

func (m *Message) SetLiquidityIndType(v int)

func (*Message) SetListName

func (m *Message) SetListName(v string)

func (*Message) SetNoBidComponents

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

func (*Message) SetNoBidDescriptors

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

func (*Message) SetNumBidders

func (m *Message) SetNumBidders(v int)

func (*Message) SetNumTickets

func (m *Message) SetNumTickets(v int)

func (*Message) SetOutMainCntryUIndex

func (m *Message) SetOutMainCntryUIndex(v float64)

func (*Message) SetProgPeriodInterval

func (m *Message) SetProgPeriodInterval(v int)

func (*Message) SetProgRptReqs

func (m *Message) SetProgRptReqs(v int)

func (*Message) SetSideValue1

func (m *Message) SetSideValue1(v float64)

func (*Message) SetSideValue2

func (m *Message) SetSideValue2(v float64)

func (*Message) SetStrikeTime

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

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotalNumSecurities

func (m *Message) SetTotalNumSecurities(v int)

func (*Message) SetTradeDate

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradeType

func (m *Message) SetTradeType(v string)

func (*Message) SetWtAverageLiquidity

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

func NewNoBidComponents() *NoBidComponents

NewNoBidComponents returns an initialized NoBidComponents instance

func (*NoBidComponents) SetAccount

func (m *NoBidComponents) SetAccount(v string)

func (*NoBidComponents) SetFutSettDate

func (m *NoBidComponents) SetFutSettDate(v string)

func (*NoBidComponents) SetListID

func (m *NoBidComponents) SetListID(v string)

func (*NoBidComponents) SetNetGrossInd

func (m *NoBidComponents) SetNetGrossInd(v int)

func (*NoBidComponents) SetSettlmntTyp

func (m *NoBidComponents) SetSettlmntTyp(v string)

func (*NoBidComponents) SetSide

func (m *NoBidComponents) SetSide(v string)

func (*NoBidComponents) SetTradingSessionID

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

func NewNoBidDescriptors() *NoBidDescriptors

NewNoBidDescriptors returns an initialized NoBidDescriptors instance

func (*NoBidDescriptors) SetBidDescriptor

func (m *NoBidDescriptors) SetBidDescriptor(v string)

func (*NoBidDescriptors) SetBidDescriptorType

func (m *NoBidDescriptors) SetBidDescriptorType(v int)

func (*NoBidDescriptors) SetEFPTrackingError

func (m *NoBidDescriptors) SetEFPTrackingError(v float64)

func (*NoBidDescriptors) SetFairValue

func (m *NoBidDescriptors) SetFairValue(v float64)

func (*NoBidDescriptors) SetLiquidityNumSecurities

func (m *NoBidDescriptors) SetLiquidityNumSecurities(v int)

func (*NoBidDescriptors) SetLiquidityPctHigh

func (m *NoBidDescriptors) SetLiquidityPctHigh(v float64)

func (*NoBidDescriptors) SetLiquidityPctLow

func (m *NoBidDescriptors) SetLiquidityPctLow(v float64)

func (*NoBidDescriptors) SetLiquidityValue

func (m *NoBidDescriptors) SetLiquidityValue(v float64)

func (*NoBidDescriptors) SetOutsideIndexPct

func (m *NoBidDescriptors) SetOutsideIndexPct(v float64)

func (*NoBidDescriptors) SetSideValueInd

func (m *NoBidDescriptors) SetSideValueInd(v int)

func (*NoBidDescriptors) SetValueOfFutures

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