ioi

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: 16 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"`
	fixt11.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
	//UndInstrmtGrp is a non-required component for IOI.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//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
	//InstrmtLegIOIGrp is a non-required component for IOI.
	InstrmtLegIOIGrp *instrmtlegioigrp.InstrmtLegIOIGrp
	//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"`
	//IOIQualGrp is a non-required component for IOI.
	IOIQualGrp *ioiqualgrp.IOIQualGrp
	//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"`
	//RoutingGrp is a non-required component for IOI.
	RoutingGrp *routinggrp.RoutingGrp
	//SpreadOrBenchmarkCurveData is a non-required component for IOI.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//YieldData is a non-required component for IOI.
	YieldData *yielddata.YieldData
	//Parties is a non-required component for IOI.
	Parties *parties.Parties
	//ApplicationSequenceControl is a non-required component for IOI.
	ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl
	fixt11.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) SetApplicationSequenceControl added in v0.2.0

func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl)

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

func (m *Message) SetIOIQualGrp(v ioiqualgrp.IOIQualGrp)

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

func (m *Message) SetInstrmtLegIOIGrp(v instrmtlegioigrp.InstrmtLegIOIGrp)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetOrderQtyData added in v0.2.0

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

func (*Message) SetParties added in v0.2.0

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

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

func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp)

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

func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)

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