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: 6 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"`
	fixt11.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"`
	//TotNoRelatedSym is a required field for BidRequest.
	TotNoRelatedSym 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"`
	//BidDescReqGrp is a non-required component for BidRequest.
	BidDescReqGrp *biddescreqgrp.BidDescReqGrp
	//BidCompReqGrp is a non-required component for BidRequest.
	BidCompReqGrp *bidcompreqgrp.BidCompReqGrp
	//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"`
	//BidTradeType is a required field for BidRequest.
	BidTradeType 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"`
	fixt11.Trailer
}

Message is a BidRequest FIX Message

func New added in v0.2.0

func New(clientbidid string, bidrequesttranstype string, totnorelatedsym int, bidtype int, bidtradetype 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) SetBidCompReqGrp added in v0.2.0

func (m *Message) SetBidCompReqGrp(v bidcompreqgrp.BidCompReqGrp)

func (*Message) SetBidDescReqGrp added in v0.2.0

func (m *Message) SetBidDescReqGrp(v biddescreqgrp.BidDescReqGrp)

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

func (m *Message) SetBidTradeType(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) 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) SetTotNoRelatedSym added in v0.2.0

func (m *Message) SetTotNoRelatedSym(v int)

func (*Message) SetTradeDate added in v0.2.0

func (m *Message) SetTradeDate(v string)

func (*Message) SetWtAverageLiquidity added in v0.2.0

func (m *Message) SetWtAverageLiquidity(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