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

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

func (m *Message) SetBasisPxType(v string)

func (*Message) SetBidCompReqGrp

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

func (*Message) SetBidDescReqGrp

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

func (*Message) SetBidID

func (m *Message) SetBidID(v string)

func (*Message) SetBidRequestTransType

func (m *Message) SetBidRequestTransType(v string)

func (*Message) SetBidTradeType

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

func (m *Message) SetTotNoRelatedSym(v int)

func (*Message) SetTradeDate

func (m *Message) SetTradeDate(v string)

func (*Message) SetWtAverageLiquidity

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