ioi

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

Documentation

Overview

Package ioi msg type = 6.

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:"6"`
	fix44.Header
	//IOIID is a required field for IOI.
	IOIID string `fix:"23"`
	//IOITransType is a required field for IOI.
	IOITransType string `fix:"28"`
	//IOIRefID is a non-required field for IOI.
	IOIRefID *string `fix:"26"`
	//Instrument is a required component for IOI.
	instrument.Instrument
	//FinancingDetails is a non-required component for IOI.
	FinancingDetails *financingdetails.FinancingDetails
	//NoUnderlyings is a non-required field for IOI.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//Side is a required field for IOI.
	Side string `fix:"54"`
	//QtyType is a non-required field for IOI.
	QtyType *int `fix:"854"`
	//OrderQtyData is a non-required component for IOI.
	OrderQtyData *orderqtydata.OrderQtyData
	//IOIQty is a required field for IOI.
	IOIQty string `fix:"27"`
	//Currency is a non-required field for IOI.
	Currency *string `fix:"15"`
	//Stipulations is a non-required component for IOI.
	Stipulations *stipulations.Stipulations
	//NoLegs is a non-required field for IOI.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//PriceType is a non-required field for IOI.
	PriceType *int `fix:"423"`
	//Price is a non-required field for IOI.
	Price *float64 `fix:"44"`
	//ValidUntilTime is a non-required field for IOI.
	ValidUntilTime *time.Time `fix:"62"`
	//IOIQltyInd is a non-required field for IOI.
	IOIQltyInd *string `fix:"25"`
	//IOINaturalFlag is a non-required field for IOI.
	IOINaturalFlag *bool `fix:"130"`
	//NoIOIQualifiers is a non-required field for IOI.
	NoIOIQualifiers []NoIOIQualifiers `fix:"199,omitempty"`
	//Text is a non-required field for IOI.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for IOI.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for IOI.
	EncodedText *string `fix:"355"`
	//TransactTime is a non-required field for IOI.
	TransactTime *time.Time `fix:"60"`
	//URLLink is a non-required field for IOI.
	URLLink *string `fix:"149"`
	//NoRoutingIDs is a non-required field for IOI.
	NoRoutingIDs []NoRoutingIDs `fix:"215,omitempty"`
	//SpreadOrBenchmarkCurveData is a non-required component for IOI.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//YieldData is a non-required component for IOI.
	YieldData *yielddata.YieldData
	fix44.Trailer
}

Message is a IOI FIX Message

func New added in v0.2.0

func New(ioiid string, ioitranstype string, instrument instrument.Instrument, side string, ioiqty string) *Message

New returns an initialized IOI instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

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

func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)

func (*Message) SetIOIID added in v0.2.0

func (m *Message) SetIOIID(v string)

func (*Message) SetIOINaturalFlag added in v0.2.0

func (m *Message) SetIOINaturalFlag(v bool)

func (*Message) SetIOIQltyInd added in v0.2.0

func (m *Message) SetIOIQltyInd(v string)

func (*Message) SetIOIQty added in v0.2.0

func (m *Message) SetIOIQty(v string)

func (*Message) SetIOIRefID added in v0.2.0

func (m *Message) SetIOIRefID(v string)

func (*Message) SetIOITransType added in v0.2.0

func (m *Message) SetIOITransType(v string)

func (*Message) SetInstrument added in v0.2.0

func (m *Message) SetInstrument(v instrument.Instrument)

func (*Message) SetNoIOIQualifiers added in v0.2.0

func (m *Message) SetNoIOIQualifiers(v []NoIOIQualifiers)

func (*Message) SetNoLegs added in v0.2.0

func (m *Message) SetNoLegs(v []NoLegs)

func (*Message) SetNoRoutingIDs added in v0.2.0

func (m *Message) SetNoRoutingIDs(v []NoRoutingIDs)

func (*Message) SetNoUnderlyings added in v0.2.0

func (m *Message) SetNoUnderlyings(v []NoUnderlyings)

func (*Message) SetOrderQtyData added in v0.2.0

func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)

func (*Message) SetPrice added in v0.2.0

func (m *Message) SetPrice(v float64)

func (*Message) SetPriceType added in v0.2.0

func (m *Message) SetPriceType(v int)

func (*Message) SetQtyType added in v0.2.0

func (m *Message) SetQtyType(v int)

func (*Message) SetSide added in v0.2.0

func (m *Message) SetSide(v string)

func (*Message) SetSpreadOrBenchmarkCurveData added in v0.2.0

func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)

func (*Message) SetStipulations added in v0.2.0

func (m *Message) SetStipulations(v stipulations.Stipulations)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTransactTime added in v0.2.0

func (m *Message) SetTransactTime(v time.Time)
func (m *Message) SetURLLink(v string)

func (*Message) SetValidUntilTime added in v0.2.0

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

func (*Message) SetYieldData added in v0.2.0

func (m *Message) SetYieldData(v yielddata.YieldData)

type NoIOIQualifiers

type NoIOIQualifiers struct {
	//IOIQualifier is a non-required field for NoIOIQualifiers.
	IOIQualifier *string `fix:"104"`
}

NoIOIQualifiers is a repeating group in IOI

func NewNoIOIQualifiers added in v0.2.0

func NewNoIOIQualifiers() *NoIOIQualifiers

NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance

func (*NoIOIQualifiers) SetIOIQualifier added in v0.2.0

func (m *NoIOIQualifiers) SetIOIQualifier(v string)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
	//LegIOIQty is a non-required field for NoLegs.
	LegIOIQty *string `fix:"682"`
	//LegStipulations is a non-required component for NoLegs.
	LegStipulations *legstipulations.LegStipulations
}

NoLegs is a repeating group in IOI

func NewNoLegs added in v0.2.0

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg added in v0.2.0

func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)

func (*NoLegs) SetLegIOIQty added in v0.2.0

func (m *NoLegs) SetLegIOIQty(v string)

func (*NoLegs) SetLegStipulations added in v0.2.0

func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations)

type NoRoutingIDs

type NoRoutingIDs struct {
	//RoutingType is a non-required field for NoRoutingIDs.
	RoutingType *int `fix:"216"`
	//RoutingID is a non-required field for NoRoutingIDs.
	RoutingID *string `fix:"217"`
}

NoRoutingIDs is a repeating group in IOI

func NewNoRoutingIDs added in v0.2.0

func NewNoRoutingIDs() *NoRoutingIDs

NewNoRoutingIDs returns an initialized NoRoutingIDs instance

func (*NoRoutingIDs) SetRoutingID added in v0.2.0

func (m *NoRoutingIDs) SetRoutingID(v string)

func (*NoRoutingIDs) SetRoutingType added in v0.2.0

func (m *NoRoutingIDs) SetRoutingType(v int)

type NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
}

NoUnderlyings is a repeating group in IOI

func NewNoUnderlyings added in v0.2.0

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument added in v0.2.0

func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)

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