newordersingle

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2016 License: Apache-1.1 Imports: 6 Imported by: 0

Documentation

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 NewOrderSingle added in v0.4.0

type NewOrderSingle struct {
	fix40.Header
	quickfix.Body
	fix40.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

NewOrderSingle is the fix40 NewOrderSingle type, MsgType = D

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) NewOrderSingle

FromMessage creates a NewOrderSingle from a quickfix.Message instance

func New added in v0.2.0

func New(clordid field.ClOrdIDField, handlinst field.HandlInstField, symbol field.SymbolField, side field.SideField, orderqty field.OrderQtyField, ordtype field.OrdTypeField) (m NewOrderSingle)

New returns a NewOrderSingle initialized with the required fields for NewOrderSingle

func (NewOrderSingle) GetAccount added in v0.4.0

GetAccount gets Account, Tag 1

func (NewOrderSingle) GetClOrdID added in v0.4.0

GetClOrdID gets ClOrdID, Tag 11

func (NewOrderSingle) GetClientID added in v0.4.0

GetClientID gets ClientID, Tag 109

func (NewOrderSingle) GetCommType added in v0.4.0

GetCommType gets CommType, Tag 13

func (NewOrderSingle) GetCommission added in v0.4.0

func (m NewOrderSingle) GetCommission() (f field.CommissionField, err quickfix.MessageRejectError)

GetCommission gets Commission, Tag 12

func (NewOrderSingle) GetCurrency added in v0.4.0

GetCurrency gets Currency, Tag 15

func (NewOrderSingle) GetExDestination added in v0.4.0

func (m NewOrderSingle) GetExDestination() (f field.ExDestinationField, err quickfix.MessageRejectError)

GetExDestination gets ExDestination, Tag 100

func (NewOrderSingle) GetExecBroker added in v0.4.0

func (m NewOrderSingle) GetExecBroker() (f field.ExecBrokerField, err quickfix.MessageRejectError)

GetExecBroker gets ExecBroker, Tag 76

func (NewOrderSingle) GetExecInst added in v0.4.0

GetExecInst gets ExecInst, Tag 18

func (NewOrderSingle) GetExpireTime added in v0.4.0

func (m NewOrderSingle) GetExpireTime() (f field.ExpireTimeField, err quickfix.MessageRejectError)

GetExpireTime gets ExpireTime, Tag 126

func (NewOrderSingle) GetForexReq added in v0.4.0

GetForexReq gets ForexReq, Tag 121

func (NewOrderSingle) GetFutSettDate added in v0.4.0

func (m NewOrderSingle) GetFutSettDate() (f field.FutSettDateField, err quickfix.MessageRejectError)

GetFutSettDate gets FutSettDate, Tag 64

func (NewOrderSingle) GetHandlInst added in v0.4.0

GetHandlInst gets HandlInst, Tag 21

func (NewOrderSingle) GetIDSource added in v0.4.0

GetIDSource gets IDSource, Tag 22

func (NewOrderSingle) GetIOIid added in v0.4.0

GetIOIid gets IOIid, Tag 23

func (NewOrderSingle) GetIssuer added in v0.4.0

GetIssuer gets Issuer, Tag 106

func (NewOrderSingle) GetLocateReqd added in v0.4.0

func (m NewOrderSingle) GetLocateReqd() (f field.LocateReqdField, err quickfix.MessageRejectError)

GetLocateReqd gets LocateReqd, Tag 114

func (NewOrderSingle) GetMaxFloor added in v0.4.0

GetMaxFloor gets MaxFloor, Tag 111

func (NewOrderSingle) GetMinQty added in v0.4.0

GetMinQty gets MinQty, Tag 110

func (NewOrderSingle) GetOrdType added in v0.4.0

GetOrdType gets OrdType, Tag 40

func (NewOrderSingle) GetOrderQty added in v0.4.0

GetOrderQty gets OrderQty, Tag 38

func (NewOrderSingle) GetPrevClosePx added in v0.4.0

func (m NewOrderSingle) GetPrevClosePx() (f field.PrevClosePxField, err quickfix.MessageRejectError)

GetPrevClosePx gets PrevClosePx, Tag 140

func (NewOrderSingle) GetPrice added in v0.4.0

GetPrice gets Price, Tag 44

func (NewOrderSingle) GetProcessCode added in v0.4.0

func (m NewOrderSingle) GetProcessCode() (f field.ProcessCodeField, err quickfix.MessageRejectError)

GetProcessCode gets ProcessCode, Tag 81

func (NewOrderSingle) GetQuoteID added in v0.4.0

GetQuoteID gets QuoteID, Tag 117

func (NewOrderSingle) GetRule80A added in v0.4.0

GetRule80A gets Rule80A, Tag 47

func (NewOrderSingle) GetSecurityDesc added in v0.4.0

func (m NewOrderSingle) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (NewOrderSingle) GetSecurityID added in v0.4.0

func (m NewOrderSingle) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (NewOrderSingle) GetSettlCurrency added in v0.4.0

func (m NewOrderSingle) GetSettlCurrency() (f field.SettlCurrencyField, err quickfix.MessageRejectError)

GetSettlCurrency gets SettlCurrency, Tag 120

func (NewOrderSingle) GetSettlmntTyp added in v0.4.0

func (m NewOrderSingle) GetSettlmntTyp() (f field.SettlmntTypField, err quickfix.MessageRejectError)

GetSettlmntTyp gets SettlmntTyp, Tag 63

func (NewOrderSingle) GetSide added in v0.4.0

GetSide gets Side, Tag 54

func (NewOrderSingle) GetStopPx added in v0.4.0

GetStopPx gets StopPx, Tag 99

func (NewOrderSingle) GetSymbol added in v0.4.0

GetSymbol gets Symbol, Tag 55

func (NewOrderSingle) GetSymbolSfx added in v0.4.0

GetSymbolSfx gets SymbolSfx, Tag 65

func (NewOrderSingle) GetText added in v0.4.0

GetText gets Text, Tag 58

func (NewOrderSingle) GetTimeInForce added in v0.4.0

func (m NewOrderSingle) GetTimeInForce() (f field.TimeInForceField, err quickfix.MessageRejectError)

GetTimeInForce gets TimeInForce, Tag 59

func (NewOrderSingle) HasAccount added in v0.4.0

func (m NewOrderSingle) HasAccount() bool

HasAccount returns true if Account is present, Tag 1

func (NewOrderSingle) HasClOrdID added in v0.4.0

func (m NewOrderSingle) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11

func (NewOrderSingle) HasClientID added in v0.4.0

func (m NewOrderSingle) HasClientID() bool

HasClientID returns true if ClientID is present, Tag 109

func (NewOrderSingle) HasCommType added in v0.4.0

func (m NewOrderSingle) HasCommType() bool

HasCommType returns true if CommType is present, Tag 13

func (NewOrderSingle) HasCommission added in v0.4.0

func (m NewOrderSingle) HasCommission() bool

HasCommission returns true if Commission is present, Tag 12

func (NewOrderSingle) HasCurrency added in v0.4.0

func (m NewOrderSingle) HasCurrency() bool

HasCurrency returns true if Currency is present, Tag 15

func (NewOrderSingle) HasExDestination added in v0.4.0

func (m NewOrderSingle) HasExDestination() bool

HasExDestination returns true if ExDestination is present, Tag 100

func (NewOrderSingle) HasExecBroker added in v0.4.0

func (m NewOrderSingle) HasExecBroker() bool

HasExecBroker returns true if ExecBroker is present, Tag 76

func (NewOrderSingle) HasExecInst added in v0.4.0

func (m NewOrderSingle) HasExecInst() bool

HasExecInst returns true if ExecInst is present, Tag 18

func (NewOrderSingle) HasExpireTime added in v0.4.0

func (m NewOrderSingle) HasExpireTime() bool

HasExpireTime returns true if ExpireTime is present, Tag 126

func (NewOrderSingle) HasForexReq added in v0.4.0

func (m NewOrderSingle) HasForexReq() bool

HasForexReq returns true if ForexReq is present, Tag 121

func (NewOrderSingle) HasFutSettDate added in v0.4.0

func (m NewOrderSingle) HasFutSettDate() bool

HasFutSettDate returns true if FutSettDate is present, Tag 64

func (NewOrderSingle) HasHandlInst added in v0.4.0

func (m NewOrderSingle) HasHandlInst() bool

HasHandlInst returns true if HandlInst is present, Tag 21

func (NewOrderSingle) HasIDSource added in v0.4.0

func (m NewOrderSingle) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (NewOrderSingle) HasIOIid added in v0.4.0

func (m NewOrderSingle) HasIOIid() bool

HasIOIid returns true if IOIid is present, Tag 23

func (NewOrderSingle) HasIssuer added in v0.4.0

func (m NewOrderSingle) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (NewOrderSingle) HasLocateReqd added in v0.4.0

func (m NewOrderSingle) HasLocateReqd() bool

HasLocateReqd returns true if LocateReqd is present, Tag 114

func (NewOrderSingle) HasMaxFloor added in v0.4.0

func (m NewOrderSingle) HasMaxFloor() bool

HasMaxFloor returns true if MaxFloor is present, Tag 111

func (NewOrderSingle) HasMinQty added in v0.4.0

func (m NewOrderSingle) HasMinQty() bool

HasMinQty returns true if MinQty is present, Tag 110

func (NewOrderSingle) HasOrdType added in v0.4.0

func (m NewOrderSingle) HasOrdType() bool

HasOrdType returns true if OrdType is present, Tag 40

func (NewOrderSingle) HasOrderQty added in v0.4.0

func (m NewOrderSingle) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38

func (NewOrderSingle) HasPrevClosePx added in v0.4.0

func (m NewOrderSingle) HasPrevClosePx() bool

HasPrevClosePx returns true if PrevClosePx is present, Tag 140

func (NewOrderSingle) HasPrice added in v0.4.0

func (m NewOrderSingle) HasPrice() bool

HasPrice returns true if Price is present, Tag 44

func (NewOrderSingle) HasProcessCode added in v0.4.0

func (m NewOrderSingle) HasProcessCode() bool

HasProcessCode returns true if ProcessCode is present, Tag 81

func (NewOrderSingle) HasQuoteID added in v0.4.0

func (m NewOrderSingle) HasQuoteID() bool

HasQuoteID returns true if QuoteID is present, Tag 117

func (NewOrderSingle) HasRule80A added in v0.4.0

func (m NewOrderSingle) HasRule80A() bool

HasRule80A returns true if Rule80A is present, Tag 47

func (NewOrderSingle) HasSecurityDesc added in v0.4.0

func (m NewOrderSingle) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (NewOrderSingle) HasSecurityID added in v0.4.0

func (m NewOrderSingle) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (NewOrderSingle) HasSettlCurrency added in v0.4.0

func (m NewOrderSingle) HasSettlCurrency() bool

HasSettlCurrency returns true if SettlCurrency is present, Tag 120

func (NewOrderSingle) HasSettlmntTyp added in v0.4.0

func (m NewOrderSingle) HasSettlmntTyp() bool

HasSettlmntTyp returns true if SettlmntTyp is present, Tag 63

func (NewOrderSingle) HasSide added in v0.4.0

func (m NewOrderSingle) HasSide() bool

HasSide returns true if Side is present, Tag 54

func (NewOrderSingle) HasStopPx added in v0.4.0

func (m NewOrderSingle) HasStopPx() bool

HasStopPx returns true if StopPx is present, Tag 99

func (NewOrderSingle) HasSymbol added in v0.4.0

func (m NewOrderSingle) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55

func (NewOrderSingle) HasSymbolSfx added in v0.4.0

func (m NewOrderSingle) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (NewOrderSingle) HasText added in v0.4.0

func (m NewOrderSingle) HasText() bool

HasText returns true if Text is present, Tag 58

func (NewOrderSingle) HasTimeInForce added in v0.4.0

func (m NewOrderSingle) HasTimeInForce() bool

HasTimeInForce returns true if TimeInForce is present, Tag 59

func (NewOrderSingle) SetAccount added in v0.4.0

func (m NewOrderSingle) SetAccount(v string)

SetAccount sets Account, Tag 1

func (NewOrderSingle) SetClOrdID added in v0.4.0

func (m NewOrderSingle) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11

func (NewOrderSingle) SetClientID added in v0.4.0

func (m NewOrderSingle) SetClientID(v string)

SetClientID sets ClientID, Tag 109

func (NewOrderSingle) SetCommType added in v0.4.0

func (m NewOrderSingle) SetCommType(v string)

SetCommType sets CommType, Tag 13

func (NewOrderSingle) SetCommission added in v0.4.0

func (m NewOrderSingle) SetCommission(value decimal.Decimal, scale int32)

SetCommission sets Commission, Tag 12

func (NewOrderSingle) SetCurrency added in v0.4.0

func (m NewOrderSingle) SetCurrency(v string)

SetCurrency sets Currency, Tag 15

func (NewOrderSingle) SetExDestination added in v0.4.0

func (m NewOrderSingle) SetExDestination(v string)

SetExDestination sets ExDestination, Tag 100

func (NewOrderSingle) SetExecBroker added in v0.4.0

func (m NewOrderSingle) SetExecBroker(v string)

SetExecBroker sets ExecBroker, Tag 76

func (NewOrderSingle) SetExecInst added in v0.4.0

func (m NewOrderSingle) SetExecInst(v string)

SetExecInst sets ExecInst, Tag 18

func (NewOrderSingle) SetExpireTime added in v0.4.0

func (m NewOrderSingle) SetExpireTime(v time.Time)

SetExpireTime sets ExpireTime, Tag 126

func (NewOrderSingle) SetForexReq added in v0.4.0

func (m NewOrderSingle) SetForexReq(v bool)

SetForexReq sets ForexReq, Tag 121

func (NewOrderSingle) SetFutSettDate added in v0.4.0

func (m NewOrderSingle) SetFutSettDate(v string)

SetFutSettDate sets FutSettDate, Tag 64

func (NewOrderSingle) SetHandlInst added in v0.4.0

func (m NewOrderSingle) SetHandlInst(v string)

SetHandlInst sets HandlInst, Tag 21

func (NewOrderSingle) SetIDSource added in v0.4.0

func (m NewOrderSingle) SetIDSource(v string)

SetIDSource sets IDSource, Tag 22

func (NewOrderSingle) SetIOIid added in v0.4.0

func (m NewOrderSingle) SetIOIid(v string)

SetIOIid sets IOIid, Tag 23

func (NewOrderSingle) SetIssuer added in v0.4.0

func (m NewOrderSingle) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (NewOrderSingle) SetLocateReqd added in v0.4.0

func (m NewOrderSingle) SetLocateReqd(v bool)

SetLocateReqd sets LocateReqd, Tag 114

func (NewOrderSingle) SetMaxFloor added in v0.4.0

func (m NewOrderSingle) SetMaxFloor(value decimal.Decimal, scale int32)

SetMaxFloor sets MaxFloor, Tag 111

func (NewOrderSingle) SetMinQty added in v0.4.0

func (m NewOrderSingle) SetMinQty(value decimal.Decimal, scale int32)

SetMinQty sets MinQty, Tag 110

func (NewOrderSingle) SetOrdType added in v0.4.0

func (m NewOrderSingle) SetOrdType(v string)

SetOrdType sets OrdType, Tag 40

func (NewOrderSingle) SetOrderQty added in v0.4.0

func (m NewOrderSingle) SetOrderQty(value decimal.Decimal, scale int32)

SetOrderQty sets OrderQty, Tag 38

func (NewOrderSingle) SetPrevClosePx added in v0.4.0

func (m NewOrderSingle) SetPrevClosePx(value decimal.Decimal, scale int32)

SetPrevClosePx sets PrevClosePx, Tag 140

func (NewOrderSingle) SetPrice added in v0.4.0

func (m NewOrderSingle) SetPrice(value decimal.Decimal, scale int32)

SetPrice sets Price, Tag 44

func (NewOrderSingle) SetProcessCode added in v0.4.0

func (m NewOrderSingle) SetProcessCode(v string)

SetProcessCode sets ProcessCode, Tag 81

func (NewOrderSingle) SetQuoteID added in v0.4.0

func (m NewOrderSingle) SetQuoteID(v string)

SetQuoteID sets QuoteID, Tag 117

func (NewOrderSingle) SetRule80A added in v0.4.0

func (m NewOrderSingle) SetRule80A(v string)

SetRule80A sets Rule80A, Tag 47

func (NewOrderSingle) SetSecurityDesc added in v0.4.0

func (m NewOrderSingle) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (NewOrderSingle) SetSecurityID added in v0.4.0

func (m NewOrderSingle) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (NewOrderSingle) SetSettlCurrency added in v0.4.0

func (m NewOrderSingle) SetSettlCurrency(v string)

SetSettlCurrency sets SettlCurrency, Tag 120

func (NewOrderSingle) SetSettlmntTyp added in v0.4.0

func (m NewOrderSingle) SetSettlmntTyp(v string)

SetSettlmntTyp sets SettlmntTyp, Tag 63

func (NewOrderSingle) SetSide added in v0.4.0

func (m NewOrderSingle) SetSide(v string)

SetSide sets Side, Tag 54

func (NewOrderSingle) SetStopPx added in v0.4.0

func (m NewOrderSingle) SetStopPx(value decimal.Decimal, scale int32)

SetStopPx sets StopPx, Tag 99

func (NewOrderSingle) SetSymbol added in v0.4.0

func (m NewOrderSingle) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55

func (NewOrderSingle) SetSymbolSfx added in v0.4.0

func (m NewOrderSingle) SetSymbolSfx(v string)

SetSymbolSfx sets SymbolSfx, Tag 65

func (NewOrderSingle) SetText added in v0.4.0

func (m NewOrderSingle) SetText(v string)

SetText sets Text, Tag 58

func (NewOrderSingle) SetTimeInForce added in v0.4.0

func (m NewOrderSingle) SetTimeInForce(v string)

SetTimeInForce sets TimeInForce, Tag 59

func (NewOrderSingle) ToMessage added in v0.4.0

func (m NewOrderSingle) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

type RouteOut func(msg NewOrderSingle, 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