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) SetAccountType(v int)
- func (m *Message) SetAcctIDSource(v int)
- func (m *Message) SetAllocID(v string)
- func (m *Message) SetBookingType(v int)
- func (m *Message) SetBookingUnit(v string)
- func (m *Message) SetCancellationRights(v string)
- func (m *Message) SetCashMargin(v string)
- func (m *Message) SetClOrdID(v string)
- func (m *Message) SetClOrdLinkID(v string)
- func (m *Message) SetClearingFeeIndicator(v string)
- func (m *Message) SetCommissionData(v commissiondata.CommissionData)
- func (m *Message) SetComplianceID(v string)
- func (m *Message) SetCoveredOrUncovered(v int)
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetCustDirectedOrder(v bool)
- func (m *Message) SetCustOrderCapacity(v int)
- func (m *Message) SetCustOrderHandlingInst(v string)
- func (m *Message) SetDayBookingInst(v string)
- func (m *Message) SetDesignation(v string)
- func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions)
- func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction)
- func (m *Message) SetEffectiveTime(v time.Time)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetExDestination(v string)
- func (m *Message) SetExDestinationIDSource(v string)
- func (m *Message) SetExecInst(v string)
- func (m *Message) SetExpireDate(v string)
- func (m *Message) SetExpireTime(v time.Time)
- func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)
- func (m *Message) SetForexReq(v bool)
- func (m *Message) SetGTBookingInst(v int)
- func (m *Message) SetHandlInst(v string)
- func (m *Message) SetIOIID(v string)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetLocateReqd(v bool)
- func (m *Message) SetManualOrderIndicator(v bool)
- func (m *Message) SetMatchIncrement(v float64)
- func (m *Message) SetMaxFloor(v float64)
- func (m *Message) SetMaxPriceLevels(v int)
- func (m *Message) SetMaxShow(v float64)
- func (m *Message) SetMinQty(v float64)
- func (m *Message) SetMoneyLaunderingStatus(v string)
- func (m *Message) SetOrdType(v string)
- func (m *Message) SetOrderCapacity(v string)
- func (m *Message) SetOrderHandlingInstSource(v int)
- func (m *Message) SetOrderQty2(v float64)
- func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)
- func (m *Message) SetOrderRestrictions(v string)
- func (m *Message) SetParticipationRate(v float64)
- func (m *Message) SetParties(v parties.Parties)
- func (m *Message) SetPegInstructions(v peginstructions.PegInstructions)
- func (m *Message) SetPositionEffect(v string)
- func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp)
- func (m *Message) SetPreTradeAnonymity(v bool)
- func (m *Message) SetPreallocMethod(v string)
- func (m *Message) SetPrevClosePx(v float64)
- func (m *Message) SetPrice(v float64)
- func (m *Message) SetPrice2(v float64)
- func (m *Message) SetPriceProtectionScope(v string)
- func (m *Message) SetPriceType(v int)
- func (m *Message) SetProcessCode(v string)
- func (m *Message) SetQtyType(v int)
- func (m *Message) SetQuoteID(v string)
- func (m *Message) SetReceivedDeptID(v string)
- func (m *Message) SetRefOrderID(v string)
- func (m *Message) SetRefOrderIDSource(v string)
- func (m *Message) SetRegistID(v string)
- func (m *Message) SetSecondaryClOrdID(v string)
- func (m *Message) SetSettlCurrency(v string)
- func (m *Message) SetSettlDate(v string)
- func (m *Message) SetSettlDate2(v string)
- func (m *Message) SetSettlType(v string)
- func (m *Message) SetSide(v string)
- func (m *Message) SetSolicitedFlag(v bool)
- func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)
- func (m *Message) SetStipulations(v stipulations.Stipulations)
- func (m *Message) SetStopPx(v float64)
- func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp)
- func (m *Message) SetTargetStrategy(v int)
- func (m *Message) SetTargetStrategyParameters(v string)
- func (m *Message) SetText(v string)
- func (m *Message) SetTimeInForce(v string)
- func (m *Message) SetTradeDate(v string)
- func (m *Message) SetTradeOriginationDate(v string)
- func (m *Message) SetTransactTime(v time.Time)
- func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps)
- func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp)
- func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction)
- func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)
- func (m *Message) SetYieldData(v yielddata.YieldData)
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"D"` fixt11.Header //ClOrdID is a required field for NewOrderSingle. ClOrdID string `fix:"11"` //SecondaryClOrdID is a non-required field for NewOrderSingle. SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderSingle. ClOrdLinkID *string `fix:"583"` //Parties is a non-required component for NewOrderSingle. Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderSingle. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderSingle. TradeDate *string `fix:"75"` //Account is a non-required field for NewOrderSingle. Account *string `fix:"1"` //AcctIDSource is a non-required field for NewOrderSingle. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NewOrderSingle. AccountType *int `fix:"581"` //DayBookingInst is a non-required field for NewOrderSingle. DayBookingInst *string `fix:"589"` //BookingUnit is a non-required field for NewOrderSingle. BookingUnit *string `fix:"590"` //PreallocMethod is a non-required field for NewOrderSingle. PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderSingle. AllocID *string `fix:"70"` //PreAllocGrp is a non-required component for NewOrderSingle. PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NewOrderSingle. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderSingle. SettlDate *string `fix:"64"` //CashMargin is a non-required field for NewOrderSingle. CashMargin *string `fix:"544"` //ClearingFeeIndicator is a non-required field for NewOrderSingle. ClearingFeeIndicator *string `fix:"635"` //HandlInst is a non-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"` //TrdgSesGrp is a non-required component for NewOrderSingle. TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` //Instrument is a required component for NewOrderSingle. instrument.Instrument //FinancingDetails is a non-required component for NewOrderSingle. FinancingDetails *financingdetails.FinancingDetails //UndInstrmtGrp is a non-required component for NewOrderSingle. UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //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"` //Stipulations is a non-required component for NewOrderSingle. Stipulations *stipulations.Stipulations //QtyType is a non-required field for NewOrderSingle. QtyType *int `fix:"854"` //OrderQtyData is a required component for NewOrderSingle. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderSingle. PriceType *int `fix:"423"` //Price is a non-required field for NewOrderSingle. Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` //SpreadOrBenchmarkCurveData is a non-required component for NewOrderSingle. SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //YieldData is a non-required component for NewOrderSingle. YieldData *yielddata.YieldData //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"` //CommissionData is a non-required component for NewOrderSingle. CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderSingle. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderSingle. OrderRestrictions *string `fix:"529"` //CustOrderCapacity is a non-required field for NewOrderSingle. CustOrderCapacity *int `fix:"582"` //ForexReq is a non-required field for NewOrderSingle. ForexReq *bool `fix:"121"` //SettlCurrency is a non-required field for NewOrderSingle. SettlCurrency *string `fix:"120"` //BookingType is a non-required field for NewOrderSingle. BookingType *int `fix:"775"` //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"` //SettlDate2 is a non-required field for NewOrderSingle. SettlDate2 *string `fix:"193"` //OrderQty2 is a non-required field for NewOrderSingle. OrderQty2 *float64 `fix:"192"` //Price2 is a non-required field for NewOrderSingle. Price2 *float64 `fix:"640"` //PositionEffect is a non-required field for NewOrderSingle. PositionEffect *string `fix:"77"` //CoveredOrUncovered is a non-required field for NewOrderSingle. CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderSingle. MaxShow *float64 `fix:"210"` //PegInstructions is a non-required component for NewOrderSingle. PegInstructions *peginstructions.PegInstructions //DiscretionInstructions is a non-required component for NewOrderSingle. DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderSingle. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderSingle. TargetStrategyParameters *string `fix:"848"` //ParticipationRate is a non-required field for NewOrderSingle. ParticipationRate *float64 `fix:"849"` //CancellationRights is a non-required field for NewOrderSingle. CancellationRights *string `fix:"480"` //MoneyLaunderingStatus is a non-required field for NewOrderSingle. MoneyLaunderingStatus *string `fix:"481"` //RegistID is a non-required field for NewOrderSingle. RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderSingle. Designation *string `fix:"494"` //StrategyParametersGrp is a non-required component for NewOrderSingle. StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for NewOrderSingle. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for NewOrderSingle. CustDirectedOrder *bool `fix:"1029"` //ReceivedDeptID is a non-required field for NewOrderSingle. ReceivedDeptID *string `fix:"1030"` //CustOrderHandlingInst is a non-required field for NewOrderSingle. CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for NewOrderSingle. OrderHandlingInstSource *int `fix:"1032"` //TrdRegTimestamps is a non-required component for NewOrderSingle. TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for NewOrderSingle. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderSingle. MaxPriceLevels *int `fix:"1090"` //DisplayInstruction is a non-required component for NewOrderSingle. DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderSingle. PriceProtectionScope *string `fix:"1092"` //TriggeringInstruction is a non-required component for NewOrderSingle. TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for NewOrderSingle. PreTradeAnonymity *bool `fix:"1091"` //RefOrderID is a non-required field for NewOrderSingle. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NewOrderSingle. RefOrderIDSource *string `fix:"1081"` //ExDestinationIDSource is a non-required field for NewOrderSingle. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer }
Message is a NewOrderSingle FIX Message
func New ¶ added in v0.2.0
func New(clordid string, instrument instrument.Instrument, side string, transacttime time.Time, orderqtydata orderqtydata.OrderQtyData, ordtype string) *Message
New returns an initialized NewOrderSingle instance
func (*Message) SetAccount ¶ added in v0.2.0
func (*Message) SetAccountType ¶ added in v0.2.0
func (*Message) SetAcctIDSource ¶ added in v0.2.0
func (*Message) SetAllocID ¶ added in v0.2.0
func (*Message) SetBookingType ¶ added in v0.2.0
func (*Message) SetBookingUnit ¶ added in v0.2.0
func (*Message) SetCancellationRights ¶ added in v0.2.0
func (*Message) SetCashMargin ¶ added in v0.2.0
func (*Message) SetClOrdID ¶ added in v0.2.0
func (*Message) SetClOrdLinkID ¶ added in v0.2.0
func (*Message) SetClearingFeeIndicator ¶ added in v0.2.0
func (*Message) SetCommissionData ¶ added in v0.2.0
func (m *Message) SetCommissionData(v commissiondata.CommissionData)
func (*Message) SetComplianceID ¶ added in v0.2.0
func (*Message) SetCoveredOrUncovered ¶ added in v0.2.0
func (*Message) SetCurrency ¶ added in v0.2.0
func (*Message) SetCustDirectedOrder ¶ added in v0.2.0
func (*Message) SetCustOrderCapacity ¶ added in v0.2.0
func (*Message) SetCustOrderHandlingInst ¶ added in v0.2.0
func (*Message) SetDayBookingInst ¶ added in v0.2.0
func (*Message) SetDesignation ¶ added in v0.2.0
func (*Message) SetDiscretionInstructions ¶ added in v0.2.0
func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions)
func (*Message) SetDisplayInstruction ¶ added in v0.2.0
func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction)
func (*Message) SetEffectiveTime ¶ added in v0.2.0
func (*Message) SetEncodedText ¶ added in v0.2.0
func (*Message) SetEncodedTextLen ¶ added in v0.2.0
func (*Message) SetExDestination ¶ added in v0.2.0
func (*Message) SetExDestinationIDSource ¶ added in v0.2.0
func (*Message) SetExecInst ¶ added in v0.2.0
func (*Message) SetExpireDate ¶ added in v0.2.0
func (*Message) SetExpireTime ¶ added in v0.2.0
func (*Message) SetFinancingDetails ¶ added in v0.2.0
func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)
func (*Message) SetForexReq ¶ added in v0.2.0
func (*Message) SetGTBookingInst ¶ added in v0.2.0
func (*Message) SetHandlInst ¶ added in v0.2.0
func (*Message) SetInstrument ¶ added in v0.2.0
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetLocateReqd ¶ added in v0.2.0
func (*Message) SetManualOrderIndicator ¶ added in v0.2.0
func (*Message) SetMatchIncrement ¶ added in v0.2.0
func (*Message) SetMaxFloor ¶ added in v0.2.0
func (*Message) SetMaxPriceLevels ¶ added in v0.2.0
func (*Message) SetMaxShow ¶ added in v0.2.0
func (*Message) SetMoneyLaunderingStatus ¶ added in v0.2.0
func (*Message) SetOrdType ¶ added in v0.2.0
func (*Message) SetOrderCapacity ¶ added in v0.2.0
func (*Message) SetOrderHandlingInstSource ¶ added in v0.2.0
func (*Message) SetOrderQty2 ¶ added in v0.2.0
func (*Message) SetOrderQtyData ¶ added in v0.2.0
func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)
func (*Message) SetOrderRestrictions ¶ added in v0.2.0
func (*Message) SetParticipationRate ¶ added in v0.2.0
func (*Message) SetParties ¶ added in v0.2.0
func (*Message) SetPegInstructions ¶ added in v0.2.0
func (m *Message) SetPegInstructions(v peginstructions.PegInstructions)
func (*Message) SetPositionEffect ¶ added in v0.2.0
func (*Message) SetPreAllocGrp ¶ added in v0.2.0
func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp)
func (*Message) SetPreTradeAnonymity ¶ added in v0.2.0
func (*Message) SetPreallocMethod ¶ added in v0.2.0
func (*Message) SetPrevClosePx ¶ added in v0.2.0
func (*Message) SetPriceProtectionScope ¶ added in v0.2.0
func (*Message) SetPriceType ¶ added in v0.2.0
func (*Message) SetProcessCode ¶ added in v0.2.0
func (*Message) SetQtyType ¶ added in v0.2.0
func (*Message) SetQuoteID ¶ added in v0.2.0
func (*Message) SetReceivedDeptID ¶ added in v0.2.0
func (*Message) SetRefOrderID ¶ added in v0.2.0
func (*Message) SetRefOrderIDSource ¶ added in v0.2.0
func (*Message) SetRegistID ¶ added in v0.2.0
func (*Message) SetSecondaryClOrdID ¶ added in v0.2.0
func (*Message) SetSettlCurrency ¶ added in v0.2.0
func (*Message) SetSettlDate ¶ added in v0.2.0
func (*Message) SetSettlDate2 ¶ added in v0.2.0
func (*Message) SetSettlType ¶ added in v0.2.0
func (*Message) SetSolicitedFlag ¶ added in v0.2.0
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) SetStrategyParametersGrp ¶ added in v0.2.0
func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp)
func (*Message) SetTargetStrategy ¶ added in v0.2.0
func (*Message) SetTargetStrategyParameters ¶ added in v0.2.0
func (*Message) SetTimeInForce ¶ added in v0.2.0
func (*Message) SetTradeDate ¶ added in v0.2.0
func (*Message) SetTradeOriginationDate ¶ added in v0.2.0
func (*Message) SetTransactTime ¶ added in v0.2.0
func (*Message) SetTrdRegTimestamps ¶ added in v0.2.0
func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps)
func (*Message) SetTrdgSesGrp ¶ added in v0.2.0
func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp)
func (*Message) SetTriggeringInstruction ¶ added in v0.2.0
func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction)
func (*Message) SetUndInstrmtGrp ¶ added in v0.2.0
func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)
func (*Message) SetYieldData ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.