securitydefinition

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

Documentation

Overview

Package securitydefinition msg type = d.

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 ClearingBusinessDate

type ClearingBusinessDate struct {
	//LegOptionRatio is a non-required field for ClearingBusinessDate.
	LegOptionRatio *float64 `fix:"1017"`
	//LegPrice is a non-required field for ClearingBusinessDate.
	LegPrice *float64 `fix:"566"`
}

ClearingBusinessDate is a repeating group in SecurityDefinition

func NewClearingBusinessDate added in v0.2.0

func NewClearingBusinessDate() *ClearingBusinessDate

NewClearingBusinessDate returns an initialized ClearingBusinessDate instance

func (*ClearingBusinessDate) SetLegOptionRatio added in v0.2.0

func (m *ClearingBusinessDate) SetLegOptionRatio(v float64)

func (*ClearingBusinessDate) SetLegPrice added in v0.2.0

func (m *ClearingBusinessDate) SetLegPrice(v float64)

type Message

type Message struct {
	FIXMsgType string `fix:"d"`
	fixt11.Header
	//SecurityReqID is a non-required field for SecurityDefinition.
	SecurityReqID *string `fix:"320"`
	//SecurityResponseID is a non-required field for SecurityDefinition.
	SecurityResponseID *string `fix:"322"`
	//SecurityResponseType is a non-required field for SecurityDefinition.
	SecurityResponseType *int `fix:"323"`
	//Instrument is a non-required component for SecurityDefinition.
	Instrument *instrument.Instrument
	//InstrumentExtension is a non-required component for SecurityDefinition.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//UndInstrmtGrp is a non-required component for SecurityDefinition.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//Currency is a non-required field for SecurityDefinition.
	Currency *string `fix:"15"`
	//TradingSessionID is a non-required field for SecurityDefinition.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for SecurityDefinition.
	TradingSessionSubID *string `fix:"625"`
	//Text is a non-required field for SecurityDefinition.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for SecurityDefinition.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for SecurityDefinition.
	EncodedText *string `fix:"355"`
	//InstrmtLegGrp is a non-required component for SecurityDefinition.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//ExpirationCycle is a non-required field for SecurityDefinition.
	ExpirationCycle *int `fix:"827"`
	//RoundLot is a non-required field for SecurityDefinition.
	RoundLot *float64 `fix:"561"`
	//MinTradeVol is a non-required field for SecurityDefinition.
	MinTradeVol *float64 `fix:"562"`
	//SecurityReportID is a non-required field for SecurityDefinition.
	SecurityReportID *int `fix:"964"`
	//ClearingBusinessDate is a non-required field for SecurityDefinition.
	ClearingBusinessDate []ClearingBusinessDate `fix:"715,omitempty"`
	fixt11.Trailer
}

Message is a SecurityDefinition FIX Message

func New added in v0.2.0

func New() *Message

New returns an initialized SecurityDefinition instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetClearingBusinessDate added in v0.2.0

func (m *Message) SetClearingBusinessDate(v []ClearingBusinessDate)

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

func (m *Message) SetExpirationCycle(v int)

func (*Message) SetInstrmtLegGrp added in v0.2.0

func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetInstrumentExtension added in v0.2.0

func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension)

func (*Message) SetMinTradeVol added in v0.2.0

func (m *Message) SetMinTradeVol(v float64)

func (*Message) SetRoundLot added in v0.2.0

func (m *Message) SetRoundLot(v float64)

func (*Message) SetSecurityReportID added in v0.2.0

func (m *Message) SetSecurityReportID(v int)

func (*Message) SetSecurityReqID added in v0.2.0

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityResponseID added in v0.2.0

func (m *Message) SetSecurityResponseID(v string)

func (*Message) SetSecurityResponseType added in v0.2.0

func (m *Message) SetSecurityResponseType(v int)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetUndInstrmtGrp added in v0.2.0

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

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