massquote

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: 5 Imported by: 0

Documentation

Overview

Package massquote msg type = i.

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:"i"`
	fixt11.Header
	//QuoteReqID is a non-required field for MassQuote.
	QuoteReqID *string `fix:"131"`
	//QuoteID is a required field for MassQuote.
	QuoteID string `fix:"117"`
	//QuoteType is a non-required field for MassQuote.
	QuoteType *int `fix:"537"`
	//QuoteResponseLevel is a non-required field for MassQuote.
	QuoteResponseLevel *int `fix:"301"`
	//Parties is a non-required component for MassQuote.
	Parties *parties.Parties
	//Account is a non-required field for MassQuote.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for MassQuote.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for MassQuote.
	AccountType *int `fix:"581"`
	//DefBidSize is a non-required field for MassQuote.
	DefBidSize *float64 `fix:"293"`
	//DefOfferSize is a non-required field for MassQuote.
	DefOfferSize *float64 `fix:"294"`
	//QuotSetGrp is a required component for MassQuote.
	quotsetgrp.QuotSetGrp
	fixt11.Trailer
}

Message is a MassQuote FIX Message

func New added in v0.2.0

func New(quoteid string, quotsetgrp quotsetgrp.QuotSetGrp) *Message

New returns an initialized MassQuote instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount added in v0.2.0

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType added in v0.2.0

func (m *Message) SetAccountType(v int)

func (*Message) SetAcctIDSource added in v0.2.0

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetDefBidSize added in v0.2.0

func (m *Message) SetDefBidSize(v float64)

func (*Message) SetDefOfferSize added in v0.2.0

func (m *Message) SetDefOfferSize(v float64)

func (*Message) SetParties added in v0.2.0

func (m *Message) SetParties(v parties.Parties)

func (*Message) SetQuotSetGrp added in v0.2.0

func (m *Message) SetQuotSetGrp(v quotsetgrp.QuotSetGrp)

func (*Message) SetQuoteID added in v0.2.0

func (m *Message) SetQuoteID(v string)

func (*Message) SetQuoteReqID added in v0.2.0

func (m *Message) SetQuoteReqID(v string)

func (*Message) SetQuoteResponseLevel added in v0.2.0

func (m *Message) SetQuoteResponseLevel(v int)

func (*Message) SetQuoteType added in v0.2.0

func (m *Message) SetQuoteType(v int)

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