Documentation ¶
Overview ¶
Package newordersingle msg type = D.
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Message
- func (m Message) Marshal() quickfix.Message
- func (m *Message) SetAccount(v string)
- func (m *Message) SetCashOrderQty(v float64)
- func (m *Message) SetClOrdID(v string)
- func (m *Message) SetClearingAccount(v string)
- func (m *Message) SetClearingFirm(v string)
- func (m *Message) SetClientID(v string)
- func (m *Message) SetCommType(v string)
- func (m *Message) SetCommission(v float64)
- func (m *Message) SetComplianceID(v string)
- func (m *Message) SetContractMultiplier(v float64)
- func (m *Message) SetCouponRate(v float64)
- func (m *Message) SetCoveredOrUncovered(v int)
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetCustomerOrFirm(v int)
- func (m *Message) SetDiscretionInst(v string)
- func (m *Message) SetDiscretionOffset(v float64)
- func (m *Message) SetEffectiveTime(v time.Time)
- func (m *Message) SetEncodedIssuer(v string)
- func (m *Message) SetEncodedIssuerLen(v int)
- func (m *Message) SetEncodedSecurityDesc(v string)
- func (m *Message) SetEncodedSecurityDescLen(v int)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetExDestination(v string)
- func (m *Message) SetExecBroker(v string)
- func (m *Message) SetExecInst(v string)
- func (m *Message) SetExpireDate(v string)
- func (m *Message) SetExpireTime(v time.Time)
- func (m *Message) SetForexReq(v bool)
- func (m *Message) SetFutSettDate(v string)
- func (m *Message) SetFutSettDate2(v string)
- func (m *Message) SetGTBookingInst(v int)
- func (m *Message) SetHandlInst(v string)
- func (m *Message) SetIDSource(v string)
- func (m *Message) SetIOIid(v string)
- func (m *Message) SetIssuer(v string)
- func (m *Message) SetLocateReqd(v bool)
- func (m *Message) SetMaturityDay(v int)
- func (m *Message) SetMaturityMonthYear(v string)
- func (m *Message) SetMaxFloor(v float64)
- func (m *Message) SetMaxShow(v float64)
- func (m *Message) SetMinQty(v float64)
- func (m *Message) SetNoAllocs(v []NoAllocs)
- func (m *Message) SetNoTradingSessions(v []NoTradingSessions)
- func (m *Message) SetOpenClose(v string)
- func (m *Message) SetOptAttribute(v string)
- func (m *Message) SetOrdType(v string)
- func (m *Message) SetOrderQty(v float64)
- func (m *Message) SetOrderQty2(v float64)
- func (m *Message) SetPegDifference(v float64)
- func (m *Message) SetPrevClosePx(v float64)
- func (m *Message) SetPrice(v float64)
- func (m *Message) SetProcessCode(v string)
- func (m *Message) SetPutOrCall(v int)
- func (m *Message) SetQuoteID(v string)
- func (m *Message) SetRule80A(v string)
- func (m *Message) SetSecurityDesc(v string)
- func (m *Message) SetSecurityExchange(v string)
- func (m *Message) SetSecurityID(v string)
- func (m *Message) SetSecurityType(v string)
- func (m *Message) SetSettlCurrency(v string)
- func (m *Message) SetSettlmntTyp(v string)
- func (m *Message) SetSide(v string)
- func (m *Message) SetSolicitedFlag(v bool)
- func (m *Message) SetStopPx(v float64)
- func (m *Message) SetStrikePrice(v float64)
- func (m *Message) SetSymbol(v string)
- func (m *Message) SetSymbolSfx(v string)
- func (m *Message) SetText(v string)
- func (m *Message) SetTimeInForce(v string)
- func (m *Message) SetTransactTime(v time.Time)
- type NoAllocs
- type NoTradingSessions
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"D"` fix42.Header //ClOrdID is a required field for NewOrderSingle. ClOrdID string `fix:"11"` //ClientID is a non-required field for NewOrderSingle. ClientID *string `fix:"109"` //ExecBroker is a non-required field for NewOrderSingle. ExecBroker *string `fix:"76"` //Account is a non-required field for NewOrderSingle. Account *string `fix:"1"` //NoAllocs is a non-required field for NewOrderSingle. NoAllocs []NoAllocs `fix:"78,omitempty"` //SettlmntTyp is a non-required field for NewOrderSingle. SettlmntTyp *string `fix:"63"` //FutSettDate is a non-required field for NewOrderSingle. FutSettDate *string `fix:"64"` //HandlInst is a required field for NewOrderSingle. HandlInst string `fix:"21"` //ExecInst is a non-required field for NewOrderSingle. ExecInst *string `fix:"18"` //MinQty is a non-required field for NewOrderSingle. MinQty *float64 `fix:"110"` //MaxFloor is a non-required field for NewOrderSingle. MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderSingle. ExDestination *string `fix:"100"` //NoTradingSessions is a non-required field for NewOrderSingle. NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` //Symbol is a required field for NewOrderSingle. Symbol string `fix:"55"` //SymbolSfx is a non-required field for NewOrderSingle. SymbolSfx *string `fix:"65"` //SecurityID is a non-required field for NewOrderSingle. SecurityID *string `fix:"48"` //IDSource is a non-required field for NewOrderSingle. IDSource *string `fix:"22"` //SecurityType is a non-required field for NewOrderSingle. SecurityType *string `fix:"167"` //MaturityMonthYear is a non-required field for NewOrderSingle. MaturityMonthYear *string `fix:"200"` //MaturityDay is a non-required field for NewOrderSingle. MaturityDay *int `fix:"205"` //PutOrCall is a non-required field for NewOrderSingle. PutOrCall *int `fix:"201"` //StrikePrice is a non-required field for NewOrderSingle. StrikePrice *float64 `fix:"202"` //OptAttribute is a non-required field for NewOrderSingle. OptAttribute *string `fix:"206"` //ContractMultiplier is a non-required field for NewOrderSingle. ContractMultiplier *float64 `fix:"231"` //CouponRate is a non-required field for NewOrderSingle. CouponRate *float64 `fix:"223"` //SecurityExchange is a non-required field for NewOrderSingle. SecurityExchange *string `fix:"207"` //Issuer is a non-required field for NewOrderSingle. Issuer *string `fix:"106"` //EncodedIssuerLen is a non-required field for NewOrderSingle. EncodedIssuerLen *int `fix:"348"` //EncodedIssuer is a non-required field for NewOrderSingle. EncodedIssuer *string `fix:"349"` //SecurityDesc is a non-required field for NewOrderSingle. SecurityDesc *string `fix:"107"` //EncodedSecurityDescLen is a non-required field for NewOrderSingle. EncodedSecurityDescLen *int `fix:"350"` //EncodedSecurityDesc is a non-required field for NewOrderSingle. EncodedSecurityDesc *string `fix:"351"` //PrevClosePx is a non-required field for NewOrderSingle. PrevClosePx *float64 `fix:"140"` //Side is a required field for NewOrderSingle. Side string `fix:"54"` //LocateReqd is a non-required field for NewOrderSingle. LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderSingle. TransactTime time.Time `fix:"60"` //OrderQty is a non-required field for NewOrderSingle. OrderQty *float64 `fix:"38"` //CashOrderQty is a non-required field for NewOrderSingle. CashOrderQty *float64 `fix:"152"` //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` //Price is a non-required field for NewOrderSingle. Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` //Currency is a non-required field for NewOrderSingle. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderSingle. ComplianceID *string `fix:"376"` //SolicitedFlag is a non-required field for NewOrderSingle. SolicitedFlag *bool `fix:"377"` //IOIid is a non-required field for NewOrderSingle. IOIid *string `fix:"23"` //QuoteID is a non-required field for NewOrderSingle. QuoteID *string `fix:"117"` //TimeInForce is a non-required field for NewOrderSingle. TimeInForce *string `fix:"59"` //EffectiveTime is a non-required field for NewOrderSingle. EffectiveTime *time.Time `fix:"168"` //ExpireDate is a non-required field for NewOrderSingle. ExpireDate *string `fix:"432"` //ExpireTime is a non-required field for NewOrderSingle. ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderSingle. GTBookingInst *int `fix:"427"` //Commission is a non-required field for NewOrderSingle. Commission *float64 `fix:"12"` //CommType is a non-required field for NewOrderSingle. CommType *string `fix:"13"` //Rule80A is a non-required field for NewOrderSingle. Rule80A *string `fix:"47"` //ForexReq is a non-required field for NewOrderSingle. ForexReq *bool `fix:"121"` //SettlCurrency is a non-required field for NewOrderSingle. SettlCurrency *string `fix:"120"` //Text is a non-required field for NewOrderSingle. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NewOrderSingle. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NewOrderSingle. EncodedText *string `fix:"355"` //FutSettDate2 is a non-required field for NewOrderSingle. FutSettDate2 *string `fix:"193"` //OrderQty2 is a non-required field for NewOrderSingle. OrderQty2 *float64 `fix:"192"` //OpenClose is a non-required field for NewOrderSingle. OpenClose *string `fix:"77"` //CoveredOrUncovered is a non-required field for NewOrderSingle. CoveredOrUncovered *int `fix:"203"` //CustomerOrFirm is a non-required field for NewOrderSingle. CustomerOrFirm *int `fix:"204"` //MaxShow is a non-required field for NewOrderSingle. MaxShow *float64 `fix:"210"` //PegDifference is a non-required field for NewOrderSingle. PegDifference *float64 `fix:"211"` //DiscretionInst is a non-required field for NewOrderSingle. DiscretionInst *string `fix:"388"` //DiscretionOffset is a non-required field for NewOrderSingle. DiscretionOffset *float64 `fix:"389"` //ClearingFirm is a non-required field for NewOrderSingle. ClearingFirm *string `fix:"439"` //ClearingAccount is a non-required field for NewOrderSingle. ClearingAccount *string `fix:"440"` fix42.Trailer }
Message is a NewOrderSingle FIX Message
func New ¶
func New(clordid string, handlinst string, symbol string, side string, transacttime time.Time, ordtype string) *Message
New returns an initialized NewOrderSingle instance
func (*Message) SetAccount ¶
func (*Message) SetCashOrderQty ¶
func (*Message) SetClOrdID ¶
func (*Message) SetClearingAccount ¶
func (*Message) SetClearingFirm ¶
func (*Message) SetClientID ¶
func (*Message) SetCommType ¶
func (*Message) SetCommission ¶
func (*Message) SetComplianceID ¶
func (*Message) SetContractMultiplier ¶
func (*Message) SetCouponRate ¶
func (*Message) SetCoveredOrUncovered ¶
func (*Message) SetCurrency ¶
func (*Message) SetCustomerOrFirm ¶
func (*Message) SetDiscretionInst ¶
func (*Message) SetDiscretionOffset ¶
func (*Message) SetEffectiveTime ¶
func (*Message) SetEncodedIssuer ¶
func (*Message) SetEncodedIssuerLen ¶
func (*Message) SetEncodedSecurityDesc ¶
func (*Message) SetEncodedSecurityDescLen ¶
func (*Message) SetEncodedText ¶
func (*Message) SetEncodedTextLen ¶
func (*Message) SetExDestination ¶
func (*Message) SetExecBroker ¶
func (*Message) SetExecInst ¶
func (*Message) SetExpireDate ¶
func (*Message) SetExpireTime ¶
func (*Message) SetForexReq ¶
func (*Message) SetFutSettDate ¶
func (*Message) SetFutSettDate2 ¶
func (*Message) SetGTBookingInst ¶
func (*Message) SetHandlInst ¶
func (*Message) SetIDSource ¶
func (*Message) SetLocateReqd ¶
func (*Message) SetMaturityDay ¶
func (*Message) SetMaturityMonthYear ¶
func (*Message) SetMaxFloor ¶
func (*Message) SetMaxShow ¶
func (*Message) SetNoAllocs ¶
func (*Message) SetNoTradingSessions ¶
func (m *Message) SetNoTradingSessions(v []NoTradingSessions)
func (*Message) SetOpenClose ¶
func (*Message) SetOptAttribute ¶
func (*Message) SetOrdType ¶
func (*Message) SetOrderQty ¶
func (*Message) SetOrderQty2 ¶
func (*Message) SetPegDifference ¶
func (*Message) SetPrevClosePx ¶
func (*Message) SetProcessCode ¶
func (*Message) SetPutOrCall ¶
func (*Message) SetQuoteID ¶
func (*Message) SetRule80A ¶
func (*Message) SetSecurityDesc ¶
func (*Message) SetSecurityExchange ¶
func (*Message) SetSecurityID ¶
func (*Message) SetSecurityType ¶
func (*Message) SetSettlCurrency ¶
func (*Message) SetSettlmntTyp ¶
func (*Message) SetSolicitedFlag ¶
func (*Message) SetStrikePrice ¶
func (*Message) SetSymbolSfx ¶
func (*Message) SetTimeInForce ¶
func (*Message) SetTransactTime ¶
type NoAllocs ¶
type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. AllocAccount *string `fix:"79"` AllocShares *float64 `fix:"80"` }
NoAllocs is a repeating group in NewOrderSingle
func NewNoAllocs ¶
func NewNoAllocs() *NoAllocs
NewNoAllocs returns an initialized NoAllocs instance
func (*NoAllocs) SetAllocAccount ¶
func (*NoAllocs) SetAllocShares ¶
type NoTradingSessions ¶
type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. TradingSessionID *string `fix:"336"` }
NoTradingSessions is a repeating group in NewOrderSingle
func NewNoTradingSessions ¶
func NewNoTradingSessions() *NoTradingSessions
NewNoTradingSessions returns an initialized NoTradingSessions instance
func (*NoTradingSessions) SetTradingSessionID ¶
func (m *NoTradingSessions) SetTradingSessionID(v string)
Click to show internal directories.
Click to hide internal directories.