From 8bddd0b6d94bca5ad31d06f99ea78310505667f4 Mon Sep 17 00:00:00 2001 From: Chris Busbey Date: Sat, 19 Mar 2016 13:33:27 -0700 Subject: [PATCH] generate new for components --- _gen/generate-components/main.go | 113 ++++++--------- _gen/generate-messages/main.go | 73 ++-------- _gen/helpers.go | 129 +++++++++++++++++- datadictionary/build.go | 14 +- datadictionary/datadictionary.go | 56 +++++++- fix43/commissiondata/CommissionData.go | 5 + fix43/instrument/Instrument.go | 5 + fix43/instrumentleg/InstrumentLeg.go | 5 + fix43/nestedparties/NestedParties.go | 5 + fix43/orderqtydata/OrderQtyData.go | 5 + fix43/parties/Parties.go | 5 + .../SpreadOrBenchmarkCurveData.go | 5 + fix43/stipulations/Stipulations.go | 5 + .../UnderlyingInstrument.go | 5 + fix43/yielddata/YieldData.go | 5 + fix44/commissiondata/CommissionData.go | 5 + .../DiscretionInstructions.go | 5 + fix44/financingdetails/FinancingDetails.go | 5 + fix44/instrument/Instrument.go | 5 + .../InstrumentExtension.go | 5 + fix44/instrumentleg/InstrumentLeg.go | 5 + .../LegBenchmarkCurveData.go | 5 + fix44/legstipulations/LegStipulations.go | 5 + fix44/nestedparties/NestedParties.go | 5 + fix44/nestedparties2/NestedParties2.go | 5 + fix44/nestedparties3/NestedParties3.go | 5 + fix44/orderqtydata/OrderQtyData.go | 5 + fix44/parties/Parties.go | 5 + fix44/peginstructions/PegInstructions.go | 5 + .../positionamountdata/PositionAmountData.go | 5 + fix44/positionqty/PositionQty.go | 5 + .../SettlInstructionsData.go | 5 + fix44/settlparties/SettlParties.go | 5 + .../SpreadOrBenchmarkCurveData.go | 5 + fix44/stipulations/Stipulations.go | 5 + fix44/trdregtimestamps/TrdRegTimestamps.go | 5 + .../UnderlyingInstrument.go | 5 + .../UnderlyingStipulations.go | 5 + fix44/yielddata/YieldData.go | 5 + fix50/affectedordgrp/AffectedOrdGrp.go | 5 + fix50/allocackgrp/AllocAckGrp.go | 5 + fix50/allocgrp/AllocGrp.go | 5 + fix50/attrbgrp/AttrbGrp.go | 5 + fix50/bidcompreqgrp/BidCompReqGrp.go | 5 + fix50/bidcomprspgrp/BidCompRspGrp.go | 6 + fix50/biddescreqgrp/BidDescReqGrp.go | 5 + fix50/clrinstgrp/ClrInstGrp.go | 5 + fix50/collinqqualgrp/CollInqQualGrp.go | 5 + fix50/commissiondata/CommissionData.go | 5 + fix50/compidreqgrp/CompIDReqGrp.go | 5 + fix50/compidstatgrp/CompIDStatGrp.go | 6 + fix50/contamtgrp/ContAmtGrp.go | 5 + fix50/contragrp/ContraGrp.go | 5 + fix50/cpctyconfgrp/CpctyConfGrp.go | 6 + .../DiscretionInstructions.go | 5 + .../displayinstruction/DisplayInstruction.go | 5 + fix50/dlvyinstgrp/DlvyInstGrp.go | 5 + fix50/evntgrp/EvntGrp.go | 5 + fix50/execallocgrp/ExecAllocGrp.go | 5 + fix50/execcollgrp/ExecCollGrp.go | 5 + fix50/execsgrp/ExecsGrp.go | 5 + fix50/expirationqty/ExpirationQty.go | 5 + fix50/financingdetails/FinancingDetails.go | 5 + fix50/hopgrp/HopGrp.go | 5 + fix50/instrmtgrp/InstrmtGrp.go | 5 + fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go | 5 + fix50/instrmtleggrp/InstrmtLegGrp.go | 5 + fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go | 5 + .../InstrmtLegSecListGrp.go | 5 + fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go | 6 + fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 6 + fix50/instrument/Instrument.go | 5 + .../InstrumentExtension.go | 5 + fix50/instrumentleg/InstrumentLeg.go | 5 + fix50/instrumentparties/InstrumentParties.go | 5 + .../InstrumentPtysSubGrp.go | 5 + fix50/ioiqualgrp/IOIQualGrp.go | 5 + .../LegBenchmarkCurveData.go | 5 + fix50/legordgrp/LegOrdGrp.go | 6 + fix50/legpreallocgrp/LegPreAllocGrp.go | 5 + fix50/legquotgrp/LegQuotGrp.go | 5 + fix50/legquotstatgrp/LegQuotStatGrp.go | 5 + fix50/legsecaltidgrp/LegSecAltIDGrp.go | 5 + fix50/legstipulations/LegStipulations.go | 5 + fix50/linesoftextgrp/LinesOfTextGrp.go | 6 + fix50/listordgrp/ListOrdGrp.go | 6 + fix50/mdfullgrp/MDFullGrp.go | 6 + fix50/mdincgrp/MDIncGrp.go | 6 + fix50/mdreqgrp/MDReqGrp.go | 6 + fix50/mdrjctgrp/MDRjctGrp.go | 5 + fix50/miscfeesgrp/MiscFeesGrp.go | 5 + fix50/msgtypegrp/MsgTypeGrp.go | 5 + fix50/nestedparties/NestedParties.go | 5 + fix50/nestedparties2/NestedParties2.go | 5 + fix50/nestedparties3/NestedParties3.go | 5 + fix50/nstdptys2subgrp/NstdPtys2SubGrp.go | 5 + fix50/nstdptys3subgrp/NstdPtys3SubGrp.go | 5 + fix50/nstdptyssubgrp/NstdPtysSubGrp.go | 5 + fix50/ordallocgrp/OrdAllocGrp.go | 5 + fix50/orderqtydata/OrderQtyData.go | 5 + fix50/ordliststatgrp/OrdListStatGrp.go | 6 + fix50/parties/Parties.go | 5 + fix50/peginstructions/PegInstructions.go | 5 + .../positionamountdata/PositionAmountData.go | 5 + fix50/positionqty/PositionQty.go | 5 + fix50/posundinstrmtgrp/PosUndInstrmtGrp.go | 5 + fix50/preallocgrp/PreAllocGrp.go | 5 + fix50/preallocmleggrp/PreAllocMlegGrp.go | 5 + fix50/ptyssubgrp/PtysSubGrp.go | 5 + fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go | 5 + fix50/quotentryackgrp/QuotEntryAckGrp.go | 5 + fix50/quotentrygrp/QuotEntryGrp.go | 6 + fix50/quotqualgrp/QuotQualGrp.go | 5 + fix50/quotreqgrp/QuotReqGrp.go | 6 + fix50/quotreqlegsgrp/QuotReqLegsGrp.go | 5 + fix50/quotreqrjctgrp/QuotReqRjctGrp.go | 6 + fix50/quotsetackgrp/QuotSetAckGrp.go | 5 + fix50/quotsetgrp/QuotSetGrp.go | 6 + fix50/relsymderivsecgrp/RelSymDerivSecGrp.go | 5 + fix50/rfqreqgrp/RFQReqGrp.go | 6 + fix50/rgstdistinstgrp/RgstDistInstGrp.go | 5 + fix50/rgstdtlsgrp/RgstDtlsGrp.go | 5 + fix50/rootparties/RootParties.go | 5 + fix50/rootsubparties/RootSubParties.go | 5 + fix50/routinggrp/RoutingGrp.go | 5 + fix50/secaltidgrp/SecAltIDGrp.go | 5 + fix50/seclistgrp/SecListGrp.go | 5 + .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 5 + .../SecLstUpdRelSymsLegGrp.go | 5 + fix50/sectypesgrp/SecTypesGrp.go | 5 + fix50/settlinstgrp/SettlInstGrp.go | 5 + .../SettlInstructionsData.go | 5 + fix50/settlparties/SettlParties.go | 5 + fix50/settlptyssubgrp/SettlPtysSubGrp.go | 5 + .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 6 + .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 6 + fix50/sidetrdregts/SideTrdRegTS.go | 5 + .../SpreadOrBenchmarkCurveData.go | 5 + fix50/stipulations/Stipulations.go | 5 + .../StrategyParametersGrp.go | 5 + fix50/trdallocgrp/TrdAllocGrp.go | 5 + fix50/trdcapdtgrp/TrdCapDtGrp.go | 5 + .../TrdCapRptAckSideGrp.go | 6 + fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go | 6 + fix50/trdcollgrp/TrdCollGrp.go | 5 + fix50/trdgsesgrp/TrdgSesGrp.go | 5 + fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 5 + fix50/trdregtimestamps/TrdRegTimestamps.go | 5 + fix50/trdsesslstgrp/TrdSessLstGrp.go | 6 + .../TriggeringInstruction.go | 5 + fix50/underlyingamount/UnderlyingAmount.go | 5 + .../UnderlyingInstrument.go | 5 + .../UnderlyingStipulations.go | 5 + fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go | 5 + fix50/undinstrmtgrp/UndInstrmtGrp.go | 5 + .../UndInstrmtStrkPxGrp.go | 5 + .../UndlyInstrumentParties.go | 5 + .../UndlyInstrumentPtysSubGrp.go | 5 + fix50/undsecaltidgrp/UndSecAltIDGrp.go | 5 + fix50/yielddata/YieldData.go | 5 + fix50sp1/affectedordgrp/AffectedOrdGrp.go | 5 + fix50sp1/allocackgrp/AllocAckGrp.go | 5 + fix50sp1/allocgrp/AllocGrp.go | 5 + .../ApplicationSequenceControl.go | 5 + fix50sp1/applidreportgrp/ApplIDReportGrp.go | 5 + .../ApplIDRequestAckGrp.go | 5 + fix50sp1/applidrequestgrp/ApplIDRequestGrp.go | 5 + fix50sp1/attrbgrp/AttrbGrp.go | 5 + fix50sp1/basetradingrules/BaseTradingRules.go | 5 + fix50sp1/bidcompreqgrp/BidCompReqGrp.go | 5 + fix50sp1/bidcomprspgrp/BidCompRspGrp.go | 6 + fix50sp1/biddescreqgrp/BidDescReqGrp.go | 5 + fix50sp1/clrinstgrp/ClrInstGrp.go | 5 + fix50sp1/collinqqualgrp/CollInqQualGrp.go | 5 + fix50sp1/commissiondata/CommissionData.go | 5 + fix50sp1/compidreqgrp/CompIDReqGrp.go | 5 + fix50sp1/compidstatgrp/CompIDStatGrp.go | 6 + fix50sp1/contamtgrp/ContAmtGrp.go | 5 + fix50sp1/contragrp/ContraGrp.go | 5 + fix50sp1/cpctyconfgrp/CpctyConfGrp.go | 6 + .../DerivativeEventsGrp.go | 5 + .../DerivativeInstrument.go | 5 + .../DerivativeInstrumentAttribute.go | 5 + .../DerivativeInstrumentParties.go | 5 + .../DerivativeInstrumentPartySubIDsGrp.go | 5 + .../DerivativeSecurityAltIDGrp.go | 5 + .../DerivativeSecurityDefinition.go | 5 + .../DerivativeSecurityXML.go | 5 + .../DiscretionInstructions.go | 5 + .../displayinstruction/DisplayInstruction.go | 5 + fix50sp1/dlvyinstgrp/DlvyInstGrp.go | 5 + fix50sp1/evntgrp/EvntGrp.go | 5 + fix50sp1/execallocgrp/ExecAllocGrp.go | 5 + fix50sp1/execcollgrp/ExecCollGrp.go | 5 + fix50sp1/execinstrules/ExecInstRules.go | 5 + fix50sp1/expirationqty/ExpirationQty.go | 5 + fix50sp1/fillsgrp/FillsGrp.go | 5 + fix50sp1/financingdetails/FinancingDetails.go | 5 + fix50sp1/hopgrp/HopGrp.go | 5 + fix50sp1/instrmtgrp/InstrmtGrp.go | 5 + .../instrmtlegexecgrp/InstrmtLegExecGrp.go | 5 + fix50sp1/instrmtleggrp/InstrmtLegGrp.go | 5 + fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go | 5 + .../InstrmtLegSecListGrp.go | 5 + fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go | 6 + fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 6 + fix50sp1/instrument/Instrument.go | 5 + .../InstrumentExtension.go | 5 + fix50sp1/instrumentleg/InstrumentLeg.go | 5 + .../instrumentparties/InstrumentParties.go | 5 + .../InstrumentPtysSubGrp.go | 5 + fix50sp1/ioiqualgrp/IOIQualGrp.go | 5 + .../LegBenchmarkCurveData.go | 5 + fix50sp1/legordgrp/LegOrdGrp.go | 6 + fix50sp1/legpreallocgrp/LegPreAllocGrp.go | 5 + fix50sp1/legquotgrp/LegQuotGrp.go | 5 + fix50sp1/legquotstatgrp/LegQuotStatGrp.go | 5 + fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go | 5 + fix50sp1/legstipulations/LegStipulations.go | 5 + fix50sp1/linesoftextgrp/LinesOfTextGrp.go | 6 + fix50sp1/listordgrp/ListOrdGrp.go | 6 + fix50sp1/lottyperules/LotTypeRules.go | 5 + .../MarketDataFeedTypes.go | 5 + fix50sp1/marketsegmentgrp/MarketSegmentGrp.go | 5 + fix50sp1/matchrules/MatchRules.go | 5 + fix50sp1/maturityrules/MaturityRules.go | 5 + fix50sp1/mdfullgrp/MDFullGrp.go | 6 + fix50sp1/mdincgrp/MDIncGrp.go | 6 + fix50sp1/mdreqgrp/MDReqGrp.go | 6 + fix50sp1/mdrjctgrp/MDRjctGrp.go | 5 + fix50sp1/miscfeesgrp/MiscFeesGrp.go | 5 + fix50sp1/msgtypegrp/MsgTypeGrp.go | 5 + .../NestedInstrumentAttribute.go | 5 + fix50sp1/nestedparties/NestedParties.go | 5 + fix50sp1/nestedparties2/NestedParties2.go | 5 + fix50sp1/nestedparties3/NestedParties3.go | 5 + fix50sp1/nestedparties4/NestedParties4.go | 5 + .../NotAffectedOrdersGrp.go | 5 + fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go | 5 + fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go | 5 + fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go | 5 + fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go | 5 + fix50sp1/ordallocgrp/OrdAllocGrp.go | 5 + fix50sp1/orderqtydata/OrderQtyData.go | 5 + fix50sp1/ordliststatgrp/OrdListStatGrp.go | 6 + fix50sp1/ordtyperules/OrdTypeRules.go | 5 + fix50sp1/parties/Parties.go | 5 + fix50sp1/peginstructions/PegInstructions.go | 5 + .../positionamountdata/PositionAmountData.go | 5 + fix50sp1/positionqty/PositionQty.go | 5 + fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go | 5 + fix50sp1/preallocgrp/PreAllocGrp.go | 5 + fix50sp1/preallocmleggrp/PreAllocMlegGrp.go | 5 + fix50sp1/pricelimits/PriceLimits.go | 5 + fix50sp1/ptyssubgrp/PtysSubGrp.go | 5 + .../quotcxlentriesgrp/QuotCxlEntriesGrp.go | 5 + fix50sp1/quotentryackgrp/QuotEntryAckGrp.go | 5 + fix50sp1/quotentrygrp/QuotEntryGrp.go | 6 + fix50sp1/quotqualgrp/QuotQualGrp.go | 5 + fix50sp1/quotreqgrp/QuotReqGrp.go | 6 + fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go | 5 + fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go | 6 + fix50sp1/quotsetackgrp/QuotSetAckGrp.go | 5 + fix50sp1/quotsetgrp/QuotSetGrp.go | 6 + .../relsymderivsecgrp/RelSymDerivSecGrp.go | 5 + .../RelSymDerivSecUpdGrp.go | 5 + fix50sp1/rfqreqgrp/RFQReqGrp.go | 6 + fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go | 5 + fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go | 5 + fix50sp1/rootparties/RootParties.go | 5 + fix50sp1/rootsubparties/RootSubParties.go | 5 + fix50sp1/routinggrp/RoutingGrp.go | 5 + fix50sp1/secaltidgrp/SecAltIDGrp.go | 5 + fix50sp1/seclistgrp/SecListGrp.go | 5 + .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 5 + .../SecLstUpdRelSymsLegGrp.go | 5 + .../SecondaryPriceLimits.go | 5 + fix50sp1/secsizesgrp/SecSizesGrp.go | 5 + fix50sp1/sectypesgrp/SecTypesGrp.go | 5 + .../SecurityTradingRules.go | 5 + fix50sp1/securityxml/SecurityXML.go | 5 + fix50sp1/settldetails/SettlDetails.go | 5 + fix50sp1/settlinstgrp/SettlInstGrp.go | 5 + .../SettlInstructionsData.go | 5 + .../SettlObligationInstructions.go | 5 + fix50sp1/settlparties/SettlParties.go | 5 + fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go | 5 + .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 6 + .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 6 + fix50sp1/sidetrdregts/SideTrdRegTS.go | 5 + .../SpreadOrBenchmarkCurveData.go | 5 + fix50sp1/statsindgrp/StatsIndGrp.go | 5 + fix50sp1/stipulations/Stipulations.go | 5 + .../StrategyParametersGrp.go | 5 + fix50sp1/strikerules/StrikeRules.go | 5 + fix50sp1/tickrules/TickRules.go | 5 + fix50sp1/timeinforcerules/TimeInForceRules.go | 5 + .../TradeCapLegUnderlyingsGrp.go | 5 + .../TradingSessionRules.go | 5 + .../TradingSessionRulesGrp.go | 5 + fix50sp1/trdallocgrp/TrdAllocGrp.go | 5 + fix50sp1/trdcapdtgrp/TrdCapDtGrp.go | 5 + .../TrdCapRptAckSideGrp.go | 6 + fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go | 6 + fix50sp1/trdcollgrp/TrdCollGrp.go | 5 + fix50sp1/trdgsesgrp/TrdgSesGrp.go | 5 + fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 5 + fix50sp1/trdregtimestamps/TrdRegTimestamps.go | 5 + .../TrdRepIndicatorsGrp.go | 5 + fix50sp1/trdsesslstgrp/TrdSessLstGrp.go | 6 + .../TriggeringInstruction.go | 5 + fix50sp1/underlyingamount/UnderlyingAmount.go | 5 + .../UnderlyingInstrument.go | 5 + .../UnderlyingLegInstrument.go | 5 + .../UnderlyingLegSecurityAltIDGrp.go | 5 + .../UnderlyingStipulations.go | 5 + .../undinstrmtcollgrp/UndInstrmtCollGrp.go | 5 + fix50sp1/undinstrmtgrp/UndInstrmtGrp.go | 5 + .../UndlyInstrumentParties.go | 5 + .../UndlyInstrumentPtysSubGrp.go | 5 + fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go | 5 + fix50sp1/usernamegrp/UsernameGrp.go | 5 + fix50sp1/yielddata/YieldData.go | 5 + fix50sp2/affectedordgrp/AffectedOrdGrp.go | 5 + fix50sp2/allocackgrp/AllocAckGrp.go | 5 + fix50sp2/allocgrp/AllocGrp.go | 5 + fix50sp2/altptyssubgrp/AltPtysSubGrp.go | 5 + .../ApplicationSequenceControl.go | 5 + fix50sp2/applidreportgrp/ApplIDReportGrp.go | 5 + .../ApplIDRequestAckGrp.go | 5 + fix50sp2/applidrequestgrp/ApplIDRequestGrp.go | 5 + fix50sp2/attrbgrp/AttrbGrp.go | 5 + fix50sp2/basetradingrules/BaseTradingRules.go | 5 + fix50sp2/bidcompreqgrp/BidCompReqGrp.go | 5 + fix50sp2/bidcomprspgrp/BidCompRspGrp.go | 6 + fix50sp2/biddescreqgrp/BidDescReqGrp.go | 5 + fix50sp2/clrinstgrp/ClrInstGrp.go | 5 + fix50sp2/collinqqualgrp/CollInqQualGrp.go | 5 + fix50sp2/commissiondata/CommissionData.go | 5 + fix50sp2/compidreqgrp/CompIDReqGrp.go | 5 + fix50sp2/compidstatgrp/CompIDStatGrp.go | 6 + .../complexeventdates/ComplexEventDates.go | 5 + fix50sp2/complexevents/ComplexEvents.go | 5 + .../complexeventtimes/ComplexEventTimes.go | 5 + fix50sp2/contamtgrp/ContAmtGrp.go | 5 + fix50sp2/contextparties/ContextParties.go | 5 + .../contextptyssubgrp/ContextPtysSubGrp.go | 5 + fix50sp2/contragrp/ContraGrp.go | 5 + fix50sp2/cpctyconfgrp/CpctyConfGrp.go | 6 + .../DerivativeEventsGrp.go | 5 + .../DerivativeInstrument.go | 5 + .../DerivativeInstrumentAttribute.go | 5 + .../DerivativeInstrumentParties.go | 5 + .../DerivativeInstrumentPartySubIDsGrp.go | 5 + .../DerivativeSecurityAltIDGrp.go | 5 + .../DerivativeSecurityDefinition.go | 5 + .../DerivativeSecurityXML.go | 5 + .../DiscretionInstructions.go | 5 + .../displayinstruction/DisplayInstruction.go | 5 + fix50sp2/dlvyinstgrp/DlvyInstGrp.go | 5 + fix50sp2/evntgrp/EvntGrp.go | 5 + fix50sp2/execallocgrp/ExecAllocGrp.go | 5 + fix50sp2/execcollgrp/ExecCollGrp.go | 5 + fix50sp2/execinstrules/ExecInstRules.go | 5 + fix50sp2/expirationqty/ExpirationQty.go | 5 + fix50sp2/fillsgrp/FillsGrp.go | 5 + fix50sp2/financingdetails/FinancingDetails.go | 5 + fix50sp2/hopgrp/HopGrp.go | 5 + fix50sp2/instrmtgrp/InstrmtGrp.go | 5 + .../instrmtlegexecgrp/InstrmtLegExecGrp.go | 5 + fix50sp2/instrmtleggrp/InstrmtLegGrp.go | 5 + fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go | 5 + .../InstrmtLegSecListGrp.go | 5 + fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go | 6 + fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 6 + fix50sp2/instrument/Instrument.go | 5 + .../InstrumentExtension.go | 5 + fix50sp2/instrumentleg/InstrumentLeg.go | 5 + .../instrumentparties/InstrumentParties.go | 5 + .../InstrumentPtysSubGrp.go | 5 + fix50sp2/ioiqualgrp/IOIQualGrp.go | 5 + .../LegBenchmarkCurveData.go | 5 + fix50sp2/legordgrp/LegOrdGrp.go | 6 + fix50sp2/legpreallocgrp/LegPreAllocGrp.go | 5 + fix50sp2/legquotgrp/LegQuotGrp.go | 5 + fix50sp2/legquotstatgrp/LegQuotStatGrp.go | 5 + fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go | 5 + fix50sp2/legstipulations/LegStipulations.go | 5 + fix50sp2/linesoftextgrp/LinesOfTextGrp.go | 6 + fix50sp2/listordgrp/ListOrdGrp.go | 6 + fix50sp2/lottyperules/LotTypeRules.go | 5 + .../MarketDataFeedTypes.go | 5 + fix50sp2/marketsegmentgrp/MarketSegmentGrp.go | 5 + fix50sp2/matchrules/MatchRules.go | 5 + fix50sp2/maturityrules/MaturityRules.go | 5 + fix50sp2/mdfullgrp/MDFullGrp.go | 6 + fix50sp2/mdincgrp/MDIncGrp.go | 6 + fix50sp2/mdreqgrp/MDReqGrp.go | 6 + fix50sp2/mdrjctgrp/MDRjctGrp.go | 5 + fix50sp2/miscfeesgrp/MiscFeesGrp.go | 5 + fix50sp2/msgtypegrp/MsgTypeGrp.go | 5 + .../NestedInstrumentAttribute.go | 5 + fix50sp2/nestedparties/NestedParties.go | 5 + fix50sp2/nestedparties2/NestedParties2.go | 5 + fix50sp2/nestedparties3/NestedParties3.go | 5 + fix50sp2/nestedparties4/NestedParties4.go | 5 + fix50sp2/newsrefgrp/NewsRefGrp.go | 5 + .../NotAffectedOrdersGrp.go | 5 + fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go | 5 + fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go | 5 + fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go | 5 + fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go | 5 + fix50sp2/ordallocgrp/OrdAllocGrp.go | 5 + fix50sp2/orderqtydata/OrderQtyData.go | 5 + fix50sp2/ordliststatgrp/OrdListStatGrp.go | 6 + fix50sp2/ordtyperules/OrdTypeRules.go | 5 + fix50sp2/parties/Parties.go | 5 + fix50sp2/partyaltids/PartyAltIDs.go | 5 + fix50sp2/partydetail/PartyDetail.go | 8 ++ fix50sp2/partylistgrp/PartyListGrp.go | 5 + .../PartyListResponseTypeGrp.go | 6 + .../partyrelationships/PartyRelationships.go | 5 + fix50sp2/peginstructions/PegInstructions.go | 5 + .../positionamountdata/PositionAmountData.go | 5 + fix50sp2/positionqty/PositionQty.go | 5 + fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go | 5 + fix50sp2/preallocgrp/PreAllocGrp.go | 5 + fix50sp2/preallocmleggrp/PreAllocMlegGrp.go | 5 + fix50sp2/pricelimits/PriceLimits.go | 5 + fix50sp2/ptyssubgrp/PtysSubGrp.go | 5 + .../quotcxlentriesgrp/QuotCxlEntriesGrp.go | 5 + fix50sp2/quotentryackgrp/QuotEntryAckGrp.go | 5 + fix50sp2/quotentrygrp/QuotEntryGrp.go | 6 + fix50sp2/quotqualgrp/QuotQualGrp.go | 5 + fix50sp2/quotreqgrp/QuotReqGrp.go | 6 + fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go | 5 + fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go | 6 + fix50sp2/quotsetackgrp/QuotSetAckGrp.go | 5 + fix50sp2/quotsetgrp/QuotSetGrp.go | 6 + fix50sp2/ratesource/RateSource.go | 5 + .../RelatedAltPtysSubGrp.go | 5 + .../RelatedContextParties.go | 5 + .../RelatedContextPtysSubGrp.go | 5 + .../relatedpartyaltids/RelatedPartyAltIDs.go | 5 + .../relatedpartydetail/RelatedPartyDetail.go | 5 + fix50sp2/relatedpartygrp/RelatedPartyGrp.go | 5 + .../relatedptyssubgrp/RelatedPtysSubGrp.go | 5 + .../RelationshipRiskInstrumentScope.go | 5 + .../RelationshipRiskLimits.go | 5 + .../RelationshipRiskSecAltIDGrp.go | 5 + .../RelationshipRiskWarningLevels.go | 5 + .../relsymderivsecgrp/RelSymDerivSecGrp.go | 5 + .../RelSymDerivSecUpdGrp.go | 5 + .../RequestedPartyRoleGrp.go | 5 + fix50sp2/rfqreqgrp/RFQReqGrp.go | 6 + fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go | 5 + fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go | 5 + .../RiskInstrumentScope.go | 5 + fix50sp2/risklimits/RiskLimits.go | 5 + fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go | 5 + .../riskwarninglevels/RiskWarningLevels.go | 5 + fix50sp2/rootparties/RootParties.go | 5 + fix50sp2/rootsubparties/RootSubParties.go | 5 + fix50sp2/routinggrp/RoutingGrp.go | 5 + fix50sp2/secaltidgrp/SecAltIDGrp.go | 5 + fix50sp2/seclistgrp/SecListGrp.go | 5 + .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 5 + .../SecLstUpdRelSymsLegGrp.go | 5 + .../SecondaryPriceLimits.go | 5 + fix50sp2/secsizesgrp/SecSizesGrp.go | 5 + fix50sp2/sectypesgrp/SecTypesGrp.go | 5 + .../SecurityTradingRules.go | 5 + fix50sp2/securityxml/SecurityXML.go | 5 + fix50sp2/settldetails/SettlDetails.go | 5 + fix50sp2/settlinstgrp/SettlInstGrp.go | 5 + .../SettlInstructionsData.go | 5 + .../SettlObligationInstructions.go | 5 + fix50sp2/settlparties/SettlParties.go | 5 + fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go | 5 + .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 6 + .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 6 + fix50sp2/sidetrdregts/SideTrdRegTS.go | 5 + .../SpreadOrBenchmarkCurveData.go | 5 + fix50sp2/statsindgrp/StatsIndGrp.go | 5 + fix50sp2/stipulations/Stipulations.go | 5 + .../StrategyParametersGrp.go | 5 + fix50sp2/strikerules/StrikeRules.go | 5 + fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go | 5 + .../StrmAsgnReqInstrmtGrp.go | 5 + fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go | 5 + .../StrmAsgnRptInstrmtGrp.go | 5 + fix50sp2/targetparties/TargetParties.go | 5 + fix50sp2/tickrules/TickRules.go | 5 + fix50sp2/timeinforcerules/TimeInForceRules.go | 5 + .../TradeCapLegUnderlyingsGrp.go | 5 + .../TradeReportOrderDetail.go | 5 + .../TradingSessionRules.go | 5 + .../TradingSessionRulesGrp.go | 5 + fix50sp2/trdallocgrp/TrdAllocGrp.go | 5 + fix50sp2/trdcapdtgrp/TrdCapDtGrp.go | 5 + .../TrdCapRptAckSideGrp.go | 6 + fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go | 6 + fix50sp2/trdcollgrp/TrdCollGrp.go | 5 + fix50sp2/trdgsesgrp/TrdgSesGrp.go | 5 + fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 5 + fix50sp2/trdregtimestamps/TrdRegTimestamps.go | 5 + .../TrdRepIndicatorsGrp.go | 5 + fix50sp2/trdsesslstgrp/TrdSessLstGrp.go | 6 + .../TriggeringInstruction.go | 5 + fix50sp2/underlyingamount/UnderlyingAmount.go | 5 + .../UnderlyingInstrument.go | 5 + .../UnderlyingLegInstrument.go | 5 + .../UnderlyingLegSecurityAltIDGrp.go | 5 + .../UnderlyingStipulations.go | 5 + .../undinstrmtcollgrp/UndInstrmtCollGrp.go | 5 + fix50sp2/undinstrmtgrp/UndInstrmtGrp.go | 5 + .../UndlyInstrumentParties.go | 5 + .../UndlyInstrumentPtysSubGrp.go | 5 + fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go | 5 + fix50sp2/usernamegrp/UsernameGrp.go | 5 + fix50sp2/yielddata/YieldData.go | 5 + fixt11/hopgrp/HopGrp.go | 5 + fixt11/msgtypegrp/MsgTypeGrp.go | 5 + 523 files changed, 2895 insertions(+), 150 deletions(-) diff --git a/_gen/generate-components/main.go b/_gen/generate-components/main.go index 99df78639..46c30dad1 100644 --- a/_gen/generate-components/main.go +++ b/_gen/generate-components/main.go @@ -16,7 +16,6 @@ import ( var ( pkg string fixSpec *datadictionary.DataDictionary - imports map[string]bool ) func usage() { @@ -33,26 +32,6 @@ func initPackage() { } } -func packageString() (s string) { - s = fmt.Sprintf("package %v\n", pkg) - return -} - -func genComponentImports() (fileOut string) { - - if len(imports) == 0 { - return - } - - fileOut += "import(\n" - for i := range imports { - fileOut += fmt.Sprintf("\"%v\"\n", i) - } - fileOut += ")\n" - - return -} - type group struct { parent string field *datadictionary.FieldDef @@ -74,28 +53,10 @@ func collectGroups(parent string, part datadictionary.MessagePart, groups []grou return groups } -func writeFieldDeclaration(part datadictionary.MessagePart, componentName string) string { - switch field := part.(type) { - case datadictionary.Component: - imports[fmt.Sprintf("github.com/quickfixgo/quickfix/%v/%v", pkg, strings.ToLower(field.Name()))] = true - case *datadictionary.FieldDef: - if !field.IsGroup() { - goType := gen.FixFieldTypeToGoType(field.Type) - if goType == "time.Time" { - imports["time"] = true - } - } - } - - return gen.WriteFieldDeclaration(fixSpec.Major, fixSpec.Minor, part, componentName) -} - func genGroupDeclaration(field *datadictionary.FieldDef, parent string) (fileOut string) { fileOut += fmt.Sprintf("//%v is a repeating group in %v\n", field.Name(), parent) fileOut += fmt.Sprintf("type %v struct {\n", field.Name()) - for _, groupField := range field.Parts { - fileOut += writeFieldDeclaration(groupField, field.Name()) - } + fileOut += gen.WriteFieldDeclarations(fixSpec.Major, fixSpec.Minor, field.Parts, field.Name()) fileOut += "}\n" @@ -116,22 +77,22 @@ func genGroupDeclarations(name string, fields []datadictionary.MessagePart) (fil } func genHeader(header *datadictionary.MessageDef) { - imports = make(map[string]bool) - - //delay field output to determine imports - delayOut := genGroupDeclarations("Header", header.Parts) - delayOut += fmt.Sprintf("//Header is the %v Header type\n", pkg) - delayOut += "type Header struct {\n" - for _, field := range header.Parts { - delayOut += writeFieldDeclaration(field, "Header") + writer := new(bytes.Buffer) + if err := gen.WritePackage(writer, pkg); err != nil { + panic(err) + } + if err := gen.WriteComponentImports(writer, pkg, header.Parts); err != nil { + panic(err) } - delayOut += "}\n" - fileOut := packageString() - fileOut += genComponentImports() - fileOut += delayOut + fileOut := writer.String() + fileOut += genGroupDeclarations("Header", header.Parts) + fileOut += fmt.Sprintf("//Header is the %v Header type\n", pkg) + fileOut += "type Header struct {\n" + fileOut += gen.WriteFieldDeclarations(fixSpec.Major, fixSpec.Minor, header.Parts, "Header") + fileOut += "}\n" - writer := new(bytes.Buffer) + writer = new(bytes.Buffer) if err := gen.WriteFieldSetters(writer, "Header", header.Parts); err != nil { panic(err) } @@ -141,16 +102,21 @@ func genHeader(header *datadictionary.MessageDef) { } func genTrailer(trailer *datadictionary.MessageDef) { - imports = make(map[string]bool) - fileOut := packageString() + writer := new(bytes.Buffer) + if err := gen.WritePackage(writer, pkg); err != nil { + panic(err) + } + if err := gen.WriteComponentImports(writer, pkg, trailer.Parts); err != nil { + panic(err) + } + fileOut := writer.String() + fileOut += fmt.Sprintf("//Trailer is the %v Trailer type\n", pkg) fileOut += "type Trailer struct {\n" - for _, field := range trailer.Parts { - fileOut += writeFieldDeclaration(field, "Trailer") - } + fileOut += gen.WriteFieldDeclarations(fixSpec.Major, fixSpec.Minor, trailer.Parts, "Trailer") fileOut += "}\n" - writer := new(bytes.Buffer) + writer = new(bytes.Buffer) if err := gen.WriteFieldSetters(writer, "Trailer", trailer.Parts); err != nil { panic(err) } @@ -160,21 +126,24 @@ func genTrailer(trailer *datadictionary.MessageDef) { } func genComponent(name string, component *datadictionary.ComponentType) { - imports = make(map[string]bool) - - //delay output to determine imports - delayOut := genGroupDeclarations(name, component.Parts) - delayOut += fmt.Sprintf("//%v is a %v Component\n", name, pkg) - delayOut += fmt.Sprintf("type %v struct {\n", name) - for _, field := range component.Parts { - delayOut += writeFieldDeclaration(field, name) + writer := new(bytes.Buffer) + if err := gen.WritePackage(writer, strings.ToLower(name)); err != nil { + panic(err) + } + if err := gen.WriteComponentImports(writer, pkg, component.Parts()); err != nil { + panic(err) } - delayOut += "}\n" - fileOut := fmt.Sprintf("package %v\n", strings.ToLower(name)) - fileOut += genComponentImports() - fileOut += delayOut + if err := gen.WriteNewComponent(writer, *component); err != nil { + panic(err) + } + fileOut := writer.String() + fileOut += genGroupDeclarations(name, component.Parts()) + fileOut += fmt.Sprintf("//%v is a %v Component\n", name, pkg) + fileOut += fmt.Sprintf("type %v struct {\n", name) + fileOut += gen.WriteFieldDeclarations(fixSpec.Major, fixSpec.Minor, component.Parts(), name) + fileOut += "}\n" fileOut += genComponentSetters(component) gen.WriteFile(path.Join(pkg, strings.ToLower(name), name+".go"), fileOut) @@ -182,7 +151,7 @@ func genComponent(name string, component *datadictionary.ComponentType) { func genComponentSetters(component *datadictionary.ComponentType) string { writer := new(bytes.Buffer) - if err := gen.WriteFieldSetters(writer, component.Name(), component.Parts); err != nil { + if err := gen.WriteFieldSetters(writer, component.Name(), component.Parts()); err != nil { panic(err) } diff --git a/_gen/generate-messages/main.go b/_gen/generate-messages/main.go index c62e01622..2071fd728 100644 --- a/_gen/generate-messages/main.go +++ b/_gen/generate-messages/main.go @@ -18,7 +18,6 @@ var ( pkg string fixSpec *datadictionary.DataDictionary sortedMsgTypes []string - imports map[string]bool ) func usage() { @@ -41,43 +40,10 @@ func genMessages() { } } -func genMessageImports() string { - fileOut := ` -import( - "github.com/quickfixgo/quickfix" - "github.com/quickfixgo/quickfix/enum" -` - fileOut += fmt.Sprintf("\"github.com/quickfixgo/quickfix/%v\"\n", headerTrailerPkg()) - - for i := range imports { - fileOut += fmt.Sprintf("\"%v\"\n", i) - } - fileOut += ")\n" - return fileOut -} - -func writeFieldDeclaration(part datadictionary.MessagePart, componentName string) string { - switch field := part.(type) { - case datadictionary.Component: - imports[fmt.Sprintf("github.com/quickfixgo/quickfix/%v/%v", pkg, strings.ToLower(field.Name()))] = true - case *datadictionary.FieldDef: - if !field.IsGroup() { - goType := gen.FixFieldTypeToGoType(field.Type) - if goType == "time.Time" { - imports["time"] = true - } - } - } - - return gen.WriteFieldDeclaration(fixSpec.Major, fixSpec.Minor, part, componentName) -} - func genGroupDeclaration(field *datadictionary.FieldDef, parent string) (fileOut string) { fileOut += fmt.Sprintf("//%v is a repeating group in %v\n", field.Name(), parent) fileOut += fmt.Sprintf("type %v struct {\n", field.Name()) - for _, groupField := range field.Parts { - fileOut += writeFieldDeclaration(groupField, field.Name()) - } + fileOut += gen.WriteFieldDeclarations(fixSpec.Major, fixSpec.Minor, field.Parts, field.Name()) fileOut += "}\n" @@ -125,24 +91,13 @@ func genGroupDeclarations(msg *datadictionary.MessageDef) (fileOut string) { return } -func headerTrailerPkg() string { - switch pkg { - case "fix50", "fix50sp1", "fix50sp2": - return "fixt11" - } - - return pkg -} - func genMessage(msg *datadictionary.MessageDef) string { fileOut := fmt.Sprintf("//Message is a %v FIX Message\n", msg.Name) fileOut += "type Message struct {\n" fileOut += fmt.Sprintf("FIXMsgType string `fix:\"%v\"`\n", msg.MsgType) - fileOut += fmt.Sprintf("%v.Header\n", headerTrailerPkg()) - for _, field := range msg.Parts { - fileOut += writeFieldDeclaration(field, msg.Name) - } - fileOut += fmt.Sprintf("%v.Trailer\n", headerTrailerPkg()) + fileOut += fmt.Sprintf("%v.Header\n", gen.HeaderTrailerPkg(pkg)) + fileOut += gen.WriteFieldDeclarations(fixSpec.Major, fixSpec.Minor, msg.Parts, msg.Name) + fileOut += fmt.Sprintf("%v.Trailer\n", gen.HeaderTrailerPkg(pkg)) fileOut += "}\n" fileOut += "//Marshal converts Message to a quickfix.Message instance\n" fileOut += "func (m Message) Marshal() quickfix.Message {return quickfix.Marshal(m)}\n" @@ -192,18 +147,18 @@ func Route(router RouteOut) (string,string,quickfix.MessageRoute) { func genMessagePkg(msg *datadictionary.MessageDef) { pkgName := strings.ToLower(msg.Name) - imports = make(map[string]bool) - fileOut := fmt.Sprintf("//Package %v msg type = %v.\n", pkgName, msg.MsgType) - fileOut += fmt.Sprintf("package %v\n", pkgName) - //run through group and message declarations to collect required imports first - delayOut := "" - delayOut += genGroupDeclarations(msg) - delayOut += genMessage(msg) - - fileOut += genMessageImports() - fileOut += delayOut + writer := new(bytes.Buffer) + if err := gen.WritePackage(writer, pkgName); err != nil { + panic(err) + } + if err := gen.WriteMessageImports(writer, pkg, msg.Parts); err != nil { + panic(err) + } + fileOut += writer.String() + fileOut += genGroupDeclarations(msg) + fileOut += genMessage(msg) fileOut += genMessageSetters(msg) fileOut += genMessageRoute(msg) diff --git a/_gen/helpers.go b/_gen/helpers.go index 7e8c0b780..6ecaa1bfd 100644 --- a/_gen/helpers.go +++ b/_gen/helpers.go @@ -10,15 +10,42 @@ import ( "github.com/quickfixgo/quickfix/datadictionary" ) -var fieldSetterTemplate *template.Template +var genTemplate *template.Template func init() { tmplFuncs := template.FuncMap{ "fixFieldTypeToGoType": FixFieldTypeToGoType, "toLower": strings.ToLower, + "partAsGoType": partAsGoType, } - fieldSetterTemplate = template.Must(template.New("Setters").Funcs(tmplFuncs).Parse(` + genTemplate = template.Must(template.New("Setters").Funcs(tmplFuncs).Parse(` + {{/* template writes out the package */}} + {{define "package"}}package {{.}} + {{end}} + + {{/* template writes out appropriate imports for message/component */}} + {{define "imports"}} +import ({{ range .}} + "{{.}}" +{{- end }} +) + {{ end}} + + {{/* template writes out a constructor for message/component/group */}} + {{define "new"}} +func New( + {{- range $index, $field := .RequiredParts -}} +{{if $index}},{{end}}{{toLower $field.Name}} {{partAsGoType $field}} + {{- end }}) *{{.Name}} { + var m {{.Name}} + {{- range .RequiredFields}} + m.Set{{.Name}}({{toLower .Name}}) + {{- end}} + return &m +} + {{end}} + {{define "fieldSetter"}} func (m *{{.Receiver}}) Set{{.Name}}(v {{ if .IsGroup}}[]{{.Name}}{{else}}{{fixFieldTypeToGoType .Type}}{{end}}) { {{- if .IsGroup -}}m.{{.Name}} = v @@ -33,6 +60,10 @@ func (m *{{.Receiver}}) Set{{.Name}}(v {{toLower .Name}}.{{ .Name}}) { {{- end}}}{{end}}`)) } +func WriteNewComponent(writer io.Writer, comp datadictionary.ComponentType) error { + return genTemplate.ExecuteTemplate(writer, "new", comp) +} + //WriteFieldSetters generates setters appropriate for Messages, Components or Repeating Groups func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary.MessagePart) error { type setter struct { @@ -48,11 +79,11 @@ func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary for _, part := range parts { switch field := part.(type) { case datadictionary.Component: - if err := fieldSetterTemplate.ExecuteTemplate(writer, "compSetter", componentSetter{receiver, field}); err != nil { + if err := genTemplate.ExecuteTemplate(writer, "compSetter", componentSetter{receiver, field}); err != nil { return err } case *datadictionary.FieldDef: - if err := fieldSetterTemplate.ExecuteTemplate(writer, "fieldSetter", setter{receiver, field}); err != nil { + if err := genTemplate.ExecuteTemplate(writer, "fieldSetter", setter{receiver, field}); err != nil { return err } } @@ -61,7 +92,78 @@ func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary return nil } -func WriteFieldDeclaration(fixSpecMajor int, fixSpecMinor int, part datadictionary.MessagePart, componentName string) (s string) { +func HeaderTrailerPkg(pkg string) string { + switch pkg { + case "fix50", "fix50sp1", "fix50sp2": + return "fixt11" + } + + return pkg +} + +func WritePackage(writer io.Writer, pkg string) error { + return genTemplate.ExecuteTemplate(writer, "package", pkg) +} + +func WriteMessageImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error { + imports := []string{ + "github.com/quickfixgo/quickfix", + "github.com/quickfixgo/quickfix/enum", + fmt.Sprintf("github.com/quickfixgo/quickfix/%v", HeaderTrailerPkg(pkg)), + } + return writeImports(writer, pkg, imports, parts) +} + +func WriteComponentImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error { + return writeImports(writer, pkg, nil, parts) +} + +func writeImports(writer io.Writer, pkg string, imports []string, parts []datadictionary.MessagePart) error { + importMap := make(map[string]interface{}) + for _, part := range parts { + collectRequiredImports(importMap, pkg, part) + } + + if len(imports) == 0 && len(importMap) == 0 { + return nil + } + + for ip := range importMap { + imports = append(imports, ip) + } + + return genTemplate.ExecuteTemplate(writer, "imports", imports) +} + +func collectRequiredImports(imports map[string]interface{}, pkg string, part datadictionary.MessagePart) { + if comp, ok := part.(datadictionary.Component); ok { + imports[fmt.Sprintf("github.com/quickfixgo/quickfix/%v/%v", pkg, strings.ToLower(comp.Name()))] = nil + + return + } + + field, ok := part.(*datadictionary.FieldDef) + if !ok { + panic("Expected FieldDef") + } + + if fieldType := FixFieldTypeToGoType(field.Type); fieldType == "time.Time" { + imports["time"] = nil + } + + for _, part := range field.Parts { + collectRequiredImports(imports, pkg, part) + } +} + +func WriteFieldDeclarations(fixSpecMajor int, fixSpecMinor int, parts []datadictionary.MessagePart, componentName string) (s string) { + for _, part := range parts { + s += writeFieldDeclaration(fixSpecMajor, fixSpecMinor, part, componentName) + } + return +} + +func writeFieldDeclaration(fixSpecMajor int, fixSpecMinor int, part datadictionary.MessagePart, componentName string) (s string) { switch field := part.(type) { case datadictionary.Component: if field.Required() { @@ -108,6 +210,23 @@ func WriteFieldDeclaration(fixSpecMajor int, fixSpecMinor int, part datadictiona return } +func partAsGoType(part datadictionary.MessagePart) string { + if comp, ok := part.(datadictionary.Component); ok { + return fmt.Sprintf("%v.%v", strings.ToLower(comp.Name()), comp.Name()) + } + + field, ok := part.(*datadictionary.FieldDef) + if !ok { + panic("unknown part") + } + + if field.IsGroup() { + return fmt.Sprintf("[]%v", field.Name()) + } + + return FixFieldTypeToGoType(field.Type) +} + func FixFieldTypeToGoType(fieldType string) string { switch fieldType { case "MULTIPLESTRINGVALUE", "MULTIPLEVALUESTRING": diff --git a/datadictionary/build.go b/datadictionary/build.go index 50d972042..b0493f193 100644 --- a/datadictionary/build.go +++ b/datadictionary/build.go @@ -65,7 +65,7 @@ func (b builder) findOrBuildComponentType(xmlMember *XMLComponentMember) (*Compo } func (b builder) buildComponentType(xmlComponent *XMLComponent) (*ComponentType, error) { - c := &ComponentType{name: xmlComponent.Name} + var parts []MessagePart for _, member := range xmlComponent.Members { if member.XMLName.Local == "component" { @@ -80,8 +80,7 @@ func (b builder) buildComponentType(xmlComponent *XMLComponent) (*ComponentType, required: (member.Required == "Y"), } - c.Parts = append(c.Parts, childComponent) - c.Fields = append(c.Fields, childComponentType.Fields...) + parts = append(parts, childComponent) } else { var field *FieldDef var err error @@ -89,12 +88,11 @@ func (b builder) buildComponentType(xmlComponent *XMLComponent) (*ComponentType, return nil, err } - c.Fields = append(c.Fields, field) - c.Parts = append(c.Parts, field) + parts = append(parts, field) } } - return c, nil + return NewComponentType(xmlComponent.Name, parts), nil } func (b builder) buildComponents() error { @@ -141,7 +139,7 @@ func (b builder) buildMessageDef(xmlMessage *XMLComponent) (*MessageDef, error) return nil, newUnknownComponent(member.Name) } - for _, f := range comp.Fields { + for _, f := range comp.Fields() { m.Fields[f.Tag] = f } @@ -192,7 +190,7 @@ func (b builder) buildGroupFieldDef(xmlField *XMLComponentMember, groupFieldType } parts = append(parts, comp) - fields = append(fields, comp.Fields...) + fields = append(fields, comp.Fields()...) } else { var f *FieldDef var err error diff --git a/datadictionary/datadictionary.go b/datadictionary/datadictionary.go index cfd63fddb..38bdbfd90 100644 --- a/datadictionary/datadictionary.go +++ b/datadictionary/datadictionary.go @@ -28,17 +28,61 @@ type MessagePart interface { //ComponentType is a grouping of fields. type ComponentType struct { - name string - // MessageParts in declaration order contained in this component - Parts []MessagePart - //All fields contained in this component. Includes fields encapsulated in - //components of this component - Fields []*FieldDef + name string + parts []MessagePart + fields []*FieldDef + requiredFields []*FieldDef + requiredParts []MessagePart +} + +//NewComponentType returns an initialized component type +func NewComponentType(name string, parts []MessagePart) *ComponentType { + comp := ComponentType{ + name: name, + parts: parts, + } + + for _, part := range parts { + + if part.Required() { + comp.requiredParts = append(comp.RequiredParts(), part) + } + + switch f := part.(type) { + case Component: + comp.fields = append(comp.fields, f.fields...) + + if f.Required() { + comp.requiredFields = append(comp.requiredFields, f.requiredFields...) + } + case *FieldDef: + comp.fields = append(comp.fields, f) + + if f.Required() { + comp.requiredFields = append(comp.requiredFields, f) + } + } + } + + return &comp } //Name returns the name of this component type func (c ComponentType) Name() string { return c.name } +//Fields returns all fields contained in this component. Includes fields +//encapsulated in components of this component +func (c ComponentType) Fields() []*FieldDef { return c.fields } + +//RequiredFields returns those fields that are required for this component +func (c ComponentType) RequiredFields() []*FieldDef { return c.requiredFields } + +//RequiredParts returns those parts that are required for this component +func (c ComponentType) RequiredParts() []MessagePart { return c.requiredParts } + +// Parts returns all parts in declaration order contained in this component +func (c ComponentType) Parts() []MessagePart { return c.parts } + //TagSet is set for tags. type TagSet map[int]struct{} diff --git a/fix43/commissiondata/CommissionData.go b/fix43/commissiondata/CommissionData.go index 6f75bdb54..822cbc803 100644 --- a/fix43/commissiondata/CommissionData.go +++ b/fix43/commissiondata/CommissionData.go @@ -1,5 +1,10 @@ package commissiondata +func New() *CommissionData { + var m CommissionData + return &m +} + //CommissionData is a fix43 Component type CommissionData struct { //Commission is a non-required field for CommissionData. diff --git a/fix43/instrument/Instrument.go b/fix43/instrument/Instrument.go index 205c1e3cb..f84ca8f0a 100644 --- a/fix43/instrument/Instrument.go +++ b/fix43/instrument/Instrument.go @@ -1,5 +1,10 @@ package instrument +func New() *Instrument { + var m Instrument + return &m +} + //NoSecurityAltID is a repeating group in Instrument type NoSecurityAltID struct { //SecurityAltID is a non-required field for NoSecurityAltID. diff --git a/fix43/instrumentleg/InstrumentLeg.go b/fix43/instrumentleg/InstrumentLeg.go index b23b0abbb..9c2e628c9 100644 --- a/fix43/instrumentleg/InstrumentLeg.go +++ b/fix43/instrumentleg/InstrumentLeg.go @@ -1,5 +1,10 @@ package instrumentleg +func New() *InstrumentLeg { + var m InstrumentLeg + return &m +} + //NoLegSecurityAltID is a repeating group in InstrumentLeg type NoLegSecurityAltID struct { //LegSecurityAltID is a non-required field for NoLegSecurityAltID. diff --git a/fix43/nestedparties/NestedParties.go b/fix43/nestedparties/NestedParties.go index 62e02393c..3477de472 100644 --- a/fix43/nestedparties/NestedParties.go +++ b/fix43/nestedparties/NestedParties.go @@ -1,5 +1,10 @@ package nestedparties +func New() *NestedParties { + var m NestedParties + return &m +} + //NoNestedPartyIDs is a repeating group in NestedParties type NoNestedPartyIDs struct { //NestedPartyID is a non-required field for NoNestedPartyIDs. diff --git a/fix43/orderqtydata/OrderQtyData.go b/fix43/orderqtydata/OrderQtyData.go index cc1de8e6b..ece2e2d5c 100644 --- a/fix43/orderqtydata/OrderQtyData.go +++ b/fix43/orderqtydata/OrderQtyData.go @@ -1,5 +1,10 @@ package orderqtydata +func New() *OrderQtyData { + var m OrderQtyData + return &m +} + //OrderQtyData is a fix43 Component type OrderQtyData struct { //OrderQty is a non-required field for OrderQtyData. diff --git a/fix43/parties/Parties.go b/fix43/parties/Parties.go index 908655e5c..c1e45ab65 100644 --- a/fix43/parties/Parties.go +++ b/fix43/parties/Parties.go @@ -1,5 +1,10 @@ package parties +func New() *Parties { + var m Parties + return &m +} + //NoPartyIDs is a repeating group in Parties type NoPartyIDs struct { //PartyID is a non-required field for NoPartyIDs. diff --git a/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index ea13ef212..459469136 100644 --- a/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix43/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,10 @@ package spreadorbenchmarkcurvedata +func New() *SpreadOrBenchmarkCurveData { + var m SpreadOrBenchmarkCurveData + return &m +} + //SpreadOrBenchmarkCurveData is a fix43 Component type SpreadOrBenchmarkCurveData struct { //Spread is a non-required field for SpreadOrBenchmarkCurveData. diff --git a/fix43/stipulations/Stipulations.go b/fix43/stipulations/Stipulations.go index 4733efddc..72837032a 100644 --- a/fix43/stipulations/Stipulations.go +++ b/fix43/stipulations/Stipulations.go @@ -1,5 +1,10 @@ package stipulations +func New() *Stipulations { + var m Stipulations + return &m +} + //NoStipulations is a repeating group in Stipulations type NoStipulations struct { //StipulationType is a non-required field for NoStipulations. diff --git a/fix43/underlyinginstrument/UnderlyingInstrument.go b/fix43/underlyinginstrument/UnderlyingInstrument.go index 065e90a82..d20ce967d 100644 --- a/fix43/underlyinginstrument/UnderlyingInstrument.go +++ b/fix43/underlyinginstrument/UnderlyingInstrument.go @@ -1,5 +1,10 @@ package underlyinginstrument +func New() *UnderlyingInstrument { + var m UnderlyingInstrument + return &m +} + //NoUnderlyingSecurityAltID is a repeating group in UnderlyingInstrument type NoUnderlyingSecurityAltID struct { //UnderlyingSecurityAltID is a non-required field for NoUnderlyingSecurityAltID. diff --git a/fix43/yielddata/YieldData.go b/fix43/yielddata/YieldData.go index 4cef585ff..2f0de8477 100644 --- a/fix43/yielddata/YieldData.go +++ b/fix43/yielddata/YieldData.go @@ -1,5 +1,10 @@ package yielddata +func New() *YieldData { + var m YieldData + return &m +} + //YieldData is a fix43 Component type YieldData struct { //YieldType is a non-required field for YieldData. diff --git a/fix44/commissiondata/CommissionData.go b/fix44/commissiondata/CommissionData.go index 71b42a71b..4982fa3cd 100644 --- a/fix44/commissiondata/CommissionData.go +++ b/fix44/commissiondata/CommissionData.go @@ -1,5 +1,10 @@ package commissiondata +func New() *CommissionData { + var m CommissionData + return &m +} + //CommissionData is a fix44 Component type CommissionData struct { //Commission is a non-required field for CommissionData. diff --git a/fix44/discretioninstructions/DiscretionInstructions.go b/fix44/discretioninstructions/DiscretionInstructions.go index 7221ea0bb..246d44111 100644 --- a/fix44/discretioninstructions/DiscretionInstructions.go +++ b/fix44/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,10 @@ package discretioninstructions +func New() *DiscretionInstructions { + var m DiscretionInstructions + return &m +} + //DiscretionInstructions is a fix44 Component type DiscretionInstructions struct { //DiscretionInst is a non-required field for DiscretionInstructions. diff --git a/fix44/financingdetails/FinancingDetails.go b/fix44/financingdetails/FinancingDetails.go index e4d4bd60c..00d365ff2 100644 --- a/fix44/financingdetails/FinancingDetails.go +++ b/fix44/financingdetails/FinancingDetails.go @@ -1,5 +1,10 @@ package financingdetails +func New() *FinancingDetails { + var m FinancingDetails + return &m +} + //FinancingDetails is a fix44 Component type FinancingDetails struct { //AgreementDesc is a non-required field for FinancingDetails. diff --git a/fix44/instrument/Instrument.go b/fix44/instrument/Instrument.go index a16083df3..9c5619ef8 100644 --- a/fix44/instrument/Instrument.go +++ b/fix44/instrument/Instrument.go @@ -1,5 +1,10 @@ package instrument +func New() *Instrument { + var m Instrument + return &m +} + //NoSecurityAltID is a repeating group in Instrument type NoSecurityAltID struct { //SecurityAltID is a non-required field for NoSecurityAltID. diff --git a/fix44/instrumentextension/InstrumentExtension.go b/fix44/instrumentextension/InstrumentExtension.go index 536b573cb..a233cd944 100644 --- a/fix44/instrumentextension/InstrumentExtension.go +++ b/fix44/instrumentextension/InstrumentExtension.go @@ -1,5 +1,10 @@ package instrumentextension +func New() *InstrumentExtension { + var m InstrumentExtension + return &m +} + //NoInstrAttrib is a repeating group in InstrumentExtension type NoInstrAttrib struct { //InstrAttribType is a non-required field for NoInstrAttrib. diff --git a/fix44/instrumentleg/InstrumentLeg.go b/fix44/instrumentleg/InstrumentLeg.go index fd60f7c5a..07b10220a 100644 --- a/fix44/instrumentleg/InstrumentLeg.go +++ b/fix44/instrumentleg/InstrumentLeg.go @@ -1,5 +1,10 @@ package instrumentleg +func New() *InstrumentLeg { + var m InstrumentLeg + return &m +} + //NoLegSecurityAltID is a repeating group in InstrumentLeg type NoLegSecurityAltID struct { //LegSecurityAltID is a non-required field for NoLegSecurityAltID. diff --git a/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go index b10a69093..b590f4edf 100644 --- a/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix44/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,10 @@ package legbenchmarkcurvedata +func New() *LegBenchmarkCurveData { + var m LegBenchmarkCurveData + return &m +} + //LegBenchmarkCurveData is a fix44 Component type LegBenchmarkCurveData struct { //LegBenchmarkCurveCurrency is a non-required field for LegBenchmarkCurveData. diff --git a/fix44/legstipulations/LegStipulations.go b/fix44/legstipulations/LegStipulations.go index 42a9c7343..80646e65b 100644 --- a/fix44/legstipulations/LegStipulations.go +++ b/fix44/legstipulations/LegStipulations.go @@ -1,5 +1,10 @@ package legstipulations +func New() *LegStipulations { + var m LegStipulations + return &m +} + //NoLegStipulations is a repeating group in LegStipulations type NoLegStipulations struct { //LegStipulationType is a non-required field for NoLegStipulations. diff --git a/fix44/nestedparties/NestedParties.go b/fix44/nestedparties/NestedParties.go index d1e58f939..d3e43eea8 100644 --- a/fix44/nestedparties/NestedParties.go +++ b/fix44/nestedparties/NestedParties.go @@ -1,5 +1,10 @@ package nestedparties +func New() *NestedParties { + var m NestedParties + return &m +} + //NoNestedPartyIDs is a repeating group in NestedParties type NoNestedPartyIDs struct { //NestedPartyID is a non-required field for NoNestedPartyIDs. diff --git a/fix44/nestedparties2/NestedParties2.go b/fix44/nestedparties2/NestedParties2.go index c96985dd7..4259cb3dc 100644 --- a/fix44/nestedparties2/NestedParties2.go +++ b/fix44/nestedparties2/NestedParties2.go @@ -1,5 +1,10 @@ package nestedparties2 +func New() *NestedParties2 { + var m NestedParties2 + return &m +} + //NoNested2PartyIDs is a repeating group in NestedParties2 type NoNested2PartyIDs struct { //Nested2PartyID is a non-required field for NoNested2PartyIDs. diff --git a/fix44/nestedparties3/NestedParties3.go b/fix44/nestedparties3/NestedParties3.go index f7b5af2ca..21115b859 100644 --- a/fix44/nestedparties3/NestedParties3.go +++ b/fix44/nestedparties3/NestedParties3.go @@ -1,5 +1,10 @@ package nestedparties3 +func New() *NestedParties3 { + var m NestedParties3 + return &m +} + //NoNested3PartyIDs is a repeating group in NestedParties3 type NoNested3PartyIDs struct { //Nested3PartyID is a non-required field for NoNested3PartyIDs. diff --git a/fix44/orderqtydata/OrderQtyData.go b/fix44/orderqtydata/OrderQtyData.go index 78efd57a6..b27c1a589 100644 --- a/fix44/orderqtydata/OrderQtyData.go +++ b/fix44/orderqtydata/OrderQtyData.go @@ -1,5 +1,10 @@ package orderqtydata +func New() *OrderQtyData { + var m OrderQtyData + return &m +} + //OrderQtyData is a fix44 Component type OrderQtyData struct { //OrderQty is a non-required field for OrderQtyData. diff --git a/fix44/parties/Parties.go b/fix44/parties/Parties.go index 2f51b87f9..0b01bb3be 100644 --- a/fix44/parties/Parties.go +++ b/fix44/parties/Parties.go @@ -1,5 +1,10 @@ package parties +func New() *Parties { + var m Parties + return &m +} + //NoPartyIDs is a repeating group in Parties type NoPartyIDs struct { //PartyID is a non-required field for NoPartyIDs. diff --git a/fix44/peginstructions/PegInstructions.go b/fix44/peginstructions/PegInstructions.go index a4e55858b..c1ce170a1 100644 --- a/fix44/peginstructions/PegInstructions.go +++ b/fix44/peginstructions/PegInstructions.go @@ -1,5 +1,10 @@ package peginstructions +func New() *PegInstructions { + var m PegInstructions + return &m +} + //PegInstructions is a fix44 Component type PegInstructions struct { //PegOffsetValue is a non-required field for PegInstructions. diff --git a/fix44/positionamountdata/PositionAmountData.go b/fix44/positionamountdata/PositionAmountData.go index 9591c96bf..29b581f06 100644 --- a/fix44/positionamountdata/PositionAmountData.go +++ b/fix44/positionamountdata/PositionAmountData.go @@ -1,5 +1,10 @@ package positionamountdata +func New() *PositionAmountData { + var m PositionAmountData + return &m +} + //NoPosAmt is a repeating group in PositionAmountData type NoPosAmt struct { //PosAmtType is a non-required field for NoPosAmt. diff --git a/fix44/positionqty/PositionQty.go b/fix44/positionqty/PositionQty.go index 77a1744e9..ae23edc32 100644 --- a/fix44/positionqty/PositionQty.go +++ b/fix44/positionqty/PositionQty.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix44/nestedparties" ) +func New() *PositionQty { + var m PositionQty + return &m +} + //NoPositions is a repeating group in PositionQty type NoPositions struct { //PosType is a non-required field for NoPositions. diff --git a/fix44/settlinstructionsdata/SettlInstructionsData.go b/fix44/settlinstructionsdata/SettlInstructionsData.go index 07751e147..b3767a7c2 100644 --- a/fix44/settlinstructionsdata/SettlInstructionsData.go +++ b/fix44/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix44/settlparties" ) +func New() *SettlInstructionsData { + var m SettlInstructionsData + return &m +} + //NoDlvyInst is a repeating group in SettlInstructionsData type NoDlvyInst struct { //SettlInstSource is a non-required field for NoDlvyInst. diff --git a/fix44/settlparties/SettlParties.go b/fix44/settlparties/SettlParties.go index f4bfa2d2a..9917b3de3 100644 --- a/fix44/settlparties/SettlParties.go +++ b/fix44/settlparties/SettlParties.go @@ -1,5 +1,10 @@ package settlparties +func New() *SettlParties { + var m SettlParties + return &m +} + //NoSettlPartyIDs is a repeating group in SettlParties type NoSettlPartyIDs struct { //SettlPartyID is a non-required field for NoSettlPartyIDs. diff --git a/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index 85aa76368..45953678e 100644 --- a/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix44/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,10 @@ package spreadorbenchmarkcurvedata +func New() *SpreadOrBenchmarkCurveData { + var m SpreadOrBenchmarkCurveData + return &m +} + //SpreadOrBenchmarkCurveData is a fix44 Component type SpreadOrBenchmarkCurveData struct { //Spread is a non-required field for SpreadOrBenchmarkCurveData. diff --git a/fix44/stipulations/Stipulations.go b/fix44/stipulations/Stipulations.go index 7e6c8e4c6..ed3020391 100644 --- a/fix44/stipulations/Stipulations.go +++ b/fix44/stipulations/Stipulations.go @@ -1,5 +1,10 @@ package stipulations +func New() *Stipulations { + var m Stipulations + return &m +} + //NoStipulations is a repeating group in Stipulations type NoStipulations struct { //StipulationType is a non-required field for NoStipulations. diff --git a/fix44/trdregtimestamps/TrdRegTimestamps.go b/fix44/trdregtimestamps/TrdRegTimestamps.go index 9225ce3e9..325c1ea96 100644 --- a/fix44/trdregtimestamps/TrdRegTimestamps.go +++ b/fix44/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdRegTimestamps { + var m TrdRegTimestamps + return &m +} + //NoTrdRegTimestamps is a repeating group in TrdRegTimestamps type NoTrdRegTimestamps struct { //TrdRegTimestamp is a non-required field for NoTrdRegTimestamps. diff --git a/fix44/underlyinginstrument/UnderlyingInstrument.go b/fix44/underlyinginstrument/UnderlyingInstrument.go index 9ac54f094..d24e2c318 100644 --- a/fix44/underlyinginstrument/UnderlyingInstrument.go +++ b/fix44/underlyinginstrument/UnderlyingInstrument.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix44/underlyingstipulations" ) +func New() *UnderlyingInstrument { + var m UnderlyingInstrument + return &m +} + //NoUnderlyingSecurityAltID is a repeating group in UnderlyingInstrument type NoUnderlyingSecurityAltID struct { //UnderlyingSecurityAltID is a non-required field for NoUnderlyingSecurityAltID. diff --git a/fix44/underlyingstipulations/UnderlyingStipulations.go b/fix44/underlyingstipulations/UnderlyingStipulations.go index a6dbed900..76071a78b 100644 --- a/fix44/underlyingstipulations/UnderlyingStipulations.go +++ b/fix44/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,10 @@ package underlyingstipulations +func New() *UnderlyingStipulations { + var m UnderlyingStipulations + return &m +} + //NoUnderlyingStips is a repeating group in UnderlyingStipulations type NoUnderlyingStips struct { //UnderlyingStipType is a non-required field for NoUnderlyingStips. diff --git a/fix44/yielddata/YieldData.go b/fix44/yielddata/YieldData.go index 6c907ab34..a988905e6 100644 --- a/fix44/yielddata/YieldData.go +++ b/fix44/yielddata/YieldData.go @@ -1,5 +1,10 @@ package yielddata +func New() *YieldData { + var m YieldData + return &m +} + //YieldData is a fix44 Component type YieldData struct { //YieldType is a non-required field for YieldData. diff --git a/fix50/affectedordgrp/AffectedOrdGrp.go b/fix50/affectedordgrp/AffectedOrdGrp.go index 832a33bb1..767ef1305 100644 --- a/fix50/affectedordgrp/AffectedOrdGrp.go +++ b/fix50/affectedordgrp/AffectedOrdGrp.go @@ -1,5 +1,10 @@ package affectedordgrp +func New() *AffectedOrdGrp { + var m AffectedOrdGrp + return &m +} + //NoAffectedOrders is a repeating group in AffectedOrdGrp type NoAffectedOrders struct { //OrigClOrdID is a non-required field for NoAffectedOrders. diff --git a/fix50/allocackgrp/AllocAckGrp.go b/fix50/allocackgrp/AllocAckGrp.go index 481822287..c919e50f0 100644 --- a/fix50/allocackgrp/AllocAckGrp.go +++ b/fix50/allocackgrp/AllocAckGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *AllocAckGrp { + var m AllocAckGrp + return &m +} + //NoAllocs is a repeating group in AllocAckGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50/allocgrp/AllocGrp.go b/fix50/allocgrp/AllocGrp.go index 55d16c873..b4664b2c3 100644 --- a/fix50/allocgrp/AllocGrp.go +++ b/fix50/allocgrp/AllocGrp.go @@ -8,6 +8,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/settlinstructionsdata" ) +func New() *AllocGrp { + var m AllocGrp + return &m +} + //NoAllocs is a repeating group in AllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50/attrbgrp/AttrbGrp.go b/fix50/attrbgrp/AttrbGrp.go index 776779e75..1035ffcf9 100644 --- a/fix50/attrbgrp/AttrbGrp.go +++ b/fix50/attrbgrp/AttrbGrp.go @@ -1,5 +1,10 @@ package attrbgrp +func New() *AttrbGrp { + var m AttrbGrp + return &m +} + //NoInstrAttrib is a repeating group in AttrbGrp type NoInstrAttrib struct { //InstrAttribType is a non-required field for NoInstrAttrib. diff --git a/fix50/bidcompreqgrp/BidCompReqGrp.go b/fix50/bidcompreqgrp/BidCompReqGrp.go index 7ae1129cb..5ec4c5efe 100644 --- a/fix50/bidcompreqgrp/BidCompReqGrp.go +++ b/fix50/bidcompreqgrp/BidCompReqGrp.go @@ -1,5 +1,10 @@ package bidcompreqgrp +func New() *BidCompReqGrp { + var m BidCompReqGrp + return &m +} + //NoBidComponents is a repeating group in BidCompReqGrp type NoBidComponents struct { //ListID is a non-required field for NoBidComponents. diff --git a/fix50/bidcomprspgrp/BidCompRspGrp.go b/fix50/bidcomprspgrp/BidCompRspGrp.go index 30986eb0a..f1214b58c 100644 --- a/fix50/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50/bidcomprspgrp/BidCompRspGrp.go @@ -4,6 +4,12 @@ import ( "github.com/quickfixgo/quickfix/fix50/commissiondata" ) +func New(nobidcomponents []NoBidComponents) *BidCompRspGrp { + var m BidCompRspGrp + m.SetNoBidComponents(nobidcomponents) + return &m +} + //NoBidComponents is a repeating group in BidCompRspGrp type NoBidComponents struct { //CommissionData is a required component for NoBidComponents. diff --git a/fix50/biddescreqgrp/BidDescReqGrp.go b/fix50/biddescreqgrp/BidDescReqGrp.go index 60f5e5593..e464d3c98 100644 --- a/fix50/biddescreqgrp/BidDescReqGrp.go +++ b/fix50/biddescreqgrp/BidDescReqGrp.go @@ -1,5 +1,10 @@ package biddescreqgrp +func New() *BidDescReqGrp { + var m BidDescReqGrp + return &m +} + //NoBidDescriptors is a repeating group in BidDescReqGrp type NoBidDescriptors struct { //BidDescriptorType is a non-required field for NoBidDescriptors. diff --git a/fix50/clrinstgrp/ClrInstGrp.go b/fix50/clrinstgrp/ClrInstGrp.go index 131cfb289..bcb39fb8a 100644 --- a/fix50/clrinstgrp/ClrInstGrp.go +++ b/fix50/clrinstgrp/ClrInstGrp.go @@ -1,5 +1,10 @@ package clrinstgrp +func New() *ClrInstGrp { + var m ClrInstGrp + return &m +} + //NoClearingInstructions is a repeating group in ClrInstGrp type NoClearingInstructions struct { //ClearingInstruction is a non-required field for NoClearingInstructions. diff --git a/fix50/collinqqualgrp/CollInqQualGrp.go b/fix50/collinqqualgrp/CollInqQualGrp.go index 42d1bca03..9e57c342f 100644 --- a/fix50/collinqqualgrp/CollInqQualGrp.go +++ b/fix50/collinqqualgrp/CollInqQualGrp.go @@ -1,5 +1,10 @@ package collinqqualgrp +func New() *CollInqQualGrp { + var m CollInqQualGrp + return &m +} + //NoCollInquiryQualifier is a repeating group in CollInqQualGrp type NoCollInquiryQualifier struct { //CollInquiryQualifier is a non-required field for NoCollInquiryQualifier. diff --git a/fix50/commissiondata/CommissionData.go b/fix50/commissiondata/CommissionData.go index 4af8b8e70..3f0dbbf19 100644 --- a/fix50/commissiondata/CommissionData.go +++ b/fix50/commissiondata/CommissionData.go @@ -1,5 +1,10 @@ package commissiondata +func New() *CommissionData { + var m CommissionData + return &m +} + //CommissionData is a fix50 Component type CommissionData struct { //Commission is a non-required field for CommissionData. diff --git a/fix50/compidreqgrp/CompIDReqGrp.go b/fix50/compidreqgrp/CompIDReqGrp.go index fe55666b4..1d4cafbd2 100644 --- a/fix50/compidreqgrp/CompIDReqGrp.go +++ b/fix50/compidreqgrp/CompIDReqGrp.go @@ -1,5 +1,10 @@ package compidreqgrp +func New() *CompIDReqGrp { + var m CompIDReqGrp + return &m +} + //NoCompIDs is a repeating group in CompIDReqGrp type NoCompIDs struct { //RefCompID is a non-required field for NoCompIDs. diff --git a/fix50/compidstatgrp/CompIDStatGrp.go b/fix50/compidstatgrp/CompIDStatGrp.go index 5b20a0ea8..5c597f39e 100644 --- a/fix50/compidstatgrp/CompIDStatGrp.go +++ b/fix50/compidstatgrp/CompIDStatGrp.go @@ -1,5 +1,11 @@ package compidstatgrp +func New(nocompids []NoCompIDs) *CompIDStatGrp { + var m CompIDStatGrp + m.SetNoCompIDs(nocompids) + return &m +} + //NoCompIDs is a repeating group in CompIDStatGrp type NoCompIDs struct { //RefCompID is a required field for NoCompIDs. diff --git a/fix50/contamtgrp/ContAmtGrp.go b/fix50/contamtgrp/ContAmtGrp.go index a4372ddba..4137afee9 100644 --- a/fix50/contamtgrp/ContAmtGrp.go +++ b/fix50/contamtgrp/ContAmtGrp.go @@ -1,5 +1,10 @@ package contamtgrp +func New() *ContAmtGrp { + var m ContAmtGrp + return &m +} + //NoContAmts is a repeating group in ContAmtGrp type NoContAmts struct { //ContAmtType is a non-required field for NoContAmts. diff --git a/fix50/contragrp/ContraGrp.go b/fix50/contragrp/ContraGrp.go index 789b2d53c..5e112ed05 100644 --- a/fix50/contragrp/ContraGrp.go +++ b/fix50/contragrp/ContraGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *ContraGrp { + var m ContraGrp + return &m +} + //NoContraBrokers is a repeating group in ContraGrp type NoContraBrokers struct { //ContraBroker is a non-required field for NoContraBrokers. diff --git a/fix50/cpctyconfgrp/CpctyConfGrp.go b/fix50/cpctyconfgrp/CpctyConfGrp.go index a1ff971d3..db41f397f 100644 --- a/fix50/cpctyconfgrp/CpctyConfGrp.go +++ b/fix50/cpctyconfgrp/CpctyConfGrp.go @@ -1,5 +1,11 @@ package cpctyconfgrp +func New(nocapacities []NoCapacities) *CpctyConfGrp { + var m CpctyConfGrp + m.SetNoCapacities(nocapacities) + return &m +} + //NoCapacities is a repeating group in CpctyConfGrp type NoCapacities struct { //OrderCapacity is a required field for NoCapacities. diff --git a/fix50/discretioninstructions/DiscretionInstructions.go b/fix50/discretioninstructions/DiscretionInstructions.go index fd67d9221..f05716064 100644 --- a/fix50/discretioninstructions/DiscretionInstructions.go +++ b/fix50/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,10 @@ package discretioninstructions +func New() *DiscretionInstructions { + var m DiscretionInstructions + return &m +} + //DiscretionInstructions is a fix50 Component type DiscretionInstructions struct { //DiscretionInst is a non-required field for DiscretionInstructions. diff --git a/fix50/displayinstruction/DisplayInstruction.go b/fix50/displayinstruction/DisplayInstruction.go index 69f48a117..68f3e5834 100644 --- a/fix50/displayinstruction/DisplayInstruction.go +++ b/fix50/displayinstruction/DisplayInstruction.go @@ -1,5 +1,10 @@ package displayinstruction +func New() *DisplayInstruction { + var m DisplayInstruction + return &m +} + //DisplayInstruction is a fix50 Component type DisplayInstruction struct { //SecondaryDisplayQty is a non-required field for DisplayInstruction. diff --git a/fix50/dlvyinstgrp/DlvyInstGrp.go b/fix50/dlvyinstgrp/DlvyInstGrp.go index 58ce1caf0..ef745838a 100644 --- a/fix50/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50/dlvyinstgrp/DlvyInstGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/settlparties" ) +func New() *DlvyInstGrp { + var m DlvyInstGrp + return &m +} + //NoDlvyInst is a repeating group in DlvyInstGrp type NoDlvyInst struct { //SettlInstSource is a non-required field for NoDlvyInst. diff --git a/fix50/evntgrp/EvntGrp.go b/fix50/evntgrp/EvntGrp.go index 0497f4b95..8d46f3c4f 100644 --- a/fix50/evntgrp/EvntGrp.go +++ b/fix50/evntgrp/EvntGrp.go @@ -1,5 +1,10 @@ package evntgrp +func New() *EvntGrp { + var m EvntGrp + return &m +} + //NoEvents is a repeating group in EvntGrp type NoEvents struct { //EventType is a non-required field for NoEvents. diff --git a/fix50/execallocgrp/ExecAllocGrp.go b/fix50/execallocgrp/ExecAllocGrp.go index f497c98a7..3fdc33a1e 100644 --- a/fix50/execallocgrp/ExecAllocGrp.go +++ b/fix50/execallocgrp/ExecAllocGrp.go @@ -1,5 +1,10 @@ package execallocgrp +func New() *ExecAllocGrp { + var m ExecAllocGrp + return &m +} + //NoExecs is a repeating group in ExecAllocGrp type NoExecs struct { //LastQty is a non-required field for NoExecs. diff --git a/fix50/execcollgrp/ExecCollGrp.go b/fix50/execcollgrp/ExecCollGrp.go index 11a788a71..943411d09 100644 --- a/fix50/execcollgrp/ExecCollGrp.go +++ b/fix50/execcollgrp/ExecCollGrp.go @@ -1,5 +1,10 @@ package execcollgrp +func New() *ExecCollGrp { + var m ExecCollGrp + return &m +} + //NoExecs is a repeating group in ExecCollGrp type NoExecs struct { //ExecID is a non-required field for NoExecs. diff --git a/fix50/execsgrp/ExecsGrp.go b/fix50/execsgrp/ExecsGrp.go index 42c7b3def..b3986f110 100644 --- a/fix50/execsgrp/ExecsGrp.go +++ b/fix50/execsgrp/ExecsGrp.go @@ -1,5 +1,10 @@ package execsgrp +func New() *ExecsGrp { + var m ExecsGrp + return &m +} + //NoExecs is a repeating group in ExecsGrp type NoExecs struct { //ExecID is a non-required field for NoExecs. diff --git a/fix50/expirationqty/ExpirationQty.go b/fix50/expirationqty/ExpirationQty.go index 8a16f535a..641c57103 100644 --- a/fix50/expirationqty/ExpirationQty.go +++ b/fix50/expirationqty/ExpirationQty.go @@ -1,5 +1,10 @@ package expirationqty +func New() *ExpirationQty { + var m ExpirationQty + return &m +} + //NoExpiration is a repeating group in ExpirationQty type NoExpiration struct { //ExpType is a non-required field for NoExpiration. diff --git a/fix50/financingdetails/FinancingDetails.go b/fix50/financingdetails/FinancingDetails.go index 24ed3f867..907345af6 100644 --- a/fix50/financingdetails/FinancingDetails.go +++ b/fix50/financingdetails/FinancingDetails.go @@ -1,5 +1,10 @@ package financingdetails +func New() *FinancingDetails { + var m FinancingDetails + return &m +} + //FinancingDetails is a fix50 Component type FinancingDetails struct { //AgreementDesc is a non-required field for FinancingDetails. diff --git a/fix50/hopgrp/HopGrp.go b/fix50/hopgrp/HopGrp.go index b01534bcc..393bee0b2 100644 --- a/fix50/hopgrp/HopGrp.go +++ b/fix50/hopgrp/HopGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *HopGrp { + var m HopGrp + return &m +} + //NoHops is a repeating group in HopGrp type NoHops struct { //HopCompID is a non-required field for NoHops. diff --git a/fix50/instrmtgrp/InstrmtGrp.go b/fix50/instrmtgrp/InstrmtGrp.go index cea11f03f..29861d1af 100644 --- a/fix50/instrmtgrp/InstrmtGrp.go +++ b/fix50/instrmtgrp/InstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrument" ) +func New() *InstrmtGrp { + var m InstrmtGrp + return &m +} + //NoRelatedSym is a repeating group in InstrmtGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go index 4ef428ce5..60b4c23b3 100644 --- a/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *InstrmtLegExecGrp { + var m InstrmtLegExecGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegExecGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/instrmtleggrp/InstrmtLegGrp.go b/fix50/instrmtleggrp/InstrmtLegGrp.go index 8456317c4..d54254ae9 100644 --- a/fix50/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50/instrmtleggrp/InstrmtLegGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrumentleg" ) +func New() *InstrmtLegGrp { + var m InstrmtLegGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go index 9f0afd3f6..475afbfd2 100644 --- a/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/legstipulations" ) +func New() *InstrmtLegIOIGrp { + var m InstrmtLegIOIGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegIOIGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index 65231fcad..4749bba4b 100644 --- a/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/legstipulations" ) +func New() *InstrmtLegSecListGrp { + var m InstrmtLegSecListGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegSecListGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go index 9aad65cc8..db088f328 100644 --- a/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -6,6 +6,12 @@ import ( "github.com/quickfixgo/quickfix/fix50/undinstrmtgrp" ) +func New(norelatedsym []NoRelatedSym) *InstrmtMDReqGrp { + var m InstrmtMDReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in InstrmtMDReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index 933af91d6..ac8ce919e 100644 --- a/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -4,6 +4,12 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrument" ) +func New(nostrikes []NoStrikes) *InstrmtStrkPxGrp { + var m InstrmtStrkPxGrp + m.SetNoStrikes(nostrikes) + return &m +} + //NoStrikes is a repeating group in InstrmtStrkPxGrp type NoStrikes struct { //Instrument is a required component for NoStrikes. diff --git a/fix50/instrument/Instrument.go b/fix50/instrument/Instrument.go index ce349e2fe..0c3bf73a5 100644 --- a/fix50/instrument/Instrument.go +++ b/fix50/instrument/Instrument.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/secaltidgrp" ) +func New() *Instrument { + var m Instrument + return &m +} + //Instrument is a fix50 Component type Instrument struct { //Symbol is a non-required field for Instrument. diff --git a/fix50/instrumentextension/InstrumentExtension.go b/fix50/instrumentextension/InstrumentExtension.go index b9cdcc440..fee9e035e 100644 --- a/fix50/instrumentextension/InstrumentExtension.go +++ b/fix50/instrumentextension/InstrumentExtension.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/attrbgrp" ) +func New() *InstrumentExtension { + var m InstrumentExtension + return &m +} + //InstrumentExtension is a fix50 Component type InstrumentExtension struct { //DeliveryForm is a non-required field for InstrumentExtension. diff --git a/fix50/instrumentleg/InstrumentLeg.go b/fix50/instrumentleg/InstrumentLeg.go index ebd6924f4..a9d900de1 100644 --- a/fix50/instrumentleg/InstrumentLeg.go +++ b/fix50/instrumentleg/InstrumentLeg.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/legsecaltidgrp" ) +func New() *InstrumentLeg { + var m InstrumentLeg + return &m +} + //InstrumentLeg is a fix50 Component type InstrumentLeg struct { //LegSymbol is a non-required field for InstrumentLeg. diff --git a/fix50/instrumentparties/InstrumentParties.go b/fix50/instrumentparties/InstrumentParties.go index c8cf3784a..8e2898814 100644 --- a/fix50/instrumentparties/InstrumentParties.go +++ b/fix50/instrumentparties/InstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrumentptyssubgrp" ) +func New() *InstrumentParties { + var m InstrumentParties + return &m +} + //NoInstrumentParties is a repeating group in InstrumentParties type NoInstrumentParties struct { //InstrumentPartyID is a non-required field for NoInstrumentParties. diff --git a/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go b/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go index 5faa5e635..728a5308c 100644 --- a/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go +++ b/fix50/instrumentptyssubgrp/InstrumentPtysSubGrp.go @@ -1,5 +1,10 @@ package instrumentptyssubgrp +func New() *InstrumentPtysSubGrp { + var m InstrumentPtysSubGrp + return &m +} + //NoInstrumentPartySubIDs is a repeating group in InstrumentPtysSubGrp type NoInstrumentPartySubIDs struct { //InstrumentPartySubID is a non-required field for NoInstrumentPartySubIDs. diff --git a/fix50/ioiqualgrp/IOIQualGrp.go b/fix50/ioiqualgrp/IOIQualGrp.go index 6b0eb7fe5..a405e03d6 100644 --- a/fix50/ioiqualgrp/IOIQualGrp.go +++ b/fix50/ioiqualgrp/IOIQualGrp.go @@ -1,5 +1,10 @@ package ioiqualgrp +func New() *IOIQualGrp { + var m IOIQualGrp + return &m +} + //NoIOIQualifiers is a repeating group in IOIQualGrp type NoIOIQualifiers struct { //IOIQualifier is a non-required field for NoIOIQualifiers. diff --git a/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go index 6e88c3452..ee80e5bf8 100644 --- a/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix50/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,10 @@ package legbenchmarkcurvedata +func New() *LegBenchmarkCurveData { + var m LegBenchmarkCurveData + return &m +} + //LegBenchmarkCurveData is a fix50 Component type LegBenchmarkCurveData struct { //LegBenchmarkCurveCurrency is a non-required field for LegBenchmarkCurveData. diff --git a/fix50/legordgrp/LegOrdGrp.go b/fix50/legordgrp/LegOrdGrp.go index fae1d1763..c57a2c82e 100644 --- a/fix50/legordgrp/LegOrdGrp.go +++ b/fix50/legordgrp/LegOrdGrp.go @@ -7,6 +7,12 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New(nolegs []NoLegs) *LegOrdGrp { + var m LegOrdGrp + m.SetNoLegs(nolegs) + return &m +} + //NoLegs is a repeating group in LegOrdGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/legpreallocgrp/LegPreAllocGrp.go b/fix50/legpreallocgrp/LegPreAllocGrp.go index 85e1f71bb..f5c1cd950 100644 --- a/fix50/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50/legpreallocgrp/LegPreAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties2" ) +func New() *LegPreAllocGrp { + var m LegPreAllocGrp + return &m +} + //NoLegAllocs is a repeating group in LegPreAllocGrp type NoLegAllocs struct { //LegAllocAccount is a non-required field for NoLegAllocs. diff --git a/fix50/legquotgrp/LegQuotGrp.go b/fix50/legquotgrp/LegQuotGrp.go index 823244d3e..7b34d5b12 100644 --- a/fix50/legquotgrp/LegQuotGrp.go +++ b/fix50/legquotgrp/LegQuotGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *LegQuotGrp { + var m LegQuotGrp + return &m +} + //NoLegs is a repeating group in LegQuotGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/legquotstatgrp/LegQuotStatGrp.go b/fix50/legquotstatgrp/LegQuotStatGrp.go index 2ddf0565a..7a5c62819 100644 --- a/fix50/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50/legquotstatgrp/LegQuotStatGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *LegQuotStatGrp { + var m LegQuotStatGrp + return &m +} + //NoLegs is a repeating group in LegQuotStatGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/legsecaltidgrp/LegSecAltIDGrp.go b/fix50/legsecaltidgrp/LegSecAltIDGrp.go index e8634f8d4..13dee8a8d 100644 --- a/fix50/legsecaltidgrp/LegSecAltIDGrp.go +++ b/fix50/legsecaltidgrp/LegSecAltIDGrp.go @@ -1,5 +1,10 @@ package legsecaltidgrp +func New() *LegSecAltIDGrp { + var m LegSecAltIDGrp + return &m +} + //NoLegSecurityAltID is a repeating group in LegSecAltIDGrp type NoLegSecurityAltID struct { //LegSecurityAltID is a non-required field for NoLegSecurityAltID. diff --git a/fix50/legstipulations/LegStipulations.go b/fix50/legstipulations/LegStipulations.go index 7ec1b250b..72a52bd63 100644 --- a/fix50/legstipulations/LegStipulations.go +++ b/fix50/legstipulations/LegStipulations.go @@ -1,5 +1,10 @@ package legstipulations +func New() *LegStipulations { + var m LegStipulations + return &m +} + //NoLegStipulations is a repeating group in LegStipulations type NoLegStipulations struct { //LegStipulationType is a non-required field for NoLegStipulations. diff --git a/fix50/linesoftextgrp/LinesOfTextGrp.go b/fix50/linesoftextgrp/LinesOfTextGrp.go index fd445d854..df8bc94e4 100644 --- a/fix50/linesoftextgrp/LinesOfTextGrp.go +++ b/fix50/linesoftextgrp/LinesOfTextGrp.go @@ -1,5 +1,11 @@ package linesoftextgrp +func New(nolinesoftext []NoLinesOfText) *LinesOfTextGrp { + var m LinesOfTextGrp + m.SetNoLinesOfText(nolinesoftext) + return &m +} + //NoLinesOfText is a repeating group in LinesOfTextGrp type NoLinesOfText struct { //Text is a required field for NoLinesOfText. diff --git a/fix50/listordgrp/ListOrdGrp.go b/fix50/listordgrp/ListOrdGrp.go index f86800821..f7653a32a 100644 --- a/fix50/listordgrp/ListOrdGrp.go +++ b/fix50/listordgrp/ListOrdGrp.go @@ -19,6 +19,12 @@ import ( "time" ) +func New(noorders []NoOrders) *ListOrdGrp { + var m ListOrdGrp + m.SetNoOrders(noorders) + return &m +} + //NoOrders is a repeating group in ListOrdGrp type NoOrders struct { //ClOrdID is a required field for NoOrders. diff --git a/fix50/mdfullgrp/MDFullGrp.go b/fix50/mdfullgrp/MDFullGrp.go index 2feac6041..dd6e7c94f 100644 --- a/fix50/mdfullgrp/MDFullGrp.go +++ b/fix50/mdfullgrp/MDFullGrp.go @@ -5,6 +5,12 @@ import ( "time" ) +func New(nomdentries []NoMDEntries) *MDFullGrp { + var m MDFullGrp + m.SetNoMDEntries(nomdentries) + return &m +} + //NoMDEntries is a repeating group in MDFullGrp type NoMDEntries struct { //MDEntryType is a required field for NoMDEntries. diff --git a/fix50/mdincgrp/MDIncGrp.go b/fix50/mdincgrp/MDIncGrp.go index 93d1837df..9d9d64036 100644 --- a/fix50/mdincgrp/MDIncGrp.go +++ b/fix50/mdincgrp/MDIncGrp.go @@ -8,6 +8,12 @@ import ( "time" ) +func New(nomdentries []NoMDEntries) *MDIncGrp { + var m MDIncGrp + m.SetNoMDEntries(nomdentries) + return &m +} + //NoMDEntries is a repeating group in MDIncGrp type NoMDEntries struct { //MDUpdateAction is a required field for NoMDEntries. diff --git a/fix50/mdreqgrp/MDReqGrp.go b/fix50/mdreqgrp/MDReqGrp.go index 7b826752f..de4cf48e4 100644 --- a/fix50/mdreqgrp/MDReqGrp.go +++ b/fix50/mdreqgrp/MDReqGrp.go @@ -1,5 +1,11 @@ package mdreqgrp +func New(nomdentrytypes []NoMDEntryTypes) *MDReqGrp { + var m MDReqGrp + m.SetNoMDEntryTypes(nomdentrytypes) + return &m +} + //NoMDEntryTypes is a repeating group in MDReqGrp type NoMDEntryTypes struct { //MDEntryType is a required field for NoMDEntryTypes. diff --git a/fix50/mdrjctgrp/MDRjctGrp.go b/fix50/mdrjctgrp/MDRjctGrp.go index 155c73e25..d1944d739 100644 --- a/fix50/mdrjctgrp/MDRjctGrp.go +++ b/fix50/mdrjctgrp/MDRjctGrp.go @@ -1,5 +1,10 @@ package mdrjctgrp +func New() *MDRjctGrp { + var m MDRjctGrp + return &m +} + //NoAltMDSource is a repeating group in MDRjctGrp type NoAltMDSource struct { //AltMDSourceID is a non-required field for NoAltMDSource. diff --git a/fix50/miscfeesgrp/MiscFeesGrp.go b/fix50/miscfeesgrp/MiscFeesGrp.go index 57c30eebf..4604b4639 100644 --- a/fix50/miscfeesgrp/MiscFeesGrp.go +++ b/fix50/miscfeesgrp/MiscFeesGrp.go @@ -1,5 +1,10 @@ package miscfeesgrp +func New() *MiscFeesGrp { + var m MiscFeesGrp + return &m +} + //NoMiscFees is a repeating group in MiscFeesGrp type NoMiscFees struct { //MiscFeeAmt is a non-required field for NoMiscFees. diff --git a/fix50/msgtypegrp/MsgTypeGrp.go b/fix50/msgtypegrp/MsgTypeGrp.go index 21c68f000..4b853112a 100644 --- a/fix50/msgtypegrp/MsgTypeGrp.go +++ b/fix50/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,10 @@ package msgtypegrp +func New() *MsgTypeGrp { + var m MsgTypeGrp + return &m +} + //NoMsgTypes is a repeating group in MsgTypeGrp type NoMsgTypes struct { //RefMsgType is a non-required field for NoMsgTypes. diff --git a/fix50/nestedparties/NestedParties.go b/fix50/nestedparties/NestedParties.go index aef241f26..b0bcdc3ae 100644 --- a/fix50/nestedparties/NestedParties.go +++ b/fix50/nestedparties/NestedParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nstdptyssubgrp" ) +func New() *NestedParties { + var m NestedParties + return &m +} + //NoNestedPartyIDs is a repeating group in NestedParties type NoNestedPartyIDs struct { //NestedPartyID is a non-required field for NoNestedPartyIDs. diff --git a/fix50/nestedparties2/NestedParties2.go b/fix50/nestedparties2/NestedParties2.go index 490c87afe..08a6c0e03 100644 --- a/fix50/nestedparties2/NestedParties2.go +++ b/fix50/nestedparties2/NestedParties2.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nstdptys2subgrp" ) +func New() *NestedParties2 { + var m NestedParties2 + return &m +} + //NoNested2PartyIDs is a repeating group in NestedParties2 type NoNested2PartyIDs struct { //Nested2PartyID is a non-required field for NoNested2PartyIDs. diff --git a/fix50/nestedparties3/NestedParties3.go b/fix50/nestedparties3/NestedParties3.go index a15227459..d8ebc1ea6 100644 --- a/fix50/nestedparties3/NestedParties3.go +++ b/fix50/nestedparties3/NestedParties3.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nstdptys3subgrp" ) +func New() *NestedParties3 { + var m NestedParties3 + return &m +} + //NoNested3PartyIDs is a repeating group in NestedParties3 type NoNested3PartyIDs struct { //Nested3PartyID is a non-required field for NoNested3PartyIDs. diff --git a/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go b/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go index 7d52dd79e..08e4b8750 100644 --- a/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go +++ b/fix50/nstdptys2subgrp/NstdPtys2SubGrp.go @@ -1,5 +1,10 @@ package nstdptys2subgrp +func New() *NstdPtys2SubGrp { + var m NstdPtys2SubGrp + return &m +} + //NoNested2PartySubIDs is a repeating group in NstdPtys2SubGrp type NoNested2PartySubIDs struct { //Nested2PartySubID is a non-required field for NoNested2PartySubIDs. diff --git a/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go b/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go index 3d2527649..b5e85ccc0 100644 --- a/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go +++ b/fix50/nstdptys3subgrp/NstdPtys3SubGrp.go @@ -1,5 +1,10 @@ package nstdptys3subgrp +func New() *NstdPtys3SubGrp { + var m NstdPtys3SubGrp + return &m +} + //NoNested3PartySubIDs is a repeating group in NstdPtys3SubGrp type NoNested3PartySubIDs struct { //Nested3PartySubID is a non-required field for NoNested3PartySubIDs. diff --git a/fix50/nstdptyssubgrp/NstdPtysSubGrp.go b/fix50/nstdptyssubgrp/NstdPtysSubGrp.go index 98c180115..8504319cb 100644 --- a/fix50/nstdptyssubgrp/NstdPtysSubGrp.go +++ b/fix50/nstdptyssubgrp/NstdPtysSubGrp.go @@ -1,5 +1,10 @@ package nstdptyssubgrp +func New() *NstdPtysSubGrp { + var m NstdPtysSubGrp + return &m +} + //NoNestedPartySubIDs is a repeating group in NstdPtysSubGrp type NoNestedPartySubIDs struct { //NestedPartySubID is a non-required field for NoNestedPartySubIDs. diff --git a/fix50/ordallocgrp/OrdAllocGrp.go b/fix50/ordallocgrp/OrdAllocGrp.go index e048219fb..6930ff283 100644 --- a/fix50/ordallocgrp/OrdAllocGrp.go +++ b/fix50/ordallocgrp/OrdAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties2" ) +func New() *OrdAllocGrp { + var m OrdAllocGrp + return &m +} + //NoOrders is a repeating group in OrdAllocGrp type NoOrders struct { //ClOrdID is a non-required field for NoOrders. diff --git a/fix50/orderqtydata/OrderQtyData.go b/fix50/orderqtydata/OrderQtyData.go index 5da833a38..380155642 100644 --- a/fix50/orderqtydata/OrderQtyData.go +++ b/fix50/orderqtydata/OrderQtyData.go @@ -1,5 +1,10 @@ package orderqtydata +func New() *OrderQtyData { + var m OrderQtyData + return &m +} + //OrderQtyData is a fix50 Component type OrderQtyData struct { //OrderQty is a non-required field for OrderQtyData. diff --git a/fix50/ordliststatgrp/OrdListStatGrp.go b/fix50/ordliststatgrp/OrdListStatGrp.go index 9ef6f32ff..5b8938925 100644 --- a/fix50/ordliststatgrp/OrdListStatGrp.go +++ b/fix50/ordliststatgrp/OrdListStatGrp.go @@ -1,5 +1,11 @@ package ordliststatgrp +func New(noorders []NoOrders) *OrdListStatGrp { + var m OrdListStatGrp + m.SetNoOrders(noorders) + return &m +} + //NoOrders is a repeating group in OrdListStatGrp type NoOrders struct { //ClOrdID is a required field for NoOrders. diff --git a/fix50/parties/Parties.go b/fix50/parties/Parties.go index f217596d7..30814c50a 100644 --- a/fix50/parties/Parties.go +++ b/fix50/parties/Parties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/ptyssubgrp" ) +func New() *Parties { + var m Parties + return &m +} + //NoPartyIDs is a repeating group in Parties type NoPartyIDs struct { //PartyID is a non-required field for NoPartyIDs. diff --git a/fix50/peginstructions/PegInstructions.go b/fix50/peginstructions/PegInstructions.go index bb3409ec8..14e24aa23 100644 --- a/fix50/peginstructions/PegInstructions.go +++ b/fix50/peginstructions/PegInstructions.go @@ -1,5 +1,10 @@ package peginstructions +func New() *PegInstructions { + var m PegInstructions + return &m +} + //PegInstructions is a fix50 Component type PegInstructions struct { //PegOffsetValue is a non-required field for PegInstructions. diff --git a/fix50/positionamountdata/PositionAmountData.go b/fix50/positionamountdata/PositionAmountData.go index e66af5893..c13942ac4 100644 --- a/fix50/positionamountdata/PositionAmountData.go +++ b/fix50/positionamountdata/PositionAmountData.go @@ -1,5 +1,10 @@ package positionamountdata +func New() *PositionAmountData { + var m PositionAmountData + return &m +} + //NoPosAmt is a repeating group in PositionAmountData type NoPosAmt struct { //PosAmtType is a non-required field for NoPosAmt. diff --git a/fix50/positionqty/PositionQty.go b/fix50/positionqty/PositionQty.go index b22accd04..2d27d81b7 100644 --- a/fix50/positionqty/PositionQty.go +++ b/fix50/positionqty/PositionQty.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *PositionQty { + var m PositionQty + return &m +} + //NoPositions is a repeating group in PositionQty type NoPositions struct { //PosType is a non-required field for NoPositions. diff --git a/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go index bdef8b4d2..8547837f3 100644 --- a/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +func New() *PosUndInstrmtGrp { + var m PosUndInstrmtGrp + return &m +} + //NoUnderlyings is a repeating group in PosUndInstrmtGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50/preallocgrp/PreAllocGrp.go b/fix50/preallocgrp/PreAllocGrp.go index 8ea838f8d..e05acb8e9 100644 --- a/fix50/preallocgrp/PreAllocGrp.go +++ b/fix50/preallocgrp/PreAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *PreAllocGrp { + var m PreAllocGrp + return &m +} + //NoAllocs is a repeating group in PreAllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50/preallocmleggrp/PreAllocMlegGrp.go b/fix50/preallocmleggrp/PreAllocMlegGrp.go index 42ab7ff14..c3839e746 100644 --- a/fix50/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50/preallocmleggrp/PreAllocMlegGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties3" ) +func New() *PreAllocMlegGrp { + var m PreAllocMlegGrp + return &m +} + //NoAllocs is a repeating group in PreAllocMlegGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50/ptyssubgrp/PtysSubGrp.go b/fix50/ptyssubgrp/PtysSubGrp.go index 89055db64..33101b06a 100644 --- a/fix50/ptyssubgrp/PtysSubGrp.go +++ b/fix50/ptyssubgrp/PtysSubGrp.go @@ -1,5 +1,10 @@ package ptyssubgrp +func New() *PtysSubGrp { + var m PtysSubGrp + return &m +} + //NoPartySubIDs is a repeating group in PtysSubGrp type NoPartySubIDs struct { //PartySubID is a non-required field for NoPartySubIDs. diff --git a/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go index 902909943..a55bd8700 100644 --- a/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/undinstrmtgrp" ) +func New() *QuotCxlEntriesGrp { + var m QuotCxlEntriesGrp + return &m +} + //NoQuoteEntries is a repeating group in QuotCxlEntriesGrp type NoQuoteEntries struct { //Instrument is a non-required component for NoQuoteEntries. diff --git a/fix50/quotentryackgrp/QuotEntryAckGrp.go b/fix50/quotentryackgrp/QuotEntryAckGrp.go index 649c71fa5..30aa6175e 100644 --- a/fix50/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50/quotentryackgrp/QuotEntryAckGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *QuotEntryAckGrp { + var m QuotEntryAckGrp + return &m +} + //NoQuoteEntries is a repeating group in QuotEntryAckGrp type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. diff --git a/fix50/quotentrygrp/QuotEntryGrp.go b/fix50/quotentrygrp/QuotEntryGrp.go index a1481e1c1..9d9c7e034 100644 --- a/fix50/quotentrygrp/QuotEntryGrp.go +++ b/fix50/quotentrygrp/QuotEntryGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(noquoteentries []NoQuoteEntries) *QuotEntryGrp { + var m QuotEntryGrp + m.SetNoQuoteEntries(noquoteentries) + return &m +} + //NoQuoteEntries is a repeating group in QuotEntryGrp type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. diff --git a/fix50/quotqualgrp/QuotQualGrp.go b/fix50/quotqualgrp/QuotQualGrp.go index 2f96aa694..46690df89 100644 --- a/fix50/quotqualgrp/QuotQualGrp.go +++ b/fix50/quotqualgrp/QuotQualGrp.go @@ -1,5 +1,10 @@ package quotqualgrp +func New() *QuotQualGrp { + var m QuotQualGrp + return &m +} + //NoQuoteQualifiers is a repeating group in QuotQualGrp type NoQuoteQualifiers struct { //QuoteQualifier is a non-required field for NoQuoteQualifiers. diff --git a/fix50/quotreqgrp/QuotReqGrp.go b/fix50/quotreqgrp/QuotReqGrp.go index 4e3bbdbd4..6b21c3562 100644 --- a/fix50/quotreqgrp/QuotReqGrp.go +++ b/fix50/quotreqgrp/QuotReqGrp.go @@ -14,6 +14,12 @@ import ( "time" ) +func New(norelatedsym []NoRelatedSym) *QuotReqGrp { + var m QuotReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in QuotReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50/quotreqlegsgrp/QuotReqLegsGrp.go index 54cb93e37..a16db5f27 100644 --- a/fix50/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50/quotreqlegsgrp/QuotReqLegsGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *QuotReqLegsGrp { + var m QuotReqLegsGrp + return &m +} + //NoLegs is a repeating group in QuotReqLegsGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50/quotreqrjctgrp/QuotReqRjctGrp.go index 72f52f835..008e1bab4 100644 --- a/fix50/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50/quotreqrjctgrp/QuotReqRjctGrp.go @@ -14,6 +14,12 @@ import ( "time" ) +func New(norelatedsym []NoRelatedSym) *QuotReqRjctGrp { + var m QuotReqRjctGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in QuotReqRjctGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50/quotsetackgrp/QuotSetAckGrp.go b/fix50/quotsetackgrp/QuotSetAckGrp.go index 458a50e71..d041d722e 100644 --- a/fix50/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50/quotsetackgrp/QuotSetAckGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +func New() *QuotSetAckGrp { + var m QuotSetAckGrp + return &m +} + //NoQuoteSets is a repeating group in QuotSetAckGrp type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. diff --git a/fix50/quotsetgrp/QuotSetGrp.go b/fix50/quotsetgrp/QuotSetGrp.go index e88615483..52c30d85c 100644 --- a/fix50/quotsetgrp/QuotSetGrp.go +++ b/fix50/quotsetgrp/QuotSetGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(noquotesets []NoQuoteSets) *QuotSetGrp { + var m QuotSetGrp + m.SetNoQuoteSets(noquotesets) + return &m +} + //NoQuoteSets is a repeating group in QuotSetGrp type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. diff --git a/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go index e1aba283c..67dce1305 100644 --- a/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/instrumentextension" ) +func New() *RelSymDerivSecGrp { + var m RelSymDerivSecGrp + return &m +} + //NoRelatedSym is a repeating group in RelSymDerivSecGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50/rfqreqgrp/RFQReqGrp.go b/fix50/rfqreqgrp/RFQReqGrp.go index 3600f2808..8531b2dc3 100644 --- a/fix50/rfqreqgrp/RFQReqGrp.go +++ b/fix50/rfqreqgrp/RFQReqGrp.go @@ -6,6 +6,12 @@ import ( "github.com/quickfixgo/quickfix/fix50/undinstrmtgrp" ) +func New(norelatedsym []NoRelatedSym) *RFQReqGrp { + var m RFQReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in RFQReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50/rgstdistinstgrp/RgstDistInstGrp.go b/fix50/rgstdistinstgrp/RgstDistInstGrp.go index 40963fd57..471bf9dce 100644 --- a/fix50/rgstdistinstgrp/RgstDistInstGrp.go +++ b/fix50/rgstdistinstgrp/RgstDistInstGrp.go @@ -1,5 +1,10 @@ package rgstdistinstgrp +func New() *RgstDistInstGrp { + var m RgstDistInstGrp + return &m +} + //NoDistribInsts is a repeating group in RgstDistInstGrp type NoDistribInsts struct { //DistribPaymentMethod is a non-required field for NoDistribInsts. diff --git a/fix50/rgstdtlsgrp/RgstDtlsGrp.go b/fix50/rgstdtlsgrp/RgstDtlsGrp.go index 0076d1bdb..88b3a409f 100644 --- a/fix50/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50/rgstdtlsgrp/RgstDtlsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *RgstDtlsGrp { + var m RgstDtlsGrp + return &m +} + //NoRegistDtls is a repeating group in RgstDtlsGrp type NoRegistDtls struct { //RegistDtls is a non-required field for NoRegistDtls. diff --git a/fix50/rootparties/RootParties.go b/fix50/rootparties/RootParties.go index 8cbbed7c8..3b5dff513 100644 --- a/fix50/rootparties/RootParties.go +++ b/fix50/rootparties/RootParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/rootsubparties" ) +func New() *RootParties { + var m RootParties + return &m +} + //NoRootPartyIDs is a repeating group in RootParties type NoRootPartyIDs struct { //RootPartyID is a non-required field for NoRootPartyIDs. diff --git a/fix50/rootsubparties/RootSubParties.go b/fix50/rootsubparties/RootSubParties.go index 0a247ba26..6e11a478d 100644 --- a/fix50/rootsubparties/RootSubParties.go +++ b/fix50/rootsubparties/RootSubParties.go @@ -1,5 +1,10 @@ package rootsubparties +func New() *RootSubParties { + var m RootSubParties + return &m +} + //NoRootPartySubIDs is a repeating group in RootSubParties type NoRootPartySubIDs struct { //RootPartySubID is a non-required field for NoRootPartySubIDs. diff --git a/fix50/routinggrp/RoutingGrp.go b/fix50/routinggrp/RoutingGrp.go index 3eff4559b..a749d29c3 100644 --- a/fix50/routinggrp/RoutingGrp.go +++ b/fix50/routinggrp/RoutingGrp.go @@ -1,5 +1,10 @@ package routinggrp +func New() *RoutingGrp { + var m RoutingGrp + return &m +} + //NoRoutingIDs is a repeating group in RoutingGrp type NoRoutingIDs struct { //RoutingType is a non-required field for NoRoutingIDs. diff --git a/fix50/secaltidgrp/SecAltIDGrp.go b/fix50/secaltidgrp/SecAltIDGrp.go index 970cd835e..deb89d029 100644 --- a/fix50/secaltidgrp/SecAltIDGrp.go +++ b/fix50/secaltidgrp/SecAltIDGrp.go @@ -1,5 +1,10 @@ package secaltidgrp +func New() *SecAltIDGrp { + var m SecAltIDGrp + return &m +} + //NoSecurityAltID is a repeating group in SecAltIDGrp type NoSecurityAltID struct { //SecurityAltID is a non-required field for NoSecurityAltID. diff --git a/fix50/seclistgrp/SecListGrp.go b/fix50/seclistgrp/SecListGrp.go index 57688e202..f1bd9bb90 100644 --- a/fix50/seclistgrp/SecListGrp.go +++ b/fix50/seclistgrp/SecListGrp.go @@ -11,6 +11,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/yielddata" ) +func New() *SecListGrp { + var m SecListGrp + return &m +} + //NoRelatedSym is a repeating group in SecListGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 9e4892860..124e991ff 100644 --- a/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -11,6 +11,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/yielddata" ) +func New() *SecLstUpdRelSymGrp { + var m SecLstUpdRelSymGrp + return &m +} + //NoRelatedSym is a repeating group in SecLstUpdRelSymGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 091b5d27b..f4735528c 100644 --- a/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/legstipulations" ) +func New() *SecLstUpdRelSymsLegGrp { + var m SecLstUpdRelSymsLegGrp + return &m +} + //NoLegs is a repeating group in SecLstUpdRelSymsLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/sectypesgrp/SecTypesGrp.go b/fix50/sectypesgrp/SecTypesGrp.go index 0139c914f..637e0ca01 100644 --- a/fix50/sectypesgrp/SecTypesGrp.go +++ b/fix50/sectypesgrp/SecTypesGrp.go @@ -1,5 +1,10 @@ package sectypesgrp +func New() *SecTypesGrp { + var m SecTypesGrp + return &m +} + //NoSecurityTypes is a repeating group in SecTypesGrp type NoSecurityTypes struct { //SecurityType is a non-required field for NoSecurityTypes. diff --git a/fix50/settlinstgrp/SettlInstGrp.go b/fix50/settlinstgrp/SettlInstGrp.go index 455215f9b..e278be792 100644 --- a/fix50/settlinstgrp/SettlInstGrp.go +++ b/fix50/settlinstgrp/SettlInstGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *SettlInstGrp { + var m SettlInstGrp + return &m +} + //NoSettlInst is a repeating group in SettlInstGrp type NoSettlInst struct { //SettlInstID is a non-required field for NoSettlInst. diff --git a/fix50/settlinstructionsdata/SettlInstructionsData.go b/fix50/settlinstructionsdata/SettlInstructionsData.go index a3d0f713b..3e18e31f1 100644 --- a/fix50/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/dlvyinstgrp" ) +func New() *SettlInstructionsData { + var m SettlInstructionsData + return &m +} + //SettlInstructionsData is a fix50 Component type SettlInstructionsData struct { //SettlDeliveryType is a non-required field for SettlInstructionsData. diff --git a/fix50/settlparties/SettlParties.go b/fix50/settlparties/SettlParties.go index cb8b7a049..73b355b4a 100644 --- a/fix50/settlparties/SettlParties.go +++ b/fix50/settlparties/SettlParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/settlptyssubgrp" ) +func New() *SettlParties { + var m SettlParties + return &m +} + //NoSettlPartyIDs is a repeating group in SettlParties type NoSettlPartyIDs struct { //SettlPartyID is a non-required field for NoSettlPartyIDs. diff --git a/fix50/settlptyssubgrp/SettlPtysSubGrp.go b/fix50/settlptyssubgrp/SettlPtysSubGrp.go index e339440ff..270f92be4 100644 --- a/fix50/settlptyssubgrp/SettlPtysSubGrp.go +++ b/fix50/settlptyssubgrp/SettlPtysSubGrp.go @@ -1,5 +1,10 @@ package settlptyssubgrp +func New() *SettlPtysSubGrp { + var m SettlPtysSubGrp + return &m +} + //NoSettlPartySubIDs is a repeating group in SettlPtysSubGrp type NoSettlPartySubIDs struct { //SettlPartySubID is a non-required field for NoSettlPartySubIDs. diff --git a/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index 24e1b2f4f..d7877902c 100644 --- a/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(nosides []NoSides) *SideCrossOrdCxlGrp { + var m SideCrossOrdCxlGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in SideCrossOrdCxlGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go index b162fd0e7..805e1a425 100644 --- a/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -8,6 +8,12 @@ import ( "time" ) +func New(nosides []NoSides) *SideCrossOrdModGrp { + var m SideCrossOrdModGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in SideCrossOrdModGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50/sidetrdregts/SideTrdRegTS.go b/fix50/sidetrdregts/SideTrdRegTS.go index 2e52bcfca..7407037a3 100644 --- a/fix50/sidetrdregts/SideTrdRegTS.go +++ b/fix50/sidetrdregts/SideTrdRegTS.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *SideTrdRegTS { + var m SideTrdRegTS + return &m +} + //NoSideTrdRegTS is a repeating group in SideTrdRegTS type NoSideTrdRegTS struct { //SideTrdRegTimestamp is a non-required field for NoSideTrdRegTS. diff --git a/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index 7ba2417cd..3e29dd44e 100644 --- a/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix50/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,10 @@ package spreadorbenchmarkcurvedata +func New() *SpreadOrBenchmarkCurveData { + var m SpreadOrBenchmarkCurveData + return &m +} + //SpreadOrBenchmarkCurveData is a fix50 Component type SpreadOrBenchmarkCurveData struct { //Spread is a non-required field for SpreadOrBenchmarkCurveData. diff --git a/fix50/stipulations/Stipulations.go b/fix50/stipulations/Stipulations.go index edd68d80e..e35d6a779 100644 --- a/fix50/stipulations/Stipulations.go +++ b/fix50/stipulations/Stipulations.go @@ -1,5 +1,10 @@ package stipulations +func New() *Stipulations { + var m Stipulations + return &m +} + //NoStipulations is a repeating group in Stipulations type NoStipulations struct { //StipulationType is a non-required field for NoStipulations. diff --git a/fix50/strategyparametersgrp/StrategyParametersGrp.go b/fix50/strategyparametersgrp/StrategyParametersGrp.go index 50b636ff7..13823fd9d 100644 --- a/fix50/strategyparametersgrp/StrategyParametersGrp.go +++ b/fix50/strategyparametersgrp/StrategyParametersGrp.go @@ -1,5 +1,10 @@ package strategyparametersgrp +func New() *StrategyParametersGrp { + var m StrategyParametersGrp + return &m +} + //NoStrategyParameters is a repeating group in StrategyParametersGrp type NoStrategyParameters struct { //StrategyParameterName is a non-required field for NoStrategyParameters. diff --git a/fix50/trdallocgrp/TrdAllocGrp.go b/fix50/trdallocgrp/TrdAllocGrp.go index 4c126e195..78bb5742c 100644 --- a/fix50/trdallocgrp/TrdAllocGrp.go +++ b/fix50/trdallocgrp/TrdAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties2" ) +func New() *TrdAllocGrp { + var m TrdAllocGrp + return &m +} + //NoAllocs is a repeating group in TrdAllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50/trdcapdtgrp/TrdCapDtGrp.go b/fix50/trdcapdtgrp/TrdCapDtGrp.go index 153595aa5..832a9d7f9 100644 --- a/fix50/trdcapdtgrp/TrdCapDtGrp.go +++ b/fix50/trdcapdtgrp/TrdCapDtGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdCapDtGrp { + var m TrdCapDtGrp + return &m +} + //NoDates is a repeating group in TrdCapDtGrp type NoDates struct { //TradeDate is a non-required field for NoDates. diff --git a/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index bf2c23060..6f84d190b 100644 --- a/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -12,6 +12,12 @@ import ( "time" ) +func New(nosides []NoSides) *TrdCapRptAckSideGrp { + var m TrdCapRptAckSideGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in TrdCapRptAckSideGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go index 541e65457..5f1613143 100644 --- a/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -12,6 +12,12 @@ import ( "time" ) +func New(nosides []NoSides) *TrdCapRptSideGrp { + var m TrdCapRptSideGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in TrdCapRptSideGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50/trdcollgrp/TrdCollGrp.go b/fix50/trdcollgrp/TrdCollGrp.go index 2b3beefed..56d208714 100644 --- a/fix50/trdcollgrp/TrdCollGrp.go +++ b/fix50/trdcollgrp/TrdCollGrp.go @@ -1,5 +1,10 @@ package trdcollgrp +func New() *TrdCollGrp { + var m TrdCollGrp + return &m +} + //NoTrades is a repeating group in TrdCollGrp type NoTrades struct { //TradeReportID is a non-required field for NoTrades. diff --git a/fix50/trdgsesgrp/TrdgSesGrp.go b/fix50/trdgsesgrp/TrdgSesGrp.go index a4583c025..02424d931 100644 --- a/fix50/trdgsesgrp/TrdgSesGrp.go +++ b/fix50/trdgsesgrp/TrdgSesGrp.go @@ -1,5 +1,10 @@ package trdgsesgrp +func New() *TrdgSesGrp { + var m TrdgSesGrp + return &m +} + //NoTradingSessions is a repeating group in TrdgSesGrp type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. diff --git a/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go index 49f9dda2f..aaa04e540 100644 --- a/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/nestedparties" ) +func New() *TrdInstrmtLegGrp { + var m TrdInstrmtLegGrp + return &m +} + //NoLegs is a repeating group in TrdInstrmtLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50/trdregtimestamps/TrdRegTimestamps.go b/fix50/trdregtimestamps/TrdRegTimestamps.go index db47b0fda..50b673ad0 100644 --- a/fix50/trdregtimestamps/TrdRegTimestamps.go +++ b/fix50/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdRegTimestamps { + var m TrdRegTimestamps + return &m +} + //NoTrdRegTimestamps is a repeating group in TrdRegTimestamps type NoTrdRegTimestamps struct { //TrdRegTimestamp is a non-required field for NoTrdRegTimestamps. diff --git a/fix50/trdsesslstgrp/TrdSessLstGrp.go b/fix50/trdsesslstgrp/TrdSessLstGrp.go index c3bc1add0..02e4cc239 100644 --- a/fix50/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50/trdsesslstgrp/TrdSessLstGrp.go @@ -4,6 +4,12 @@ import ( "time" ) +func New(notradingsessions []NoTradingSessions) *TrdSessLstGrp { + var m TrdSessLstGrp + m.SetNoTradingSessions(notradingsessions) + return &m +} + //NoTradingSessions is a repeating group in TrdSessLstGrp type NoTradingSessions struct { //TradingSessionID is a required field for NoTradingSessions. diff --git a/fix50/triggeringinstruction/TriggeringInstruction.go b/fix50/triggeringinstruction/TriggeringInstruction.go index 7db886610..5e984dd34 100644 --- a/fix50/triggeringinstruction/TriggeringInstruction.go +++ b/fix50/triggeringinstruction/TriggeringInstruction.go @@ -1,5 +1,10 @@ package triggeringinstruction +func New() *TriggeringInstruction { + var m TriggeringInstruction + return &m +} + //TriggeringInstruction is a fix50 Component type TriggeringInstruction struct { //TriggerType is a non-required field for TriggeringInstruction. diff --git a/fix50/underlyingamount/UnderlyingAmount.go b/fix50/underlyingamount/UnderlyingAmount.go index bb49508db..88d10fcde 100644 --- a/fix50/underlyingamount/UnderlyingAmount.go +++ b/fix50/underlyingamount/UnderlyingAmount.go @@ -1,5 +1,10 @@ package underlyingamount +func New() *UnderlyingAmount { + var m UnderlyingAmount + return &m +} + //NoUnderlyingAmounts is a repeating group in UnderlyingAmount type NoUnderlyingAmounts struct { //UnderlyingPayAmount is a non-required field for NoUnderlyingAmounts. diff --git a/fix50/underlyinginstrument/UnderlyingInstrument.go b/fix50/underlyinginstrument/UnderlyingInstrument.go index 9401f6a48..887db1a04 100644 --- a/fix50/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50/underlyinginstrument/UnderlyingInstrument.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/undsecaltidgrp" ) +func New() *UnderlyingInstrument { + var m UnderlyingInstrument + return &m +} + //UnderlyingInstrument is a fix50 Component type UnderlyingInstrument struct { //UnderlyingSymbol is a non-required field for UnderlyingInstrument. diff --git a/fix50/underlyingstipulations/UnderlyingStipulations.go b/fix50/underlyingstipulations/UnderlyingStipulations.go index 3c146d64d..af2a6dfd2 100644 --- a/fix50/underlyingstipulations/UnderlyingStipulations.go +++ b/fix50/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,10 @@ package underlyingstipulations +func New() *UnderlyingStipulations { + var m UnderlyingStipulations + return &m +} + //NoUnderlyingStips is a repeating group in UnderlyingStipulations type NoUnderlyingStips struct { //UnderlyingStipType is a non-required field for NoUnderlyingStips. diff --git a/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go index 69afd9461..19926dc58 100644 --- a/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +func New() *UndInstrmtCollGrp { + var m UndInstrmtCollGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtCollGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50/undinstrmtgrp/UndInstrmtGrp.go b/fix50/undinstrmtgrp/UndInstrmtGrp.go index d6ff0f529..b25970525 100644 --- a/fix50/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50/undinstrmtgrp/UndInstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +func New() *UndInstrmtGrp { + var m UndInstrmtGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go b/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go index 0853e9b3c..b5183a288 100644 --- a/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go +++ b/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/underlyinginstrument" ) +func New() *UndInstrmtStrkPxGrp { + var m UndInstrmtStrkPxGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtStrkPxGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50/undlyinstrumentparties/UndlyInstrumentParties.go index b227f5e7d..1d9b4bd18 100644 --- a/fix50/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50/undlyinstrumentparties/UndlyInstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50/undlyinstrumentptyssubgrp" ) +func New() *UndlyInstrumentParties { + var m UndlyInstrumentParties + return &m +} + //NoUndlyInstrumentParties is a repeating group in UndlyInstrumentParties type NoUndlyInstrumentParties struct { //UndlyInstrumentPartyID is a non-required field for NoUndlyInstrumentParties. diff --git a/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go b/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go index 75f016b8d..039de6e17 100644 --- a/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go +++ b/fix50/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go @@ -1,5 +1,10 @@ package undlyinstrumentptyssubgrp +func New() *UndlyInstrumentPtysSubGrp { + var m UndlyInstrumentPtysSubGrp + return &m +} + //NoUndlyInstrumentPartySubIDs is a repeating group in UndlyInstrumentPtysSubGrp type NoUndlyInstrumentPartySubIDs struct { //UndlyInstrumentPartySubID is a non-required field for NoUndlyInstrumentPartySubIDs. diff --git a/fix50/undsecaltidgrp/UndSecAltIDGrp.go b/fix50/undsecaltidgrp/UndSecAltIDGrp.go index e2a836293..896fb545e 100644 --- a/fix50/undsecaltidgrp/UndSecAltIDGrp.go +++ b/fix50/undsecaltidgrp/UndSecAltIDGrp.go @@ -1,5 +1,10 @@ package undsecaltidgrp +func New() *UndSecAltIDGrp { + var m UndSecAltIDGrp + return &m +} + //NoUnderlyingSecurityAltID is a repeating group in UndSecAltIDGrp type NoUnderlyingSecurityAltID struct { //UnderlyingSecurityAltID is a non-required field for NoUnderlyingSecurityAltID. diff --git a/fix50/yielddata/YieldData.go b/fix50/yielddata/YieldData.go index 9874fe64a..c75673c57 100644 --- a/fix50/yielddata/YieldData.go +++ b/fix50/yielddata/YieldData.go @@ -1,5 +1,10 @@ package yielddata +func New() *YieldData { + var m YieldData + return &m +} + //YieldData is a fix50 Component type YieldData struct { //YieldType is a non-required field for YieldData. diff --git a/fix50sp1/affectedordgrp/AffectedOrdGrp.go b/fix50sp1/affectedordgrp/AffectedOrdGrp.go index e86f52d3e..742337fac 100644 --- a/fix50sp1/affectedordgrp/AffectedOrdGrp.go +++ b/fix50sp1/affectedordgrp/AffectedOrdGrp.go @@ -1,5 +1,10 @@ package affectedordgrp +func New() *AffectedOrdGrp { + var m AffectedOrdGrp + return &m +} + //NoAffectedOrders is a repeating group in AffectedOrdGrp type NoAffectedOrders struct { //OrigClOrdID is a non-required field for NoAffectedOrders. diff --git a/fix50sp1/allocackgrp/AllocAckGrp.go b/fix50sp1/allocackgrp/AllocAckGrp.go index 407f46eac..a1100b340 100644 --- a/fix50sp1/allocackgrp/AllocAckGrp.go +++ b/fix50sp1/allocackgrp/AllocAckGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *AllocAckGrp { + var m AllocAckGrp + return &m +} + //NoAllocs is a repeating group in AllocAckGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp1/allocgrp/AllocGrp.go b/fix50sp1/allocgrp/AllocGrp.go index c1f3c9965..3c9b16670 100644 --- a/fix50sp1/allocgrp/AllocGrp.go +++ b/fix50sp1/allocgrp/AllocGrp.go @@ -8,6 +8,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlinstructionsdata" ) +func New() *AllocGrp { + var m AllocGrp + return &m +} + //NoAllocs is a repeating group in AllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go b/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go index f5765a2a1..3f6da3b1e 100644 --- a/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go +++ b/fix50sp1/applicationsequencecontrol/ApplicationSequenceControl.go @@ -1,5 +1,10 @@ package applicationsequencecontrol +func New() *ApplicationSequenceControl { + var m ApplicationSequenceControl + return &m +} + //ApplicationSequenceControl is a fix50sp1 Component type ApplicationSequenceControl struct { //ApplID is a non-required field for ApplicationSequenceControl. diff --git a/fix50sp1/applidreportgrp/ApplIDReportGrp.go b/fix50sp1/applidreportgrp/ApplIDReportGrp.go index 39e544397..eb1242a6b 100644 --- a/fix50sp1/applidreportgrp/ApplIDReportGrp.go +++ b/fix50sp1/applidreportgrp/ApplIDReportGrp.go @@ -1,5 +1,10 @@ package applidreportgrp +func New() *ApplIDReportGrp { + var m ApplIDReportGrp + return &m +} + //NoApplIDs is a repeating group in ApplIDReportGrp type NoApplIDs struct { //RefApplID is a non-required field for NoApplIDs. diff --git a/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go b/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go index 11f3cedd9..a2a166c27 100644 --- a/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go +++ b/fix50sp1/applidrequestackgrp/ApplIDRequestAckGrp.go @@ -1,5 +1,10 @@ package applidrequestackgrp +func New() *ApplIDRequestAckGrp { + var m ApplIDRequestAckGrp + return &m +} + //NoApplIDs is a repeating group in ApplIDRequestAckGrp type NoApplIDs struct { //RefApplID is a non-required field for NoApplIDs. diff --git a/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go b/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go index 137877f03..62bc28e2c 100644 --- a/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go +++ b/fix50sp1/applidrequestgrp/ApplIDRequestGrp.go @@ -1,5 +1,10 @@ package applidrequestgrp +func New() *ApplIDRequestGrp { + var m ApplIDRequestGrp + return &m +} + //NoApplIDs is a repeating group in ApplIDRequestGrp type NoApplIDs struct { //RefApplID is a non-required field for NoApplIDs. diff --git a/fix50sp1/attrbgrp/AttrbGrp.go b/fix50sp1/attrbgrp/AttrbGrp.go index dfcccfe7b..3886732ea 100644 --- a/fix50sp1/attrbgrp/AttrbGrp.go +++ b/fix50sp1/attrbgrp/AttrbGrp.go @@ -1,5 +1,10 @@ package attrbgrp +func New() *AttrbGrp { + var m AttrbGrp + return &m +} + //NoInstrAttrib is a repeating group in AttrbGrp type NoInstrAttrib struct { //InstrAttribType is a non-required field for NoInstrAttrib. diff --git a/fix50sp1/basetradingrules/BaseTradingRules.go b/fix50sp1/basetradingrules/BaseTradingRules.go index 94b016480..acebccecc 100644 --- a/fix50sp1/basetradingrules/BaseTradingRules.go +++ b/fix50sp1/basetradingrules/BaseTradingRules.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tickrules" ) +func New() *BaseTradingRules { + var m BaseTradingRules + return &m +} + //BaseTradingRules is a fix50sp1 Component type BaseTradingRules struct { //TickRules is a non-required component for BaseTradingRules. diff --git a/fix50sp1/bidcompreqgrp/BidCompReqGrp.go b/fix50sp1/bidcompreqgrp/BidCompReqGrp.go index 0b9d9cff3..773adb42b 100644 --- a/fix50sp1/bidcompreqgrp/BidCompReqGrp.go +++ b/fix50sp1/bidcompreqgrp/BidCompReqGrp.go @@ -1,5 +1,10 @@ package bidcompreqgrp +func New() *BidCompReqGrp { + var m BidCompReqGrp + return &m +} + //NoBidComponents is a repeating group in BidCompReqGrp type NoBidComponents struct { //ListID is a non-required field for NoBidComponents. diff --git a/fix50sp1/bidcomprspgrp/BidCompRspGrp.go b/fix50sp1/bidcomprspgrp/BidCompRspGrp.go index a2f9f4e63..058b3d197 100644 --- a/fix50sp1/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50sp1/bidcomprspgrp/BidCompRspGrp.go @@ -4,6 +4,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/commissiondata" ) +func New(nobidcomponents []NoBidComponents) *BidCompRspGrp { + var m BidCompRspGrp + m.SetNoBidComponents(nobidcomponents) + return &m +} + //NoBidComponents is a repeating group in BidCompRspGrp type NoBidComponents struct { //CommissionData is a required component for NoBidComponents. diff --git a/fix50sp1/biddescreqgrp/BidDescReqGrp.go b/fix50sp1/biddescreqgrp/BidDescReqGrp.go index 8407c47ee..f51b06a90 100644 --- a/fix50sp1/biddescreqgrp/BidDescReqGrp.go +++ b/fix50sp1/biddescreqgrp/BidDescReqGrp.go @@ -1,5 +1,10 @@ package biddescreqgrp +func New() *BidDescReqGrp { + var m BidDescReqGrp + return &m +} + //NoBidDescriptors is a repeating group in BidDescReqGrp type NoBidDescriptors struct { //BidDescriptorType is a non-required field for NoBidDescriptors. diff --git a/fix50sp1/clrinstgrp/ClrInstGrp.go b/fix50sp1/clrinstgrp/ClrInstGrp.go index 1361b7be2..5074b002c 100644 --- a/fix50sp1/clrinstgrp/ClrInstGrp.go +++ b/fix50sp1/clrinstgrp/ClrInstGrp.go @@ -1,5 +1,10 @@ package clrinstgrp +func New() *ClrInstGrp { + var m ClrInstGrp + return &m +} + //NoClearingInstructions is a repeating group in ClrInstGrp type NoClearingInstructions struct { //ClearingInstruction is a non-required field for NoClearingInstructions. diff --git a/fix50sp1/collinqqualgrp/CollInqQualGrp.go b/fix50sp1/collinqqualgrp/CollInqQualGrp.go index 35815ece8..c474f3e44 100644 --- a/fix50sp1/collinqqualgrp/CollInqQualGrp.go +++ b/fix50sp1/collinqqualgrp/CollInqQualGrp.go @@ -1,5 +1,10 @@ package collinqqualgrp +func New() *CollInqQualGrp { + var m CollInqQualGrp + return &m +} + //NoCollInquiryQualifier is a repeating group in CollInqQualGrp type NoCollInquiryQualifier struct { //CollInquiryQualifier is a non-required field for NoCollInquiryQualifier. diff --git a/fix50sp1/commissiondata/CommissionData.go b/fix50sp1/commissiondata/CommissionData.go index c289410a7..8bc2d7b88 100644 --- a/fix50sp1/commissiondata/CommissionData.go +++ b/fix50sp1/commissiondata/CommissionData.go @@ -1,5 +1,10 @@ package commissiondata +func New() *CommissionData { + var m CommissionData + return &m +} + //CommissionData is a fix50sp1 Component type CommissionData struct { //Commission is a non-required field for CommissionData. diff --git a/fix50sp1/compidreqgrp/CompIDReqGrp.go b/fix50sp1/compidreqgrp/CompIDReqGrp.go index bbde0cb6d..2c44640ab 100644 --- a/fix50sp1/compidreqgrp/CompIDReqGrp.go +++ b/fix50sp1/compidreqgrp/CompIDReqGrp.go @@ -1,5 +1,10 @@ package compidreqgrp +func New() *CompIDReqGrp { + var m CompIDReqGrp + return &m +} + //NoCompIDs is a repeating group in CompIDReqGrp type NoCompIDs struct { //RefCompID is a non-required field for NoCompIDs. diff --git a/fix50sp1/compidstatgrp/CompIDStatGrp.go b/fix50sp1/compidstatgrp/CompIDStatGrp.go index 6365a4677..2d7e2403e 100644 --- a/fix50sp1/compidstatgrp/CompIDStatGrp.go +++ b/fix50sp1/compidstatgrp/CompIDStatGrp.go @@ -1,5 +1,11 @@ package compidstatgrp +func New(nocompids []NoCompIDs) *CompIDStatGrp { + var m CompIDStatGrp + m.SetNoCompIDs(nocompids) + return &m +} + //NoCompIDs is a repeating group in CompIDStatGrp type NoCompIDs struct { //RefCompID is a required field for NoCompIDs. diff --git a/fix50sp1/contamtgrp/ContAmtGrp.go b/fix50sp1/contamtgrp/ContAmtGrp.go index a97ca8c66..9fa9736d4 100644 --- a/fix50sp1/contamtgrp/ContAmtGrp.go +++ b/fix50sp1/contamtgrp/ContAmtGrp.go @@ -1,5 +1,10 @@ package contamtgrp +func New() *ContAmtGrp { + var m ContAmtGrp + return &m +} + //NoContAmts is a repeating group in ContAmtGrp type NoContAmts struct { //ContAmtType is a non-required field for NoContAmts. diff --git a/fix50sp1/contragrp/ContraGrp.go b/fix50sp1/contragrp/ContraGrp.go index 716fc80ff..231bfe375 100644 --- a/fix50sp1/contragrp/ContraGrp.go +++ b/fix50sp1/contragrp/ContraGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *ContraGrp { + var m ContraGrp + return &m +} + //NoContraBrokers is a repeating group in ContraGrp type NoContraBrokers struct { //ContraBroker is a non-required field for NoContraBrokers. diff --git a/fix50sp1/cpctyconfgrp/CpctyConfGrp.go b/fix50sp1/cpctyconfgrp/CpctyConfGrp.go index c0b2ba95e..0f623c819 100644 --- a/fix50sp1/cpctyconfgrp/CpctyConfGrp.go +++ b/fix50sp1/cpctyconfgrp/CpctyConfGrp.go @@ -1,5 +1,11 @@ package cpctyconfgrp +func New(nocapacities []NoCapacities) *CpctyConfGrp { + var m CpctyConfGrp + m.SetNoCapacities(nocapacities) + return &m +} + //NoCapacities is a repeating group in CpctyConfGrp type NoCapacities struct { //OrderCapacity is a required field for NoCapacities. diff --git a/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go b/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go index 119506447..cc8bdb757 100644 --- a/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go +++ b/fix50sp1/derivativeeventsgrp/DerivativeEventsGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *DerivativeEventsGrp { + var m DerivativeEventsGrp + return &m +} + //NoDerivativeEvents is a repeating group in DerivativeEventsGrp type NoDerivativeEvents struct { //DerivativeEventType is a non-required field for NoDerivativeEvents. diff --git a/fix50sp1/derivativeinstrument/DerivativeInstrument.go b/fix50sp1/derivativeinstrument/DerivativeInstrument.go index 05c42047b..8ebaecbe2 100644 --- a/fix50sp1/derivativeinstrument/DerivativeInstrument.go +++ b/fix50sp1/derivativeinstrument/DerivativeInstrument.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/derivativesecurityxml" ) +func New() *DerivativeInstrument { + var m DerivativeInstrument + return &m +} + //DerivativeInstrument is a fix50sp1 Component type DerivativeInstrument struct { //DerivativeSymbol is a non-required field for DerivativeInstrument. diff --git a/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go b/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go index 7c8208406..adb844187 100644 --- a/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go +++ b/fix50sp1/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go @@ -1,5 +1,10 @@ package derivativeinstrumentattribute +func New() *DerivativeInstrumentAttribute { + var m DerivativeInstrumentAttribute + return &m +} + //NoDerivativeInstrAttrib is a repeating group in DerivativeInstrumentAttribute type NoDerivativeInstrAttrib struct { //DerivativeInstrAttribType is a non-required field for NoDerivativeInstrAttrib. diff --git a/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go b/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go index fdfc011e0..340dbe0a7 100644 --- a/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go +++ b/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/derivativeinstrumentpartysubidsgrp" ) +func New() *DerivativeInstrumentParties { + var m DerivativeInstrumentParties + return &m +} + //NoDerivativeInstrumentParties is a repeating group in DerivativeInstrumentParties type NoDerivativeInstrumentParties struct { //DerivativeInstrumentPartyID is a non-required field for NoDerivativeInstrumentParties. diff --git a/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go b/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go index da8a74101..2133c2c1a 100644 --- a/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go +++ b/fix50sp1/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go @@ -1,5 +1,10 @@ package derivativeinstrumentpartysubidsgrp +func New() *DerivativeInstrumentPartySubIDsGrp { + var m DerivativeInstrumentPartySubIDsGrp + return &m +} + //NoDerivativeInstrumentPartySubIDs is a repeating group in DerivativeInstrumentPartySubIDsGrp type NoDerivativeInstrumentPartySubIDs struct { //DerivativeInstrumentPartySubID is a non-required field for NoDerivativeInstrumentPartySubIDs. diff --git a/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go b/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go index 4ae31955d..fd70b3fd7 100644 --- a/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go +++ b/fix50sp1/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go @@ -1,5 +1,10 @@ package derivativesecurityaltidgrp +func New() *DerivativeSecurityAltIDGrp { + var m DerivativeSecurityAltIDGrp + return &m +} + //NoDerivativeSecurityAltID is a repeating group in DerivativeSecurityAltIDGrp type NoDerivativeSecurityAltID struct { //DerivativeSecurityAltID is a non-required field for NoDerivativeSecurityAltID. diff --git a/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go b/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go index 1455772c2..35dcf5060 100644 --- a/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go +++ b/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/marketsegmentgrp" ) +func New() *DerivativeSecurityDefinition { + var m DerivativeSecurityDefinition + return &m +} + //DerivativeSecurityDefinition is a fix50sp1 Component type DerivativeSecurityDefinition struct { //DerivativeInstrument is a non-required component for DerivativeSecurityDefinition. diff --git a/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go b/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go index 69cce8869..be60a7110 100644 --- a/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go +++ b/fix50sp1/derivativesecurityxml/DerivativeSecurityXML.go @@ -1,5 +1,10 @@ package derivativesecurityxml +func New() *DerivativeSecurityXML { + var m DerivativeSecurityXML + return &m +} + //DerivativeSecurityXML is a fix50sp1 Component type DerivativeSecurityXML struct { //DerivativeSecurityXMLLen is a non-required field for DerivativeSecurityXML. diff --git a/fix50sp1/discretioninstructions/DiscretionInstructions.go b/fix50sp1/discretioninstructions/DiscretionInstructions.go index 41f53c872..0d901eea2 100644 --- a/fix50sp1/discretioninstructions/DiscretionInstructions.go +++ b/fix50sp1/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,10 @@ package discretioninstructions +func New() *DiscretionInstructions { + var m DiscretionInstructions + return &m +} + //DiscretionInstructions is a fix50sp1 Component type DiscretionInstructions struct { //DiscretionInst is a non-required field for DiscretionInstructions. diff --git a/fix50sp1/displayinstruction/DisplayInstruction.go b/fix50sp1/displayinstruction/DisplayInstruction.go index 19a367e92..c983b5037 100644 --- a/fix50sp1/displayinstruction/DisplayInstruction.go +++ b/fix50sp1/displayinstruction/DisplayInstruction.go @@ -1,5 +1,10 @@ package displayinstruction +func New() *DisplayInstruction { + var m DisplayInstruction + return &m +} + //DisplayInstruction is a fix50sp1 Component type DisplayInstruction struct { //SecondaryDisplayQty is a non-required field for DisplayInstruction. diff --git a/fix50sp1/dlvyinstgrp/DlvyInstGrp.go b/fix50sp1/dlvyinstgrp/DlvyInstGrp.go index 666397ef7..d4999e336 100644 --- a/fix50sp1/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50sp1/dlvyinstgrp/DlvyInstGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlparties" ) +func New() *DlvyInstGrp { + var m DlvyInstGrp + return &m +} + //NoDlvyInst is a repeating group in DlvyInstGrp type NoDlvyInst struct { //SettlInstSource is a non-required field for NoDlvyInst. diff --git a/fix50sp1/evntgrp/EvntGrp.go b/fix50sp1/evntgrp/EvntGrp.go index 1e1c92a94..8985a5825 100644 --- a/fix50sp1/evntgrp/EvntGrp.go +++ b/fix50sp1/evntgrp/EvntGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *EvntGrp { + var m EvntGrp + return &m +} + //NoEvents is a repeating group in EvntGrp type NoEvents struct { //EventType is a non-required field for NoEvents. diff --git a/fix50sp1/execallocgrp/ExecAllocGrp.go b/fix50sp1/execallocgrp/ExecAllocGrp.go index 3f9f6f2ba..6c44fce17 100644 --- a/fix50sp1/execallocgrp/ExecAllocGrp.go +++ b/fix50sp1/execallocgrp/ExecAllocGrp.go @@ -1,5 +1,10 @@ package execallocgrp +func New() *ExecAllocGrp { + var m ExecAllocGrp + return &m +} + //NoExecs is a repeating group in ExecAllocGrp type NoExecs struct { //LastQty is a non-required field for NoExecs. diff --git a/fix50sp1/execcollgrp/ExecCollGrp.go b/fix50sp1/execcollgrp/ExecCollGrp.go index 4d8288e19..3ee8e41b3 100644 --- a/fix50sp1/execcollgrp/ExecCollGrp.go +++ b/fix50sp1/execcollgrp/ExecCollGrp.go @@ -1,5 +1,10 @@ package execcollgrp +func New() *ExecCollGrp { + var m ExecCollGrp + return &m +} + //NoExecs is a repeating group in ExecCollGrp type NoExecs struct { //ExecID is a non-required field for NoExecs. diff --git a/fix50sp1/execinstrules/ExecInstRules.go b/fix50sp1/execinstrules/ExecInstRules.go index 46c051e88..01c83361c 100644 --- a/fix50sp1/execinstrules/ExecInstRules.go +++ b/fix50sp1/execinstrules/ExecInstRules.go @@ -1,5 +1,10 @@ package execinstrules +func New() *ExecInstRules { + var m ExecInstRules + return &m +} + //NoExecInstRules is a repeating group in ExecInstRules type NoExecInstRules struct { //ExecInstValue is a non-required field for NoExecInstRules. diff --git a/fix50sp1/expirationqty/ExpirationQty.go b/fix50sp1/expirationqty/ExpirationQty.go index 2fdd9660d..0b9ecd102 100644 --- a/fix50sp1/expirationqty/ExpirationQty.go +++ b/fix50sp1/expirationqty/ExpirationQty.go @@ -1,5 +1,10 @@ package expirationqty +func New() *ExpirationQty { + var m ExpirationQty + return &m +} + //NoExpiration is a repeating group in ExpirationQty type NoExpiration struct { //ExpirationQtyType is a non-required field for NoExpiration. diff --git a/fix50sp1/fillsgrp/FillsGrp.go b/fix50sp1/fillsgrp/FillsGrp.go index 329fe1549..9e86435f2 100644 --- a/fix50sp1/fillsgrp/FillsGrp.go +++ b/fix50sp1/fillsgrp/FillsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties4" ) +func New() *FillsGrp { + var m FillsGrp + return &m +} + //NoFills is a repeating group in FillsGrp type NoFills struct { //FillExecID is a non-required field for NoFills. diff --git a/fix50sp1/financingdetails/FinancingDetails.go b/fix50sp1/financingdetails/FinancingDetails.go index d79602182..5d9a04f62 100644 --- a/fix50sp1/financingdetails/FinancingDetails.go +++ b/fix50sp1/financingdetails/FinancingDetails.go @@ -1,5 +1,10 @@ package financingdetails +func New() *FinancingDetails { + var m FinancingDetails + return &m +} + //FinancingDetails is a fix50sp1 Component type FinancingDetails struct { //AgreementDesc is a non-required field for FinancingDetails. diff --git a/fix50sp1/hopgrp/HopGrp.go b/fix50sp1/hopgrp/HopGrp.go index 9b2c90e8d..62ab5dab2 100644 --- a/fix50sp1/hopgrp/HopGrp.go +++ b/fix50sp1/hopgrp/HopGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *HopGrp { + var m HopGrp + return &m +} + //NoHops is a repeating group in HopGrp type NoHops struct { //HopCompID is a non-required field for NoHops. diff --git a/fix50sp1/instrmtgrp/InstrmtGrp.go b/fix50sp1/instrmtgrp/InstrmtGrp.go index 42441cacc..c5ea66eb3 100644 --- a/fix50sp1/instrmtgrp/InstrmtGrp.go +++ b/fix50sp1/instrmtgrp/InstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/instrument" ) +func New() *InstrmtGrp { + var m InstrmtGrp + return &m +} + //NoRelatedSym is a repeating group in InstrmtGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go index de8ed3eef..d62a9e7a3 100644 --- a/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties3" ) +func New() *InstrmtLegExecGrp { + var m InstrmtLegExecGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegExecGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/instrmtleggrp/InstrmtLegGrp.go b/fix50sp1/instrmtleggrp/InstrmtLegGrp.go index 3f67b4d77..7df3ccc7a 100644 --- a/fix50sp1/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50sp1/instrmtleggrp/InstrmtLegGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/instrumentleg" ) +func New() *InstrmtLegGrp { + var m InstrmtLegGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go index 457951ad9..7865f8d83 100644 --- a/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legstipulations" ) +func New() *InstrmtLegIOIGrp { + var m InstrmtLegIOIGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegIOIGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index b2e62b202..556a93687 100644 --- a/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legstipulations" ) +func New() *InstrmtLegSecListGrp { + var m InstrmtLegSecListGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegSecListGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go index 7cff60c3b..bd806474d 100644 --- a/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -6,6 +6,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +func New(norelatedsym []NoRelatedSym) *InstrmtMDReqGrp { + var m InstrmtMDReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in InstrmtMDReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index 0da50e015..108b06bfb 100644 --- a/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -5,6 +5,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +func New(nostrikes []NoStrikes) *InstrmtStrkPxGrp { + var m InstrmtStrkPxGrp + m.SetNoStrikes(nostrikes) + return &m +} + //NoStrikes is a repeating group in InstrmtStrkPxGrp type NoStrikes struct { //Instrument is a required component for NoStrikes. diff --git a/fix50sp1/instrument/Instrument.go b/fix50sp1/instrument/Instrument.go index 4c091d559..57ff4c49e 100644 --- a/fix50sp1/instrument/Instrument.go +++ b/fix50sp1/instrument/Instrument.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/securityxml" ) +func New() *Instrument { + var m Instrument + return &m +} + //Instrument is a fix50sp1 Component type Instrument struct { //Symbol is a non-required field for Instrument. diff --git a/fix50sp1/instrumentextension/InstrumentExtension.go b/fix50sp1/instrumentextension/InstrumentExtension.go index ef26a0ea9..4ee3468d9 100644 --- a/fix50sp1/instrumentextension/InstrumentExtension.go +++ b/fix50sp1/instrumentextension/InstrumentExtension.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/attrbgrp" ) +func New() *InstrumentExtension { + var m InstrumentExtension + return &m +} + //InstrumentExtension is a fix50sp1 Component type InstrumentExtension struct { //DeliveryForm is a non-required field for InstrumentExtension. diff --git a/fix50sp1/instrumentleg/InstrumentLeg.go b/fix50sp1/instrumentleg/InstrumentLeg.go index d80fb4016..df1f8310e 100644 --- a/fix50sp1/instrumentleg/InstrumentLeg.go +++ b/fix50sp1/instrumentleg/InstrumentLeg.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legsecaltidgrp" ) +func New() *InstrumentLeg { + var m InstrumentLeg + return &m +} + //InstrumentLeg is a fix50sp1 Component type InstrumentLeg struct { //LegSymbol is a non-required field for InstrumentLeg. diff --git a/fix50sp1/instrumentparties/InstrumentParties.go b/fix50sp1/instrumentparties/InstrumentParties.go index 387c054fa..0b1be902b 100644 --- a/fix50sp1/instrumentparties/InstrumentParties.go +++ b/fix50sp1/instrumentparties/InstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/instrumentptyssubgrp" ) +func New() *InstrumentParties { + var m InstrumentParties + return &m +} + //NoInstrumentParties is a repeating group in InstrumentParties type NoInstrumentParties struct { //InstrumentPartyID is a non-required field for NoInstrumentParties. diff --git a/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go b/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go index d305f2124..b3a005855 100644 --- a/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go +++ b/fix50sp1/instrumentptyssubgrp/InstrumentPtysSubGrp.go @@ -1,5 +1,10 @@ package instrumentptyssubgrp +func New() *InstrumentPtysSubGrp { + var m InstrumentPtysSubGrp + return &m +} + //NoInstrumentPartySubIDs is a repeating group in InstrumentPtysSubGrp type NoInstrumentPartySubIDs struct { //InstrumentPartySubID is a non-required field for NoInstrumentPartySubIDs. diff --git a/fix50sp1/ioiqualgrp/IOIQualGrp.go b/fix50sp1/ioiqualgrp/IOIQualGrp.go index 1a9beab93..d3288616e 100644 --- a/fix50sp1/ioiqualgrp/IOIQualGrp.go +++ b/fix50sp1/ioiqualgrp/IOIQualGrp.go @@ -1,5 +1,10 @@ package ioiqualgrp +func New() *IOIQualGrp { + var m IOIQualGrp + return &m +} + //NoIOIQualifiers is a repeating group in IOIQualGrp type NoIOIQualifiers struct { //IOIQualifier is a non-required field for NoIOIQualifiers. diff --git a/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go index e8ddffc78..ec297e24f 100644 --- a/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix50sp1/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,10 @@ package legbenchmarkcurvedata +func New() *LegBenchmarkCurveData { + var m LegBenchmarkCurveData + return &m +} + //LegBenchmarkCurveData is a fix50sp1 Component type LegBenchmarkCurveData struct { //LegBenchmarkCurveCurrency is a non-required field for LegBenchmarkCurveData. diff --git a/fix50sp1/legordgrp/LegOrdGrp.go b/fix50sp1/legordgrp/LegOrdGrp.go index fbe56d4b2..63466ea76 100644 --- a/fix50sp1/legordgrp/LegOrdGrp.go +++ b/fix50sp1/legordgrp/LegOrdGrp.go @@ -7,6 +7,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New(nolegs []NoLegs) *LegOrdGrp { + var m LegOrdGrp + m.SetNoLegs(nolegs) + return &m +} + //NoLegs is a repeating group in LegOrdGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/legpreallocgrp/LegPreAllocGrp.go b/fix50sp1/legpreallocgrp/LegPreAllocGrp.go index 82506b2e5..705740590 100644 --- a/fix50sp1/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50sp1/legpreallocgrp/LegPreAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties2" ) +func New() *LegPreAllocGrp { + var m LegPreAllocGrp + return &m +} + //NoLegAllocs is a repeating group in LegPreAllocGrp type NoLegAllocs struct { //LegAllocAccount is a non-required field for NoLegAllocs. diff --git a/fix50sp1/legquotgrp/LegQuotGrp.go b/fix50sp1/legquotgrp/LegQuotGrp.go index d049a9a42..101b5f48b 100644 --- a/fix50sp1/legquotgrp/LegQuotGrp.go +++ b/fix50sp1/legquotgrp/LegQuotGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *LegQuotGrp { + var m LegQuotGrp + return &m +} + //NoLegs is a repeating group in LegQuotGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/legquotstatgrp/LegQuotStatGrp.go b/fix50sp1/legquotstatgrp/LegQuotStatGrp.go index 86f255c3a..dc759ead7 100644 --- a/fix50sp1/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50sp1/legquotstatgrp/LegQuotStatGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *LegQuotStatGrp { + var m LegQuotStatGrp + return &m +} + //NoLegs is a repeating group in LegQuotStatGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go b/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go index 5ea2e0ad9..f5ec8723d 100644 --- a/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go +++ b/fix50sp1/legsecaltidgrp/LegSecAltIDGrp.go @@ -1,5 +1,10 @@ package legsecaltidgrp +func New() *LegSecAltIDGrp { + var m LegSecAltIDGrp + return &m +} + //NoLegSecurityAltID is a repeating group in LegSecAltIDGrp type NoLegSecurityAltID struct { //LegSecurityAltID is a non-required field for NoLegSecurityAltID. diff --git a/fix50sp1/legstipulations/LegStipulations.go b/fix50sp1/legstipulations/LegStipulations.go index 5947e39e5..84fafeb0e 100644 --- a/fix50sp1/legstipulations/LegStipulations.go +++ b/fix50sp1/legstipulations/LegStipulations.go @@ -1,5 +1,10 @@ package legstipulations +func New() *LegStipulations { + var m LegStipulations + return &m +} + //NoLegStipulations is a repeating group in LegStipulations type NoLegStipulations struct { //LegStipulationType is a non-required field for NoLegStipulations. diff --git a/fix50sp1/linesoftextgrp/LinesOfTextGrp.go b/fix50sp1/linesoftextgrp/LinesOfTextGrp.go index 8ba568f9c..363fafb38 100644 --- a/fix50sp1/linesoftextgrp/LinesOfTextGrp.go +++ b/fix50sp1/linesoftextgrp/LinesOfTextGrp.go @@ -1,5 +1,11 @@ package linesoftextgrp +func New(nolinesoftext []NoLinesOfText) *LinesOfTextGrp { + var m LinesOfTextGrp + m.SetNoLinesOfText(nolinesoftext) + return &m +} + //NoLinesOfText is a repeating group in LinesOfTextGrp type NoLinesOfText struct { //Text is a required field for NoLinesOfText. diff --git a/fix50sp1/listordgrp/ListOrdGrp.go b/fix50sp1/listordgrp/ListOrdGrp.go index 27028d6d8..52fbbc3b7 100644 --- a/fix50sp1/listordgrp/ListOrdGrp.go +++ b/fix50sp1/listordgrp/ListOrdGrp.go @@ -19,6 +19,12 @@ import ( "time" ) +func New(noorders []NoOrders) *ListOrdGrp { + var m ListOrdGrp + m.SetNoOrders(noorders) + return &m +} + //NoOrders is a repeating group in ListOrdGrp type NoOrders struct { //ClOrdID is a required field for NoOrders. diff --git a/fix50sp1/lottyperules/LotTypeRules.go b/fix50sp1/lottyperules/LotTypeRules.go index efb110479..c16a96334 100644 --- a/fix50sp1/lottyperules/LotTypeRules.go +++ b/fix50sp1/lottyperules/LotTypeRules.go @@ -1,5 +1,10 @@ package lottyperules +func New() *LotTypeRules { + var m LotTypeRules + return &m +} + //NoLotTypeRules is a repeating group in LotTypeRules type NoLotTypeRules struct { //LotType is a non-required field for NoLotTypeRules. diff --git a/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go b/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go index 96053e544..3d6091427 100644 --- a/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go +++ b/fix50sp1/marketdatafeedtypes/MarketDataFeedTypes.go @@ -1,5 +1,10 @@ package marketdatafeedtypes +func New() *MarketDataFeedTypes { + var m MarketDataFeedTypes + return &m +} + //NoMDFeedTypes is a repeating group in MarketDataFeedTypes type NoMDFeedTypes struct { //MDFeedType is a non-required field for NoMDFeedTypes. diff --git a/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go b/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go index 612b07f2f..10b3da94e 100644 --- a/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go +++ b/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/strikerules" ) +func New() *MarketSegmentGrp { + var m MarketSegmentGrp + return &m +} + //NoMarketSegments is a repeating group in MarketSegmentGrp type NoMarketSegments struct { //MarketID is a non-required field for NoMarketSegments. diff --git a/fix50sp1/matchrules/MatchRules.go b/fix50sp1/matchrules/MatchRules.go index 68071f0a2..5a4983415 100644 --- a/fix50sp1/matchrules/MatchRules.go +++ b/fix50sp1/matchrules/MatchRules.go @@ -1,5 +1,10 @@ package matchrules +func New() *MatchRules { + var m MatchRules + return &m +} + //NoMatchRules is a repeating group in MatchRules type NoMatchRules struct { //MatchAlgorithm is a non-required field for NoMatchRules. diff --git a/fix50sp1/maturityrules/MaturityRules.go b/fix50sp1/maturityrules/MaturityRules.go index 82c6852bb..dd7409359 100644 --- a/fix50sp1/maturityrules/MaturityRules.go +++ b/fix50sp1/maturityrules/MaturityRules.go @@ -1,5 +1,10 @@ package maturityrules +func New() *MaturityRules { + var m MaturityRules + return &m +} + //NoMaturityRules is a repeating group in MaturityRules type NoMaturityRules struct { //MaturityRuleID is a non-required field for NoMaturityRules. diff --git a/fix50sp1/mdfullgrp/MDFullGrp.go b/fix50sp1/mdfullgrp/MDFullGrp.go index 2663f5dde..f43e54fa3 100644 --- a/fix50sp1/mdfullgrp/MDFullGrp.go +++ b/fix50sp1/mdfullgrp/MDFullGrp.go @@ -8,6 +8,12 @@ import ( "time" ) +func New(nomdentries []NoMDEntries) *MDFullGrp { + var m MDFullGrp + m.SetNoMDEntries(nomdentries) + return &m +} + //NoMDEntries is a repeating group in MDFullGrp type NoMDEntries struct { //MDEntryType is a required field for NoMDEntries. diff --git a/fix50sp1/mdincgrp/MDIncGrp.go b/fix50sp1/mdincgrp/MDIncGrp.go index 9b38ef698..dcbf8429e 100644 --- a/fix50sp1/mdincgrp/MDIncGrp.go +++ b/fix50sp1/mdincgrp/MDIncGrp.go @@ -12,6 +12,12 @@ import ( "time" ) +func New(nomdentries []NoMDEntries) *MDIncGrp { + var m MDIncGrp + m.SetNoMDEntries(nomdentries) + return &m +} + //NoMDEntries is a repeating group in MDIncGrp type NoMDEntries struct { //MDUpdateAction is a required field for NoMDEntries. diff --git a/fix50sp1/mdreqgrp/MDReqGrp.go b/fix50sp1/mdreqgrp/MDReqGrp.go index 9260cc0e4..0478b21fc 100644 --- a/fix50sp1/mdreqgrp/MDReqGrp.go +++ b/fix50sp1/mdreqgrp/MDReqGrp.go @@ -1,5 +1,11 @@ package mdreqgrp +func New(nomdentrytypes []NoMDEntryTypes) *MDReqGrp { + var m MDReqGrp + m.SetNoMDEntryTypes(nomdentrytypes) + return &m +} + //NoMDEntryTypes is a repeating group in MDReqGrp type NoMDEntryTypes struct { //MDEntryType is a required field for NoMDEntryTypes. diff --git a/fix50sp1/mdrjctgrp/MDRjctGrp.go b/fix50sp1/mdrjctgrp/MDRjctGrp.go index 98d6cc782..664f68994 100644 --- a/fix50sp1/mdrjctgrp/MDRjctGrp.go +++ b/fix50sp1/mdrjctgrp/MDRjctGrp.go @@ -1,5 +1,10 @@ package mdrjctgrp +func New() *MDRjctGrp { + var m MDRjctGrp + return &m +} + //NoAltMDSource is a repeating group in MDRjctGrp type NoAltMDSource struct { //AltMDSourceID is a non-required field for NoAltMDSource. diff --git a/fix50sp1/miscfeesgrp/MiscFeesGrp.go b/fix50sp1/miscfeesgrp/MiscFeesGrp.go index 9a89f1994..f3eebf672 100644 --- a/fix50sp1/miscfeesgrp/MiscFeesGrp.go +++ b/fix50sp1/miscfeesgrp/MiscFeesGrp.go @@ -1,5 +1,10 @@ package miscfeesgrp +func New() *MiscFeesGrp { + var m MiscFeesGrp + return &m +} + //NoMiscFees is a repeating group in MiscFeesGrp type NoMiscFees struct { //MiscFeeAmt is a non-required field for NoMiscFees. diff --git a/fix50sp1/msgtypegrp/MsgTypeGrp.go b/fix50sp1/msgtypegrp/MsgTypeGrp.go index c3beae8c2..02156b98d 100644 --- a/fix50sp1/msgtypegrp/MsgTypeGrp.go +++ b/fix50sp1/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,10 @@ package msgtypegrp +func New() *MsgTypeGrp { + var m MsgTypeGrp + return &m +} + //NoMsgTypes is a repeating group in MsgTypeGrp type NoMsgTypes struct { //RefMsgType is a non-required field for NoMsgTypes. diff --git a/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go b/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go index e59fc23cd..95bf1f9ed 100644 --- a/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go +++ b/fix50sp1/nestedinstrumentattribute/NestedInstrumentAttribute.go @@ -1,5 +1,10 @@ package nestedinstrumentattribute +func New() *NestedInstrumentAttribute { + var m NestedInstrumentAttribute + return &m +} + //NoNestedInstrAttrib is a repeating group in NestedInstrumentAttribute type NoNestedInstrAttrib struct { //NestedInstrAttribType is a non-required field for NoNestedInstrAttrib. diff --git a/fix50sp1/nestedparties/NestedParties.go b/fix50sp1/nestedparties/NestedParties.go index cdc355c5b..2d06e4666 100644 --- a/fix50sp1/nestedparties/NestedParties.go +++ b/fix50sp1/nestedparties/NestedParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptyssubgrp" ) +func New() *NestedParties { + var m NestedParties + return &m +} + //NoNestedPartyIDs is a repeating group in NestedParties type NoNestedPartyIDs struct { //NestedPartyID is a non-required field for NoNestedPartyIDs. diff --git a/fix50sp1/nestedparties2/NestedParties2.go b/fix50sp1/nestedparties2/NestedParties2.go index 9789db43b..532aa4808 100644 --- a/fix50sp1/nestedparties2/NestedParties2.go +++ b/fix50sp1/nestedparties2/NestedParties2.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptys2subgrp" ) +func New() *NestedParties2 { + var m NestedParties2 + return &m +} + //NoNested2PartyIDs is a repeating group in NestedParties2 type NoNested2PartyIDs struct { //Nested2PartyID is a non-required field for NoNested2PartyIDs. diff --git a/fix50sp1/nestedparties3/NestedParties3.go b/fix50sp1/nestedparties3/NestedParties3.go index 9538abff0..abd2fb7f5 100644 --- a/fix50sp1/nestedparties3/NestedParties3.go +++ b/fix50sp1/nestedparties3/NestedParties3.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptys3subgrp" ) +func New() *NestedParties3 { + var m NestedParties3 + return &m +} + //NoNested3PartyIDs is a repeating group in NestedParties3 type NoNested3PartyIDs struct { //Nested3PartyID is a non-required field for NoNested3PartyIDs. diff --git a/fix50sp1/nestedparties4/NestedParties4.go b/fix50sp1/nestedparties4/NestedParties4.go index ae0f7f512..3763c2dc1 100644 --- a/fix50sp1/nestedparties4/NestedParties4.go +++ b/fix50sp1/nestedparties4/NestedParties4.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nstdptys4subgrp" ) +func New() *NestedParties4 { + var m NestedParties4 + return &m +} + //NoNested4PartyIDs is a repeating group in NestedParties4 type NoNested4PartyIDs struct { //Nested4PartyID is a non-required field for NoNested4PartyIDs. diff --git a/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go b/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go index 1bf539e95..eff8dcfef 100644 --- a/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go +++ b/fix50sp1/notaffectedordersgrp/NotAffectedOrdersGrp.go @@ -1,5 +1,10 @@ package notaffectedordersgrp +func New() *NotAffectedOrdersGrp { + var m NotAffectedOrdersGrp + return &m +} + //NoNotAffectedOrders is a repeating group in NotAffectedOrdersGrp type NoNotAffectedOrders struct { //NotAffOrigClOrdID is a non-required field for NoNotAffectedOrders. diff --git a/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go b/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go index e080e4e6d..dcc195d62 100644 --- a/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go +++ b/fix50sp1/nstdptys2subgrp/NstdPtys2SubGrp.go @@ -1,5 +1,10 @@ package nstdptys2subgrp +func New() *NstdPtys2SubGrp { + var m NstdPtys2SubGrp + return &m +} + //NoNested2PartySubIDs is a repeating group in NstdPtys2SubGrp type NoNested2PartySubIDs struct { //Nested2PartySubID is a non-required field for NoNested2PartySubIDs. diff --git a/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go b/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go index e4038d11c..d24cb9f6c 100644 --- a/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go +++ b/fix50sp1/nstdptys3subgrp/NstdPtys3SubGrp.go @@ -1,5 +1,10 @@ package nstdptys3subgrp +func New() *NstdPtys3SubGrp { + var m NstdPtys3SubGrp + return &m +} + //NoNested3PartySubIDs is a repeating group in NstdPtys3SubGrp type NoNested3PartySubIDs struct { //Nested3PartySubID is a non-required field for NoNested3PartySubIDs. diff --git a/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go b/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go index d52e0b9c3..f795b127a 100644 --- a/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go +++ b/fix50sp1/nstdptys4subgrp/NstdPtys4SubGrp.go @@ -1,5 +1,10 @@ package nstdptys4subgrp +func New() *NstdPtys4SubGrp { + var m NstdPtys4SubGrp + return &m +} + //NoNested4PartySubIDs is a repeating group in NstdPtys4SubGrp type NoNested4PartySubIDs struct { //Nested4PartySubID is a non-required field for NoNested4PartySubIDs. diff --git a/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go b/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go index e4e667e34..b1f094820 100644 --- a/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go +++ b/fix50sp1/nstdptyssubgrp/NstdPtysSubGrp.go @@ -1,5 +1,10 @@ package nstdptyssubgrp +func New() *NstdPtysSubGrp { + var m NstdPtysSubGrp + return &m +} + //NoNestedPartySubIDs is a repeating group in NstdPtysSubGrp type NoNestedPartySubIDs struct { //NestedPartySubID is a non-required field for NoNestedPartySubIDs. diff --git a/fix50sp1/ordallocgrp/OrdAllocGrp.go b/fix50sp1/ordallocgrp/OrdAllocGrp.go index ae8e04df4..c0680eb9f 100644 --- a/fix50sp1/ordallocgrp/OrdAllocGrp.go +++ b/fix50sp1/ordallocgrp/OrdAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties2" ) +func New() *OrdAllocGrp { + var m OrdAllocGrp + return &m +} + //NoOrders is a repeating group in OrdAllocGrp type NoOrders struct { //ClOrdID is a non-required field for NoOrders. diff --git a/fix50sp1/orderqtydata/OrderQtyData.go b/fix50sp1/orderqtydata/OrderQtyData.go index 2a642e417..aebc4326d 100644 --- a/fix50sp1/orderqtydata/OrderQtyData.go +++ b/fix50sp1/orderqtydata/OrderQtyData.go @@ -1,5 +1,10 @@ package orderqtydata +func New() *OrderQtyData { + var m OrderQtyData + return &m +} + //OrderQtyData is a fix50sp1 Component type OrderQtyData struct { //OrderQty is a non-required field for OrderQtyData. diff --git a/fix50sp1/ordliststatgrp/OrdListStatGrp.go b/fix50sp1/ordliststatgrp/OrdListStatGrp.go index 399574bd8..c59d684d0 100644 --- a/fix50sp1/ordliststatgrp/OrdListStatGrp.go +++ b/fix50sp1/ordliststatgrp/OrdListStatGrp.go @@ -1,5 +1,11 @@ package ordliststatgrp +func New(noorders []NoOrders) *OrdListStatGrp { + var m OrdListStatGrp + m.SetNoOrders(noorders) + return &m +} + //NoOrders is a repeating group in OrdListStatGrp type NoOrders struct { //ClOrdID is a non-required field for NoOrders. diff --git a/fix50sp1/ordtyperules/OrdTypeRules.go b/fix50sp1/ordtyperules/OrdTypeRules.go index 6d4d505be..445f9d25b 100644 --- a/fix50sp1/ordtyperules/OrdTypeRules.go +++ b/fix50sp1/ordtyperules/OrdTypeRules.go @@ -1,5 +1,10 @@ package ordtyperules +func New() *OrdTypeRules { + var m OrdTypeRules + return &m +} + //NoOrdTypeRules is a repeating group in OrdTypeRules type NoOrdTypeRules struct { //OrdType is a non-required field for NoOrdTypeRules. diff --git a/fix50sp1/parties/Parties.go b/fix50sp1/parties/Parties.go index 4fc2127f6..ac92708d1 100644 --- a/fix50sp1/parties/Parties.go +++ b/fix50sp1/parties/Parties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/ptyssubgrp" ) +func New() *Parties { + var m Parties + return &m +} + //NoPartyIDs is a repeating group in Parties type NoPartyIDs struct { //PartyID is a non-required field for NoPartyIDs. diff --git a/fix50sp1/peginstructions/PegInstructions.go b/fix50sp1/peginstructions/PegInstructions.go index e6e426ae7..aa4510a36 100644 --- a/fix50sp1/peginstructions/PegInstructions.go +++ b/fix50sp1/peginstructions/PegInstructions.go @@ -1,5 +1,10 @@ package peginstructions +func New() *PegInstructions { + var m PegInstructions + return &m +} + //PegInstructions is a fix50sp1 Component type PegInstructions struct { //PegOffsetValue is a non-required field for PegInstructions. diff --git a/fix50sp1/positionamountdata/PositionAmountData.go b/fix50sp1/positionamountdata/PositionAmountData.go index 2335cff31..67f2411f3 100644 --- a/fix50sp1/positionamountdata/PositionAmountData.go +++ b/fix50sp1/positionamountdata/PositionAmountData.go @@ -1,5 +1,10 @@ package positionamountdata +func New() *PositionAmountData { + var m PositionAmountData + return &m +} + //NoPosAmt is a repeating group in PositionAmountData type NoPosAmt struct { //PosAmtType is a non-required field for NoPosAmt. diff --git a/fix50sp1/positionqty/PositionQty.go b/fix50sp1/positionqty/PositionQty.go index e0554591b..291d5c719 100644 --- a/fix50sp1/positionqty/PositionQty.go +++ b/fix50sp1/positionqty/PositionQty.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *PositionQty { + var m PositionQty + return &m +} + //NoPositions is a repeating group in PositionQty type NoPositions struct { //PosType is a non-required field for NoPositions. diff --git a/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go index 6fcd70810..5e9077529 100644 --- a/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +func New() *PosUndInstrmtGrp { + var m PosUndInstrmtGrp + return &m +} + //NoUnderlyings is a repeating group in PosUndInstrmtGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50sp1/preallocgrp/PreAllocGrp.go b/fix50sp1/preallocgrp/PreAllocGrp.go index 2392a9be6..5af77840c 100644 --- a/fix50sp1/preallocgrp/PreAllocGrp.go +++ b/fix50sp1/preallocgrp/PreAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *PreAllocGrp { + var m PreAllocGrp + return &m +} + //NoAllocs is a repeating group in PreAllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go b/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go index 1ce4603b8..67a24263f 100644 --- a/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties3" ) +func New() *PreAllocMlegGrp { + var m PreAllocMlegGrp + return &m +} + //NoAllocs is a repeating group in PreAllocMlegGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp1/pricelimits/PriceLimits.go b/fix50sp1/pricelimits/PriceLimits.go index bbca2eb23..db50fc193 100644 --- a/fix50sp1/pricelimits/PriceLimits.go +++ b/fix50sp1/pricelimits/PriceLimits.go @@ -1,5 +1,10 @@ package pricelimits +func New() *PriceLimits { + var m PriceLimits + return &m +} + //PriceLimits is a fix50sp1 Component type PriceLimits struct { //PriceLimitType is a non-required field for PriceLimits. diff --git a/fix50sp1/ptyssubgrp/PtysSubGrp.go b/fix50sp1/ptyssubgrp/PtysSubGrp.go index a1a0fc6ad..541334271 100644 --- a/fix50sp1/ptyssubgrp/PtysSubGrp.go +++ b/fix50sp1/ptyssubgrp/PtysSubGrp.go @@ -1,5 +1,10 @@ package ptyssubgrp +func New() *PtysSubGrp { + var m PtysSubGrp + return &m +} + //NoPartySubIDs is a repeating group in PtysSubGrp type NoPartySubIDs struct { //PartySubID is a non-required field for NoPartySubIDs. diff --git a/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go index c74252089..c5ff9106d 100644 --- a/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +func New() *QuotCxlEntriesGrp { + var m QuotCxlEntriesGrp + return &m +} + //NoQuoteEntries is a repeating group in QuotCxlEntriesGrp type NoQuoteEntries struct { //Instrument is a non-required component for NoQuoteEntries. diff --git a/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go b/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go index 53ca1fc6c..a8c11d539 100644 --- a/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *QuotEntryAckGrp { + var m QuotEntryAckGrp + return &m +} + //NoQuoteEntries is a repeating group in QuotEntryAckGrp type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. diff --git a/fix50sp1/quotentrygrp/QuotEntryGrp.go b/fix50sp1/quotentrygrp/QuotEntryGrp.go index f2781551c..9df58209c 100644 --- a/fix50sp1/quotentrygrp/QuotEntryGrp.go +++ b/fix50sp1/quotentrygrp/QuotEntryGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(noquoteentries []NoQuoteEntries) *QuotEntryGrp { + var m QuotEntryGrp + m.SetNoQuoteEntries(noquoteentries) + return &m +} + //NoQuoteEntries is a repeating group in QuotEntryGrp type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. diff --git a/fix50sp1/quotqualgrp/QuotQualGrp.go b/fix50sp1/quotqualgrp/QuotQualGrp.go index 3133410a7..a4c0d09a6 100644 --- a/fix50sp1/quotqualgrp/QuotQualGrp.go +++ b/fix50sp1/quotqualgrp/QuotQualGrp.go @@ -1,5 +1,10 @@ package quotqualgrp +func New() *QuotQualGrp { + var m QuotQualGrp + return &m +} + //NoQuoteQualifiers is a repeating group in QuotQualGrp type NoQuoteQualifiers struct { //QuoteQualifier is a non-required field for NoQuoteQualifiers. diff --git a/fix50sp1/quotreqgrp/QuotReqGrp.go b/fix50sp1/quotreqgrp/QuotReqGrp.go index ba9da08f8..05942021f 100644 --- a/fix50sp1/quotreqgrp/QuotReqGrp.go +++ b/fix50sp1/quotreqgrp/QuotReqGrp.go @@ -14,6 +14,12 @@ import ( "time" ) +func New(norelatedsym []NoRelatedSym) *QuotReqGrp { + var m QuotReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in QuotReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go index a04a921b3..e7a599ae3 100644 --- a/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *QuotReqLegsGrp { + var m QuotReqLegsGrp + return &m +} + //NoLegs is a repeating group in QuotReqLegsGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go index 233831396..67e61340c 100644 --- a/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go @@ -14,6 +14,12 @@ import ( "time" ) +func New(norelatedsym []NoRelatedSym) *QuotReqRjctGrp { + var m QuotReqRjctGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in QuotReqRjctGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp1/quotsetackgrp/QuotSetAckGrp.go b/fix50sp1/quotsetackgrp/QuotSetAckGrp.go index bf8fb896f..cb1002c78 100644 --- a/fix50sp1/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50sp1/quotsetackgrp/QuotSetAckGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +func New() *QuotSetAckGrp { + var m QuotSetAckGrp + return &m +} + //NoQuoteSets is a repeating group in QuotSetAckGrp type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. diff --git a/fix50sp1/quotsetgrp/QuotSetGrp.go b/fix50sp1/quotsetgrp/QuotSetGrp.go index 9fc77a30b..617b81e54 100644 --- a/fix50sp1/quotsetgrp/QuotSetGrp.go +++ b/fix50sp1/quotsetgrp/QuotSetGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(noquotesets []NoQuoteSets) *QuotSetGrp { + var m QuotSetGrp + m.SetNoQuoteSets(noquotesets) + return &m +} + //NoQuoteSets is a repeating group in QuotSetGrp type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. diff --git a/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go index c7761271d..68a1dde03 100644 --- a/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/secondarypricelimits" ) +func New() *RelSymDerivSecGrp { + var m RelSymDerivSecGrp + return &m +} + //NoRelatedSym is a repeating group in RelSymDerivSecGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go b/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go index 4c760f8a5..e442b8fcd 100644 --- a/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go +++ b/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/secondarypricelimits" ) +func New() *RelSymDerivSecUpdGrp { + var m RelSymDerivSecUpdGrp + return &m +} + //NoRelatedSym is a repeating group in RelSymDerivSecUpdGrp type NoRelatedSym struct { //ListUpdateAction is a non-required field for NoRelatedSym. diff --git a/fix50sp1/rfqreqgrp/RFQReqGrp.go b/fix50sp1/rfqreqgrp/RFQReqGrp.go index 92d8f609c..f267d7870 100644 --- a/fix50sp1/rfqreqgrp/RFQReqGrp.go +++ b/fix50sp1/rfqreqgrp/RFQReqGrp.go @@ -6,6 +6,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undinstrmtgrp" ) +func New(norelatedsym []NoRelatedSym) *RFQReqGrp { + var m RFQReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in RFQReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go b/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go index dc1377f01..6bd9597c8 100644 --- a/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go +++ b/fix50sp1/rgstdistinstgrp/RgstDistInstGrp.go @@ -1,5 +1,10 @@ package rgstdistinstgrp +func New() *RgstDistInstGrp { + var m RgstDistInstGrp + return &m +} + //NoDistribInsts is a repeating group in RgstDistInstGrp type NoDistribInsts struct { //DistribPaymentMethod is a non-required field for NoDistribInsts. diff --git a/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go b/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go index 6654e975c..3679ee1c6 100644 --- a/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties" ) +func New() *RgstDtlsGrp { + var m RgstDtlsGrp + return &m +} + //NoRegistDtls is a repeating group in RgstDtlsGrp type NoRegistDtls struct { //RegistDtls is a non-required field for NoRegistDtls. diff --git a/fix50sp1/rootparties/RootParties.go b/fix50sp1/rootparties/RootParties.go index 0a6636d1a..abb6a8364 100644 --- a/fix50sp1/rootparties/RootParties.go +++ b/fix50sp1/rootparties/RootParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/rootsubparties" ) +func New() *RootParties { + var m RootParties + return &m +} + //NoRootPartyIDs is a repeating group in RootParties type NoRootPartyIDs struct { //RootPartyID is a non-required field for NoRootPartyIDs. diff --git a/fix50sp1/rootsubparties/RootSubParties.go b/fix50sp1/rootsubparties/RootSubParties.go index 43ce61634..601f5ab7c 100644 --- a/fix50sp1/rootsubparties/RootSubParties.go +++ b/fix50sp1/rootsubparties/RootSubParties.go @@ -1,5 +1,10 @@ package rootsubparties +func New() *RootSubParties { + var m RootSubParties + return &m +} + //NoRootPartySubIDs is a repeating group in RootSubParties type NoRootPartySubIDs struct { //RootPartySubID is a non-required field for NoRootPartySubIDs. diff --git a/fix50sp1/routinggrp/RoutingGrp.go b/fix50sp1/routinggrp/RoutingGrp.go index 698562972..8ea04c082 100644 --- a/fix50sp1/routinggrp/RoutingGrp.go +++ b/fix50sp1/routinggrp/RoutingGrp.go @@ -1,5 +1,10 @@ package routinggrp +func New() *RoutingGrp { + var m RoutingGrp + return &m +} + //NoRoutingIDs is a repeating group in RoutingGrp type NoRoutingIDs struct { //RoutingType is a non-required field for NoRoutingIDs. diff --git a/fix50sp1/secaltidgrp/SecAltIDGrp.go b/fix50sp1/secaltidgrp/SecAltIDGrp.go index 2a4cce79a..807fcea49 100644 --- a/fix50sp1/secaltidgrp/SecAltIDGrp.go +++ b/fix50sp1/secaltidgrp/SecAltIDGrp.go @@ -1,5 +1,10 @@ package secaltidgrp +func New() *SecAltIDGrp { + var m SecAltIDGrp + return &m +} + //NoSecurityAltID is a repeating group in SecAltIDGrp type NoSecurityAltID struct { //SecurityAltID is a non-required field for NoSecurityAltID. diff --git a/fix50sp1/seclistgrp/SecListGrp.go b/fix50sp1/seclistgrp/SecListGrp.go index 621afe23f..072d54249 100644 --- a/fix50sp1/seclistgrp/SecListGrp.go +++ b/fix50sp1/seclistgrp/SecListGrp.go @@ -13,6 +13,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/yielddata" ) +func New() *SecListGrp { + var m SecListGrp + return &m +} + //NoRelatedSym is a repeating group in SecListGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 7cd5a0a12..97e274238 100644 --- a/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -13,6 +13,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/yielddata" ) +func New() *SecLstUpdRelSymGrp { + var m SecLstUpdRelSymGrp + return &m +} + //NoRelatedSym is a repeating group in SecLstUpdRelSymGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 01249fec1..00138b591 100644 --- a/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/legstipulations" ) +func New() *SecLstUpdRelSymsLegGrp { + var m SecLstUpdRelSymsLegGrp + return &m +} + //NoLegs is a repeating group in SecLstUpdRelSymsLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go b/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go index eb8e25f9b..326506cd1 100644 --- a/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go +++ b/fix50sp1/secondarypricelimits/SecondaryPriceLimits.go @@ -1,5 +1,10 @@ package secondarypricelimits +func New() *SecondaryPriceLimits { + var m SecondaryPriceLimits + return &m +} + //SecondaryPriceLimits is a fix50sp1 Component type SecondaryPriceLimits struct { //SecondaryPriceLimitType is a non-required field for SecondaryPriceLimits. diff --git a/fix50sp1/secsizesgrp/SecSizesGrp.go b/fix50sp1/secsizesgrp/SecSizesGrp.go index 78fb09c4f..da6561593 100644 --- a/fix50sp1/secsizesgrp/SecSizesGrp.go +++ b/fix50sp1/secsizesgrp/SecSizesGrp.go @@ -1,5 +1,10 @@ package secsizesgrp +func New() *SecSizesGrp { + var m SecSizesGrp + return &m +} + //NoOfSecSizes is a repeating group in SecSizesGrp type NoOfSecSizes struct { //MDSecSizeType is a non-required field for NoOfSecSizes. diff --git a/fix50sp1/sectypesgrp/SecTypesGrp.go b/fix50sp1/sectypesgrp/SecTypesGrp.go index dcb3aa414..2ecb7363d 100644 --- a/fix50sp1/sectypesgrp/SecTypesGrp.go +++ b/fix50sp1/sectypesgrp/SecTypesGrp.go @@ -1,5 +1,10 @@ package sectypesgrp +func New() *SecTypesGrp { + var m SecTypesGrp + return &m +} + //NoSecurityTypes is a repeating group in SecTypesGrp type NoSecurityTypes struct { //SecurityType is a non-required field for NoSecurityTypes. diff --git a/fix50sp1/securitytradingrules/SecurityTradingRules.go b/fix50sp1/securitytradingrules/SecurityTradingRules.go index 08bf33f7e..c47c1ee70 100644 --- a/fix50sp1/securitytradingrules/SecurityTradingRules.go +++ b/fix50sp1/securitytradingrules/SecurityTradingRules.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tradingsessionrulesgrp" ) +func New() *SecurityTradingRules { + var m SecurityTradingRules + return &m +} + //SecurityTradingRules is a fix50sp1 Component type SecurityTradingRules struct { //BaseTradingRules is a non-required component for SecurityTradingRules. diff --git a/fix50sp1/securityxml/SecurityXML.go b/fix50sp1/securityxml/SecurityXML.go index 3e8ec36f1..7537b73e8 100644 --- a/fix50sp1/securityxml/SecurityXML.go +++ b/fix50sp1/securityxml/SecurityXML.go @@ -1,5 +1,10 @@ package securityxml +func New() *SecurityXML { + var m SecurityXML + return &m +} + //SecurityXML is a fix50sp1 Component type SecurityXML struct { //SecurityXMLLen is a non-required field for SecurityXML. diff --git a/fix50sp1/settldetails/SettlDetails.go b/fix50sp1/settldetails/SettlDetails.go index 888bbd2bf..5f65d1b36 100644 --- a/fix50sp1/settldetails/SettlDetails.go +++ b/fix50sp1/settldetails/SettlDetails.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlparties" ) +func New() *SettlDetails { + var m SettlDetails + return &m +} + //NoSettlDetails is a repeating group in SettlDetails type NoSettlDetails struct { //SettlObligSource is a non-required field for NoSettlDetails. diff --git a/fix50sp1/settlinstgrp/SettlInstGrp.go b/fix50sp1/settlinstgrp/SettlInstGrp.go index be20866c7..a5c83df9b 100644 --- a/fix50sp1/settlinstgrp/SettlInstGrp.go +++ b/fix50sp1/settlinstgrp/SettlInstGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *SettlInstGrp { + var m SettlInstGrp + return &m +} + //NoSettlInst is a repeating group in SettlInstGrp type NoSettlInst struct { //SettlInstID is a non-required field for NoSettlInst. diff --git a/fix50sp1/settlinstructionsdata/SettlInstructionsData.go b/fix50sp1/settlinstructionsdata/SettlInstructionsData.go index 1cc225eba..4dcce1a63 100644 --- a/fix50sp1/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50sp1/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/dlvyinstgrp" ) +func New() *SettlInstructionsData { + var m SettlInstructionsData + return &m +} + //SettlInstructionsData is a fix50sp1 Component type SettlInstructionsData struct { //SettlDeliveryType is a non-required field for SettlInstructionsData. diff --git a/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go b/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go index 1b9ab45fa..d9f653a32 100644 --- a/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go +++ b/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go @@ -7,6 +7,11 @@ import ( "time" ) +func New() *SettlObligationInstructions { + var m SettlObligationInstructions + return &m +} + //NoSettlOblig is a repeating group in SettlObligationInstructions type NoSettlOblig struct { //NetGrossInd is a non-required field for NoSettlOblig. diff --git a/fix50sp1/settlparties/SettlParties.go b/fix50sp1/settlparties/SettlParties.go index 6328aea43..b3db77c95 100644 --- a/fix50sp1/settlparties/SettlParties.go +++ b/fix50sp1/settlparties/SettlParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/settlptyssubgrp" ) +func New() *SettlParties { + var m SettlParties + return &m +} + //NoSettlPartyIDs is a repeating group in SettlParties type NoSettlPartyIDs struct { //SettlPartyID is a non-required field for NoSettlPartyIDs. diff --git a/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go b/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go index 4ad7ec51d..9ed72260c 100644 --- a/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go +++ b/fix50sp1/settlptyssubgrp/SettlPtysSubGrp.go @@ -1,5 +1,10 @@ package settlptyssubgrp +func New() *SettlPtysSubGrp { + var m SettlPtysSubGrp + return &m +} + //NoSettlPartySubIDs is a repeating group in SettlPtysSubGrp type NoSettlPartySubIDs struct { //SettlPartySubID is a non-required field for NoSettlPartySubIDs. diff --git a/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index e0493c00b..f26c761d1 100644 --- a/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(nosides []NoSides) *SideCrossOrdCxlGrp { + var m SideCrossOrdCxlGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in SideCrossOrdCxlGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go index 74977fa4c..6d44569bb 100644 --- a/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -8,6 +8,12 @@ import ( "time" ) +func New(nosides []NoSides) *SideCrossOrdModGrp { + var m SideCrossOrdModGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in SideCrossOrdModGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp1/sidetrdregts/SideTrdRegTS.go b/fix50sp1/sidetrdregts/SideTrdRegTS.go index aba8e82d2..f3f0ecb00 100644 --- a/fix50sp1/sidetrdregts/SideTrdRegTS.go +++ b/fix50sp1/sidetrdregts/SideTrdRegTS.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *SideTrdRegTS { + var m SideTrdRegTS + return &m +} + //NoSideTrdRegTS is a repeating group in SideTrdRegTS type NoSideTrdRegTS struct { //SideTrdRegTimestamp is a non-required field for NoSideTrdRegTS. diff --git a/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index c02f1e80f..f1d0a58d0 100644 --- a/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix50sp1/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,10 @@ package spreadorbenchmarkcurvedata +func New() *SpreadOrBenchmarkCurveData { + var m SpreadOrBenchmarkCurveData + return &m +} + //SpreadOrBenchmarkCurveData is a fix50sp1 Component type SpreadOrBenchmarkCurveData struct { //Spread is a non-required field for SpreadOrBenchmarkCurveData. diff --git a/fix50sp1/statsindgrp/StatsIndGrp.go b/fix50sp1/statsindgrp/StatsIndGrp.go index 0e13c5b84..5b31dae8f 100644 --- a/fix50sp1/statsindgrp/StatsIndGrp.go +++ b/fix50sp1/statsindgrp/StatsIndGrp.go @@ -1,5 +1,10 @@ package statsindgrp +func New() *StatsIndGrp { + var m StatsIndGrp + return &m +} + //NoStatsIndicators is a repeating group in StatsIndGrp type NoStatsIndicators struct { //StatsType is a non-required field for NoStatsIndicators. diff --git a/fix50sp1/stipulations/Stipulations.go b/fix50sp1/stipulations/Stipulations.go index 3b5c725a8..0670532c7 100644 --- a/fix50sp1/stipulations/Stipulations.go +++ b/fix50sp1/stipulations/Stipulations.go @@ -1,5 +1,10 @@ package stipulations +func New() *Stipulations { + var m Stipulations + return &m +} + //NoStipulations is a repeating group in Stipulations type NoStipulations struct { //StipulationType is a non-required field for NoStipulations. diff --git a/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go b/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go index c4df0d5de..79cd5a2b0 100644 --- a/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go +++ b/fix50sp1/strategyparametersgrp/StrategyParametersGrp.go @@ -1,5 +1,10 @@ package strategyparametersgrp +func New() *StrategyParametersGrp { + var m StrategyParametersGrp + return &m +} + //NoStrategyParameters is a repeating group in StrategyParametersGrp type NoStrategyParameters struct { //StrategyParameterName is a non-required field for NoStrategyParameters. diff --git a/fix50sp1/strikerules/StrikeRules.go b/fix50sp1/strikerules/StrikeRules.go index 4419bd7eb..85e44d7f5 100644 --- a/fix50sp1/strikerules/StrikeRules.go +++ b/fix50sp1/strikerules/StrikeRules.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/maturityrules" ) +func New() *StrikeRules { + var m StrikeRules + return &m +} + //NoStrikeRules is a repeating group in StrikeRules type NoStrikeRules struct { //StrikeRuleID is a non-required field for NoStrikeRules. diff --git a/fix50sp1/tickrules/TickRules.go b/fix50sp1/tickrules/TickRules.go index fce28a52c..1947159db 100644 --- a/fix50sp1/tickrules/TickRules.go +++ b/fix50sp1/tickrules/TickRules.go @@ -1,5 +1,10 @@ package tickrules +func New() *TickRules { + var m TickRules + return &m +} + //NoTickRules is a repeating group in TickRules type NoTickRules struct { //StartTickPriceRange is a non-required field for NoTickRules. diff --git a/fix50sp1/timeinforcerules/TimeInForceRules.go b/fix50sp1/timeinforcerules/TimeInForceRules.go index c171d5ec9..41c5a0c6a 100644 --- a/fix50sp1/timeinforcerules/TimeInForceRules.go +++ b/fix50sp1/timeinforcerules/TimeInForceRules.go @@ -1,5 +1,10 @@ package timeinforcerules +func New() *TimeInForceRules { + var m TimeInForceRules + return &m +} + //NoTimeInForceRules is a repeating group in TimeInForceRules type NoTimeInForceRules struct { //TimeInForce is a non-required field for NoTimeInForceRules. diff --git a/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go b/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go index 3f1f5227b..b00a53a95 100644 --- a/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go +++ b/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyingleginstrument" ) +func New() *TradeCapLegUnderlyingsGrp { + var m TradeCapLegUnderlyingsGrp + return &m +} + //NoOfLegUnderlyings is a repeating group in TradeCapLegUnderlyingsGrp type NoOfLegUnderlyings struct { //UnderlyingLegInstrument is a non-required component for NoOfLegUnderlyings. diff --git a/fix50sp1/tradingsessionrules/TradingSessionRules.go b/fix50sp1/tradingsessionrules/TradingSessionRules.go index a157d9ddb..d569b05f7 100644 --- a/fix50sp1/tradingsessionrules/TradingSessionRules.go +++ b/fix50sp1/tradingsessionrules/TradingSessionRules.go @@ -8,6 +8,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/timeinforcerules" ) +func New() *TradingSessionRules { + var m TradingSessionRules + return &m +} + //TradingSessionRules is a fix50sp1 Component type TradingSessionRules struct { //OrdTypeRules is a non-required component for TradingSessionRules. diff --git a/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go b/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go index e0c6271c0..091f71d2a 100644 --- a/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go +++ b/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tradingsessionrules" ) +func New() *TradingSessionRulesGrp { + var m TradingSessionRulesGrp + return &m +} + //NoTradingSessionRules is a repeating group in TradingSessionRulesGrp type NoTradingSessionRules struct { //TradingSessionID is a non-required field for NoTradingSessionRules. diff --git a/fix50sp1/trdallocgrp/TrdAllocGrp.go b/fix50sp1/trdallocgrp/TrdAllocGrp.go index 3ce29a6a7..3163d3399 100644 --- a/fix50sp1/trdallocgrp/TrdAllocGrp.go +++ b/fix50sp1/trdallocgrp/TrdAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/nestedparties2" ) +func New() *TrdAllocGrp { + var m TrdAllocGrp + return &m +} + //NoAllocs is a repeating group in TrdAllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go b/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go index e488a2b16..dd0fae638 100644 --- a/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go +++ b/fix50sp1/trdcapdtgrp/TrdCapDtGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdCapDtGrp { + var m TrdCapDtGrp + return &m +} + //NoDates is a repeating group in TrdCapDtGrp type NoDates struct { //TradeDate is a non-required field for NoDates. diff --git a/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 317f98d0d..c6b2c3454 100644 --- a/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -13,6 +13,12 @@ import ( "time" ) +func New(nosides []NoSides) *TrdCapRptAckSideGrp { + var m TrdCapRptAckSideGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in TrdCapRptAckSideGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go index 7f077a875..a443fc207 100644 --- a/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -13,6 +13,12 @@ import ( "time" ) +func New(nosides []NoSides) *TrdCapRptSideGrp { + var m TrdCapRptSideGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in TrdCapRptSideGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp1/trdcollgrp/TrdCollGrp.go b/fix50sp1/trdcollgrp/TrdCollGrp.go index a3b2903c9..d8b2f8c7b 100644 --- a/fix50sp1/trdcollgrp/TrdCollGrp.go +++ b/fix50sp1/trdcollgrp/TrdCollGrp.go @@ -1,5 +1,10 @@ package trdcollgrp +func New() *TrdCollGrp { + var m TrdCollGrp + return &m +} + //NoTrades is a repeating group in TrdCollGrp type NoTrades struct { //TradeReportID is a non-required field for NoTrades. diff --git a/fix50sp1/trdgsesgrp/TrdgSesGrp.go b/fix50sp1/trdgsesgrp/TrdgSesGrp.go index e5468ead0..7ae4d7cfe 100644 --- a/fix50sp1/trdgsesgrp/TrdgSesGrp.go +++ b/fix50sp1/trdgsesgrp/TrdgSesGrp.go @@ -1,5 +1,10 @@ package trdgsesgrp +func New() *TrdgSesGrp { + var m TrdgSesGrp + return &m +} + //NoTradingSessions is a repeating group in TrdgSesGrp type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. diff --git a/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go index 45fc82e43..8986b7fcd 100644 --- a/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/tradecaplegunderlyingsgrp" ) +func New() *TrdInstrmtLegGrp { + var m TrdInstrmtLegGrp + return &m +} + //NoLegs is a repeating group in TrdInstrmtLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp1/trdregtimestamps/TrdRegTimestamps.go b/fix50sp1/trdregtimestamps/TrdRegTimestamps.go index 794fc7554..38e5297fb 100644 --- a/fix50sp1/trdregtimestamps/TrdRegTimestamps.go +++ b/fix50sp1/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdRegTimestamps { + var m TrdRegTimestamps + return &m +} + //NoTrdRegTimestamps is a repeating group in TrdRegTimestamps type NoTrdRegTimestamps struct { //TrdRegTimestamp is a non-required field for NoTrdRegTimestamps. diff --git a/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go b/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go index 2901e4b5a..ec9d37baa 100644 --- a/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go +++ b/fix50sp1/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go @@ -1,5 +1,10 @@ package trdrepindicatorsgrp +func New() *TrdRepIndicatorsGrp { + var m TrdRepIndicatorsGrp + return &m +} + //NoTrdRepIndicators is a repeating group in TrdRepIndicatorsGrp type NoTrdRepIndicators struct { //TrdRepPartyRole is a non-required field for NoTrdRepIndicators. diff --git a/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go b/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go index ca4e45c67..5dd03c108 100644 --- a/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go @@ -5,6 +5,12 @@ import ( "time" ) +func New(notradingsessions []NoTradingSessions) *TrdSessLstGrp { + var m TrdSessLstGrp + m.SetNoTradingSessions(notradingsessions) + return &m +} + //NoTradingSessions is a repeating group in TrdSessLstGrp type NoTradingSessions struct { //TradingSessionID is a required field for NoTradingSessions. diff --git a/fix50sp1/triggeringinstruction/TriggeringInstruction.go b/fix50sp1/triggeringinstruction/TriggeringInstruction.go index 941a3c326..7d8d55750 100644 --- a/fix50sp1/triggeringinstruction/TriggeringInstruction.go +++ b/fix50sp1/triggeringinstruction/TriggeringInstruction.go @@ -1,5 +1,10 @@ package triggeringinstruction +func New() *TriggeringInstruction { + var m TriggeringInstruction + return &m +} + //TriggeringInstruction is a fix50sp1 Component type TriggeringInstruction struct { //TriggerType is a non-required field for TriggeringInstruction. diff --git a/fix50sp1/underlyingamount/UnderlyingAmount.go b/fix50sp1/underlyingamount/UnderlyingAmount.go index 646c5f94c..f38486f17 100644 --- a/fix50sp1/underlyingamount/UnderlyingAmount.go +++ b/fix50sp1/underlyingamount/UnderlyingAmount.go @@ -1,5 +1,10 @@ package underlyingamount +func New() *UnderlyingAmount { + var m UnderlyingAmount + return &m +} + //NoUnderlyingAmounts is a repeating group in UnderlyingAmount type NoUnderlyingAmounts struct { //UnderlyingPayAmount is a non-required field for NoUnderlyingAmounts. diff --git a/fix50sp1/underlyinginstrument/UnderlyingInstrument.go b/fix50sp1/underlyinginstrument/UnderlyingInstrument.go index 77957bf0c..78c6f70d3 100644 --- a/fix50sp1/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50sp1/underlyinginstrument/UnderlyingInstrument.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undsecaltidgrp" ) +func New() *UnderlyingInstrument { + var m UnderlyingInstrument + return &m +} + //UnderlyingInstrument is a fix50sp1 Component type UnderlyingInstrument struct { //UnderlyingSymbol is a non-required field for UnderlyingInstrument. diff --git a/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go b/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go index ce2d7d8a6..4887c2973 100644 --- a/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go +++ b/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinglegsecurityaltidgrp" ) +func New() *UnderlyingLegInstrument { + var m UnderlyingLegInstrument + return &m +} + //UnderlyingLegInstrument is a fix50sp1 Component type UnderlyingLegInstrument struct { //UnderlyingLegSymbol is a non-required field for UnderlyingLegInstrument. diff --git a/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go b/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go index 596b0b9c2..3434ade96 100644 --- a/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go +++ b/fix50sp1/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go @@ -1,5 +1,10 @@ package underlyinglegsecurityaltidgrp +func New() *UnderlyingLegSecurityAltIDGrp { + var m UnderlyingLegSecurityAltIDGrp + return &m +} + //NoUnderlyingLegSecurityAltID is a repeating group in UnderlyingLegSecurityAltIDGrp type NoUnderlyingLegSecurityAltID struct { //UnderlyingLegSecurityAltID is a non-required field for NoUnderlyingLegSecurityAltID. diff --git a/fix50sp1/underlyingstipulations/UnderlyingStipulations.go b/fix50sp1/underlyingstipulations/UnderlyingStipulations.go index 4312fd4dd..a68beb050 100644 --- a/fix50sp1/underlyingstipulations/UnderlyingStipulations.go +++ b/fix50sp1/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,10 @@ package underlyingstipulations +func New() *UnderlyingStipulations { + var m UnderlyingStipulations + return &m +} + //NoUnderlyingStips is a repeating group in UnderlyingStipulations type NoUnderlyingStips struct { //UnderlyingStipType is a non-required field for NoUnderlyingStips. diff --git a/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go index 5b51c57b2..68fa29379 100644 --- a/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +func New() *UndInstrmtCollGrp { + var m UndInstrmtCollGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtCollGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go b/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go index e10e86b30..a6331ad90 100644 --- a/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/underlyinginstrument" ) +func New() *UndInstrmtGrp { + var m UndInstrmtGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go index c466ffe35..2159ca4d9 100644 --- a/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp1/undlyinstrumentptyssubgrp" ) +func New() *UndlyInstrumentParties { + var m UndlyInstrumentParties + return &m +} + //NoUndlyInstrumentParties is a repeating group in UndlyInstrumentParties type NoUndlyInstrumentParties struct { //UndlyInstrumentPartyID is a non-required field for NoUndlyInstrumentParties. diff --git a/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go b/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go index 4419df884..19df2c6a2 100644 --- a/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go +++ b/fix50sp1/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go @@ -1,5 +1,10 @@ package undlyinstrumentptyssubgrp +func New() *UndlyInstrumentPtysSubGrp { + var m UndlyInstrumentPtysSubGrp + return &m +} + //NoUndlyInstrumentPartySubIDs is a repeating group in UndlyInstrumentPtysSubGrp type NoUndlyInstrumentPartySubIDs struct { //UndlyInstrumentPartySubID is a non-required field for NoUndlyInstrumentPartySubIDs. diff --git a/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go b/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go index 6380469e4..3e26eb663 100644 --- a/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go +++ b/fix50sp1/undsecaltidgrp/UndSecAltIDGrp.go @@ -1,5 +1,10 @@ package undsecaltidgrp +func New() *UndSecAltIDGrp { + var m UndSecAltIDGrp + return &m +} + //NoUnderlyingSecurityAltID is a repeating group in UndSecAltIDGrp type NoUnderlyingSecurityAltID struct { //UnderlyingSecurityAltID is a non-required field for NoUnderlyingSecurityAltID. diff --git a/fix50sp1/usernamegrp/UsernameGrp.go b/fix50sp1/usernamegrp/UsernameGrp.go index 06f7ab56e..0af3c51b3 100644 --- a/fix50sp1/usernamegrp/UsernameGrp.go +++ b/fix50sp1/usernamegrp/UsernameGrp.go @@ -1,5 +1,10 @@ package usernamegrp +func New() *UsernameGrp { + var m UsernameGrp + return &m +} + //UsernameGrp is a fix50sp1 Component type UsernameGrp struct { //Username is a non-required field for UsernameGrp. diff --git a/fix50sp1/yielddata/YieldData.go b/fix50sp1/yielddata/YieldData.go index f8224896a..a429eb541 100644 --- a/fix50sp1/yielddata/YieldData.go +++ b/fix50sp1/yielddata/YieldData.go @@ -1,5 +1,10 @@ package yielddata +func New() *YieldData { + var m YieldData + return &m +} + //YieldData is a fix50sp1 Component type YieldData struct { //YieldType is a non-required field for YieldData. diff --git a/fix50sp2/affectedordgrp/AffectedOrdGrp.go b/fix50sp2/affectedordgrp/AffectedOrdGrp.go index 805e11168..6d2f2546c 100644 --- a/fix50sp2/affectedordgrp/AffectedOrdGrp.go +++ b/fix50sp2/affectedordgrp/AffectedOrdGrp.go @@ -1,5 +1,10 @@ package affectedordgrp +func New() *AffectedOrdGrp { + var m AffectedOrdGrp + return &m +} + //NoAffectedOrders is a repeating group in AffectedOrdGrp type NoAffectedOrders struct { //OrigClOrdID is a non-required field for NoAffectedOrders. diff --git a/fix50sp2/allocackgrp/AllocAckGrp.go b/fix50sp2/allocackgrp/AllocAckGrp.go index 281b814cc..54e986176 100644 --- a/fix50sp2/allocackgrp/AllocAckGrp.go +++ b/fix50sp2/allocackgrp/AllocAckGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *AllocAckGrp { + var m AllocAckGrp + return &m +} + //NoAllocs is a repeating group in AllocAckGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp2/allocgrp/AllocGrp.go b/fix50sp2/allocgrp/AllocGrp.go index eddc9be65..dbd264abd 100644 --- a/fix50sp2/allocgrp/AllocGrp.go +++ b/fix50sp2/allocgrp/AllocGrp.go @@ -8,6 +8,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlinstructionsdata" ) +func New() *AllocGrp { + var m AllocGrp + return &m +} + //NoAllocs is a repeating group in AllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp2/altptyssubgrp/AltPtysSubGrp.go b/fix50sp2/altptyssubgrp/AltPtysSubGrp.go index 39228ba48..530e3ffc9 100644 --- a/fix50sp2/altptyssubgrp/AltPtysSubGrp.go +++ b/fix50sp2/altptyssubgrp/AltPtysSubGrp.go @@ -1,5 +1,10 @@ package altptyssubgrp +func New() *AltPtysSubGrp { + var m AltPtysSubGrp + return &m +} + //NoPartyAltSubIDs is a repeating group in AltPtysSubGrp type NoPartyAltSubIDs struct { //PartyAltSubID is a non-required field for NoPartyAltSubIDs. diff --git a/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go b/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go index 754a32f80..8b18b591c 100644 --- a/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go +++ b/fix50sp2/applicationsequencecontrol/ApplicationSequenceControl.go @@ -1,5 +1,10 @@ package applicationsequencecontrol +func New() *ApplicationSequenceControl { + var m ApplicationSequenceControl + return &m +} + //ApplicationSequenceControl is a fix50sp2 Component type ApplicationSequenceControl struct { //ApplID is a non-required field for ApplicationSequenceControl. diff --git a/fix50sp2/applidreportgrp/ApplIDReportGrp.go b/fix50sp2/applidreportgrp/ApplIDReportGrp.go index aaf5ddf20..e929f18ae 100644 --- a/fix50sp2/applidreportgrp/ApplIDReportGrp.go +++ b/fix50sp2/applidreportgrp/ApplIDReportGrp.go @@ -1,5 +1,10 @@ package applidreportgrp +func New() *ApplIDReportGrp { + var m ApplIDReportGrp + return &m +} + //NoApplIDs is a repeating group in ApplIDReportGrp type NoApplIDs struct { //RefApplID is a non-required field for NoApplIDs. diff --git a/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go b/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go index 9c1f00483..5c6bf74f6 100644 --- a/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go +++ b/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *ApplIDRequestAckGrp { + var m ApplIDRequestAckGrp + return &m +} + //NoApplIDs is a repeating group in ApplIDRequestAckGrp type NoApplIDs struct { //RefApplID is a non-required field for NoApplIDs. diff --git a/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go b/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go index 0c7c56f63..15bb40bce 100644 --- a/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go +++ b/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *ApplIDRequestGrp { + var m ApplIDRequestGrp + return &m +} + //NoApplIDs is a repeating group in ApplIDRequestGrp type NoApplIDs struct { //RefApplID is a non-required field for NoApplIDs. diff --git a/fix50sp2/attrbgrp/AttrbGrp.go b/fix50sp2/attrbgrp/AttrbGrp.go index 9bafdf5b8..60bf7d949 100644 --- a/fix50sp2/attrbgrp/AttrbGrp.go +++ b/fix50sp2/attrbgrp/AttrbGrp.go @@ -1,5 +1,10 @@ package attrbgrp +func New() *AttrbGrp { + var m AttrbGrp + return &m +} + //NoInstrAttrib is a repeating group in AttrbGrp type NoInstrAttrib struct { //InstrAttribType is a non-required field for NoInstrAttrib. diff --git a/fix50sp2/basetradingrules/BaseTradingRules.go b/fix50sp2/basetradingrules/BaseTradingRules.go index df1d65b3a..930a8a64a 100644 --- a/fix50sp2/basetradingrules/BaseTradingRules.go +++ b/fix50sp2/basetradingrules/BaseTradingRules.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tickrules" ) +func New() *BaseTradingRules { + var m BaseTradingRules + return &m +} + //BaseTradingRules is a fix50sp2 Component type BaseTradingRules struct { //TickRules is a non-required component for BaseTradingRules. diff --git a/fix50sp2/bidcompreqgrp/BidCompReqGrp.go b/fix50sp2/bidcompreqgrp/BidCompReqGrp.go index e248881d2..f2e9b1b7c 100644 --- a/fix50sp2/bidcompreqgrp/BidCompReqGrp.go +++ b/fix50sp2/bidcompreqgrp/BidCompReqGrp.go @@ -1,5 +1,10 @@ package bidcompreqgrp +func New() *BidCompReqGrp { + var m BidCompReqGrp + return &m +} + //NoBidComponents is a repeating group in BidCompReqGrp type NoBidComponents struct { //ListID is a non-required field for NoBidComponents. diff --git a/fix50sp2/bidcomprspgrp/BidCompRspGrp.go b/fix50sp2/bidcomprspgrp/BidCompRspGrp.go index f50eb7a17..bf6b075cf 100644 --- a/fix50sp2/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50sp2/bidcomprspgrp/BidCompRspGrp.go @@ -4,6 +4,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/commissiondata" ) +func New(nobidcomponents []NoBidComponents) *BidCompRspGrp { + var m BidCompRspGrp + m.SetNoBidComponents(nobidcomponents) + return &m +} + //NoBidComponents is a repeating group in BidCompRspGrp type NoBidComponents struct { //CommissionData is a required component for NoBidComponents. diff --git a/fix50sp2/biddescreqgrp/BidDescReqGrp.go b/fix50sp2/biddescreqgrp/BidDescReqGrp.go index 3b4803441..c6561606c 100644 --- a/fix50sp2/biddescreqgrp/BidDescReqGrp.go +++ b/fix50sp2/biddescreqgrp/BidDescReqGrp.go @@ -1,5 +1,10 @@ package biddescreqgrp +func New() *BidDescReqGrp { + var m BidDescReqGrp + return &m +} + //NoBidDescriptors is a repeating group in BidDescReqGrp type NoBidDescriptors struct { //BidDescriptorType is a non-required field for NoBidDescriptors. diff --git a/fix50sp2/clrinstgrp/ClrInstGrp.go b/fix50sp2/clrinstgrp/ClrInstGrp.go index be440e9d6..10574bea4 100644 --- a/fix50sp2/clrinstgrp/ClrInstGrp.go +++ b/fix50sp2/clrinstgrp/ClrInstGrp.go @@ -1,5 +1,10 @@ package clrinstgrp +func New() *ClrInstGrp { + var m ClrInstGrp + return &m +} + //NoClearingInstructions is a repeating group in ClrInstGrp type NoClearingInstructions struct { //ClearingInstruction is a non-required field for NoClearingInstructions. diff --git a/fix50sp2/collinqqualgrp/CollInqQualGrp.go b/fix50sp2/collinqqualgrp/CollInqQualGrp.go index 9fc217f18..8ce380e02 100644 --- a/fix50sp2/collinqqualgrp/CollInqQualGrp.go +++ b/fix50sp2/collinqqualgrp/CollInqQualGrp.go @@ -1,5 +1,10 @@ package collinqqualgrp +func New() *CollInqQualGrp { + var m CollInqQualGrp + return &m +} + //NoCollInquiryQualifier is a repeating group in CollInqQualGrp type NoCollInquiryQualifier struct { //CollInquiryQualifier is a non-required field for NoCollInquiryQualifier. diff --git a/fix50sp2/commissiondata/CommissionData.go b/fix50sp2/commissiondata/CommissionData.go index 081a2e3c7..8aad5408e 100644 --- a/fix50sp2/commissiondata/CommissionData.go +++ b/fix50sp2/commissiondata/CommissionData.go @@ -1,5 +1,10 @@ package commissiondata +func New() *CommissionData { + var m CommissionData + return &m +} + //CommissionData is a fix50sp2 Component type CommissionData struct { //Commission is a non-required field for CommissionData. diff --git a/fix50sp2/compidreqgrp/CompIDReqGrp.go b/fix50sp2/compidreqgrp/CompIDReqGrp.go index 511b40bcf..f0db1774f 100644 --- a/fix50sp2/compidreqgrp/CompIDReqGrp.go +++ b/fix50sp2/compidreqgrp/CompIDReqGrp.go @@ -1,5 +1,10 @@ package compidreqgrp +func New() *CompIDReqGrp { + var m CompIDReqGrp + return &m +} + //NoCompIDs is a repeating group in CompIDReqGrp type NoCompIDs struct { //RefCompID is a non-required field for NoCompIDs. diff --git a/fix50sp2/compidstatgrp/CompIDStatGrp.go b/fix50sp2/compidstatgrp/CompIDStatGrp.go index 6996908ae..c2be36fd5 100644 --- a/fix50sp2/compidstatgrp/CompIDStatGrp.go +++ b/fix50sp2/compidstatgrp/CompIDStatGrp.go @@ -1,5 +1,11 @@ package compidstatgrp +func New(nocompids []NoCompIDs) *CompIDStatGrp { + var m CompIDStatGrp + m.SetNoCompIDs(nocompids) + return &m +} + //NoCompIDs is a repeating group in CompIDStatGrp type NoCompIDs struct { //RefCompID is a required field for NoCompIDs. diff --git a/fix50sp2/complexeventdates/ComplexEventDates.go b/fix50sp2/complexeventdates/ComplexEventDates.go index 84e60627f..d52c5bde5 100644 --- a/fix50sp2/complexeventdates/ComplexEventDates.go +++ b/fix50sp2/complexeventdates/ComplexEventDates.go @@ -5,6 +5,11 @@ import ( "time" ) +func New() *ComplexEventDates { + var m ComplexEventDates + return &m +} + //NoComplexEventDates is a repeating group in ComplexEventDates type NoComplexEventDates struct { //ComplexEventStartDate is a non-required field for NoComplexEventDates. diff --git a/fix50sp2/complexevents/ComplexEvents.go b/fix50sp2/complexevents/ComplexEvents.go index c2314682c..064ec775e 100644 --- a/fix50sp2/complexevents/ComplexEvents.go +++ b/fix50sp2/complexevents/ComplexEvents.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/complexeventdates" ) +func New() *ComplexEvents { + var m ComplexEvents + return &m +} + //NoComplexEvents is a repeating group in ComplexEvents type NoComplexEvents struct { //ComplexEventType is a non-required field for NoComplexEvents. diff --git a/fix50sp2/complexeventtimes/ComplexEventTimes.go b/fix50sp2/complexeventtimes/ComplexEventTimes.go index 058b2b079..04b782c2f 100644 --- a/fix50sp2/complexeventtimes/ComplexEventTimes.go +++ b/fix50sp2/complexeventtimes/ComplexEventTimes.go @@ -1,5 +1,10 @@ package complexeventtimes +func New() *ComplexEventTimes { + var m ComplexEventTimes + return &m +} + //NoComplexEventTimes is a repeating group in ComplexEventTimes type NoComplexEventTimes struct { //ComplexEventStartTime is a non-required field for NoComplexEventTimes. diff --git a/fix50sp2/contamtgrp/ContAmtGrp.go b/fix50sp2/contamtgrp/ContAmtGrp.go index 821092cf7..3e22891a5 100644 --- a/fix50sp2/contamtgrp/ContAmtGrp.go +++ b/fix50sp2/contamtgrp/ContAmtGrp.go @@ -1,5 +1,10 @@ package contamtgrp +func New() *ContAmtGrp { + var m ContAmtGrp + return &m +} + //NoContAmts is a repeating group in ContAmtGrp type NoContAmts struct { //ContAmtType is a non-required field for NoContAmts. diff --git a/fix50sp2/contextparties/ContextParties.go b/fix50sp2/contextparties/ContextParties.go index dd2d993dd..8e5cdc869 100644 --- a/fix50sp2/contextparties/ContextParties.go +++ b/fix50sp2/contextparties/ContextParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/contextptyssubgrp" ) +func New() *ContextParties { + var m ContextParties + return &m +} + //NoContextPartyIDs is a repeating group in ContextParties type NoContextPartyIDs struct { //ContextPartyID is a non-required field for NoContextPartyIDs. diff --git a/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go b/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go index 5a2e8e04a..5a6b95b73 100644 --- a/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go +++ b/fix50sp2/contextptyssubgrp/ContextPtysSubGrp.go @@ -1,5 +1,10 @@ package contextptyssubgrp +func New() *ContextPtysSubGrp { + var m ContextPtysSubGrp + return &m +} + //NoContextPartySubIDs is a repeating group in ContextPtysSubGrp type NoContextPartySubIDs struct { //ContextPartySubID is a non-required field for NoContextPartySubIDs. diff --git a/fix50sp2/contragrp/ContraGrp.go b/fix50sp2/contragrp/ContraGrp.go index 2d9938597..4fdfe2f9d 100644 --- a/fix50sp2/contragrp/ContraGrp.go +++ b/fix50sp2/contragrp/ContraGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *ContraGrp { + var m ContraGrp + return &m +} + //NoContraBrokers is a repeating group in ContraGrp type NoContraBrokers struct { //ContraBroker is a non-required field for NoContraBrokers. diff --git a/fix50sp2/cpctyconfgrp/CpctyConfGrp.go b/fix50sp2/cpctyconfgrp/CpctyConfGrp.go index 4879b44f4..4026c9e26 100644 --- a/fix50sp2/cpctyconfgrp/CpctyConfGrp.go +++ b/fix50sp2/cpctyconfgrp/CpctyConfGrp.go @@ -1,5 +1,11 @@ package cpctyconfgrp +func New(nocapacities []NoCapacities) *CpctyConfGrp { + var m CpctyConfGrp + m.SetNoCapacities(nocapacities) + return &m +} + //NoCapacities is a repeating group in CpctyConfGrp type NoCapacities struct { //OrderCapacity is a required field for NoCapacities. diff --git a/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go b/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go index d6efba219..48a3a2e64 100644 --- a/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go +++ b/fix50sp2/derivativeeventsgrp/DerivativeEventsGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *DerivativeEventsGrp { + var m DerivativeEventsGrp + return &m +} + //NoDerivativeEvents is a repeating group in DerivativeEventsGrp type NoDerivativeEvents struct { //DerivativeEventType is a non-required field for NoDerivativeEvents. diff --git a/fix50sp2/derivativeinstrument/DerivativeInstrument.go b/fix50sp2/derivativeinstrument/DerivativeInstrument.go index 41640cbd6..efdd93a41 100644 --- a/fix50sp2/derivativeinstrument/DerivativeInstrument.go +++ b/fix50sp2/derivativeinstrument/DerivativeInstrument.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/derivativesecurityxml" ) +func New() *DerivativeInstrument { + var m DerivativeInstrument + return &m +} + //DerivativeInstrument is a fix50sp2 Component type DerivativeInstrument struct { //DerivativeSymbol is a non-required field for DerivativeInstrument. diff --git a/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go b/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go index 644544781..82a724902 100644 --- a/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go +++ b/fix50sp2/derivativeinstrumentattribute/DerivativeInstrumentAttribute.go @@ -1,5 +1,10 @@ package derivativeinstrumentattribute +func New() *DerivativeInstrumentAttribute { + var m DerivativeInstrumentAttribute + return &m +} + //NoDerivativeInstrAttrib is a repeating group in DerivativeInstrumentAttribute type NoDerivativeInstrAttrib struct { //DerivativeInstrAttribType is a non-required field for NoDerivativeInstrAttrib. diff --git a/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go b/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go index 8cc62123f..a227cea94 100644 --- a/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go +++ b/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/derivativeinstrumentpartysubidsgrp" ) +func New() *DerivativeInstrumentParties { + var m DerivativeInstrumentParties + return &m +} + //NoDerivativeInstrumentParties is a repeating group in DerivativeInstrumentParties type NoDerivativeInstrumentParties struct { //DerivativeInstrumentPartyID is a non-required field for NoDerivativeInstrumentParties. diff --git a/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go b/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go index 7dd786eb8..8dfd56600 100644 --- a/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go +++ b/fix50sp2/derivativeinstrumentpartysubidsgrp/DerivativeInstrumentPartySubIDsGrp.go @@ -1,5 +1,10 @@ package derivativeinstrumentpartysubidsgrp +func New() *DerivativeInstrumentPartySubIDsGrp { + var m DerivativeInstrumentPartySubIDsGrp + return &m +} + //NoDerivativeInstrumentPartySubIDs is a repeating group in DerivativeInstrumentPartySubIDsGrp type NoDerivativeInstrumentPartySubIDs struct { //DerivativeInstrumentPartySubID is a non-required field for NoDerivativeInstrumentPartySubIDs. diff --git a/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go b/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go index bfd49c118..40d0f7ed3 100644 --- a/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go +++ b/fix50sp2/derivativesecurityaltidgrp/DerivativeSecurityAltIDGrp.go @@ -1,5 +1,10 @@ package derivativesecurityaltidgrp +func New() *DerivativeSecurityAltIDGrp { + var m DerivativeSecurityAltIDGrp + return &m +} + //NoDerivativeSecurityAltID is a repeating group in DerivativeSecurityAltIDGrp type NoDerivativeSecurityAltID struct { //DerivativeSecurityAltID is a non-required field for NoDerivativeSecurityAltID. diff --git a/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go b/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go index 26ab516ba..bec699fb6 100644 --- a/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go +++ b/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/marketsegmentgrp" ) +func New() *DerivativeSecurityDefinition { + var m DerivativeSecurityDefinition + return &m +} + //DerivativeSecurityDefinition is a fix50sp2 Component type DerivativeSecurityDefinition struct { //DerivativeInstrument is a non-required component for DerivativeSecurityDefinition. diff --git a/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go b/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go index 3120341d4..76ac38568 100644 --- a/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go +++ b/fix50sp2/derivativesecurityxml/DerivativeSecurityXML.go @@ -1,5 +1,10 @@ package derivativesecurityxml +func New() *DerivativeSecurityXML { + var m DerivativeSecurityXML + return &m +} + //DerivativeSecurityXML is a fix50sp2 Component type DerivativeSecurityXML struct { //DerivativeSecurityXMLLen is a non-required field for DerivativeSecurityXML. diff --git a/fix50sp2/discretioninstructions/DiscretionInstructions.go b/fix50sp2/discretioninstructions/DiscretionInstructions.go index a44a93d18..ab20c420c 100644 --- a/fix50sp2/discretioninstructions/DiscretionInstructions.go +++ b/fix50sp2/discretioninstructions/DiscretionInstructions.go @@ -1,5 +1,10 @@ package discretioninstructions +func New() *DiscretionInstructions { + var m DiscretionInstructions + return &m +} + //DiscretionInstructions is a fix50sp2 Component type DiscretionInstructions struct { //DiscretionInst is a non-required field for DiscretionInstructions. diff --git a/fix50sp2/displayinstruction/DisplayInstruction.go b/fix50sp2/displayinstruction/DisplayInstruction.go index 20e50039d..6fcb345f6 100644 --- a/fix50sp2/displayinstruction/DisplayInstruction.go +++ b/fix50sp2/displayinstruction/DisplayInstruction.go @@ -1,5 +1,10 @@ package displayinstruction +func New() *DisplayInstruction { + var m DisplayInstruction + return &m +} + //DisplayInstruction is a fix50sp2 Component type DisplayInstruction struct { //SecondaryDisplayQty is a non-required field for DisplayInstruction. diff --git a/fix50sp2/dlvyinstgrp/DlvyInstGrp.go b/fix50sp2/dlvyinstgrp/DlvyInstGrp.go index 32378278a..8fa60d595 100644 --- a/fix50sp2/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50sp2/dlvyinstgrp/DlvyInstGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlparties" ) +func New() *DlvyInstGrp { + var m DlvyInstGrp + return &m +} + //NoDlvyInst is a repeating group in DlvyInstGrp type NoDlvyInst struct { //SettlInstSource is a non-required field for NoDlvyInst. diff --git a/fix50sp2/evntgrp/EvntGrp.go b/fix50sp2/evntgrp/EvntGrp.go index 057349c1b..5f761a27d 100644 --- a/fix50sp2/evntgrp/EvntGrp.go +++ b/fix50sp2/evntgrp/EvntGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *EvntGrp { + var m EvntGrp + return &m +} + //NoEvents is a repeating group in EvntGrp type NoEvents struct { //EventType is a non-required field for NoEvents. diff --git a/fix50sp2/execallocgrp/ExecAllocGrp.go b/fix50sp2/execallocgrp/ExecAllocGrp.go index 53285d256..ee491fc55 100644 --- a/fix50sp2/execallocgrp/ExecAllocGrp.go +++ b/fix50sp2/execallocgrp/ExecAllocGrp.go @@ -1,5 +1,10 @@ package execallocgrp +func New() *ExecAllocGrp { + var m ExecAllocGrp + return &m +} + //NoExecs is a repeating group in ExecAllocGrp type NoExecs struct { //LastQty is a non-required field for NoExecs. diff --git a/fix50sp2/execcollgrp/ExecCollGrp.go b/fix50sp2/execcollgrp/ExecCollGrp.go index e2871d203..3ce8eec4d 100644 --- a/fix50sp2/execcollgrp/ExecCollGrp.go +++ b/fix50sp2/execcollgrp/ExecCollGrp.go @@ -1,5 +1,10 @@ package execcollgrp +func New() *ExecCollGrp { + var m ExecCollGrp + return &m +} + //NoExecs is a repeating group in ExecCollGrp type NoExecs struct { //ExecID is a non-required field for NoExecs. diff --git a/fix50sp2/execinstrules/ExecInstRules.go b/fix50sp2/execinstrules/ExecInstRules.go index ceaf32de9..e2a5c9b55 100644 --- a/fix50sp2/execinstrules/ExecInstRules.go +++ b/fix50sp2/execinstrules/ExecInstRules.go @@ -1,5 +1,10 @@ package execinstrules +func New() *ExecInstRules { + var m ExecInstRules + return &m +} + //NoExecInstRules is a repeating group in ExecInstRules type NoExecInstRules struct { //ExecInstValue is a non-required field for NoExecInstRules. diff --git a/fix50sp2/expirationqty/ExpirationQty.go b/fix50sp2/expirationqty/ExpirationQty.go index 501638a45..af56c7089 100644 --- a/fix50sp2/expirationqty/ExpirationQty.go +++ b/fix50sp2/expirationqty/ExpirationQty.go @@ -1,5 +1,10 @@ package expirationqty +func New() *ExpirationQty { + var m ExpirationQty + return &m +} + //NoExpiration is a repeating group in ExpirationQty type NoExpiration struct { //ExpirationQtyType is a non-required field for NoExpiration. diff --git a/fix50sp2/fillsgrp/FillsGrp.go b/fix50sp2/fillsgrp/FillsGrp.go index ee9ce9ec9..335d35507 100644 --- a/fix50sp2/fillsgrp/FillsGrp.go +++ b/fix50sp2/fillsgrp/FillsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties4" ) +func New() *FillsGrp { + var m FillsGrp + return &m +} + //NoFills is a repeating group in FillsGrp type NoFills struct { //FillExecID is a non-required field for NoFills. diff --git a/fix50sp2/financingdetails/FinancingDetails.go b/fix50sp2/financingdetails/FinancingDetails.go index 00c0ea41c..127a39d58 100644 --- a/fix50sp2/financingdetails/FinancingDetails.go +++ b/fix50sp2/financingdetails/FinancingDetails.go @@ -1,5 +1,10 @@ package financingdetails +func New() *FinancingDetails { + var m FinancingDetails + return &m +} + //FinancingDetails is a fix50sp2 Component type FinancingDetails struct { //AgreementDesc is a non-required field for FinancingDetails. diff --git a/fix50sp2/hopgrp/HopGrp.go b/fix50sp2/hopgrp/HopGrp.go index 2fe52cf82..793e0c103 100644 --- a/fix50sp2/hopgrp/HopGrp.go +++ b/fix50sp2/hopgrp/HopGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *HopGrp { + var m HopGrp + return &m +} + //NoHops is a repeating group in HopGrp type NoHops struct { //HopCompID is a non-required field for NoHops. diff --git a/fix50sp2/instrmtgrp/InstrmtGrp.go b/fix50sp2/instrmtgrp/InstrmtGrp.go index 9e91ddfbc..fae71260a 100644 --- a/fix50sp2/instrmtgrp/InstrmtGrp.go +++ b/fix50sp2/instrmtgrp/InstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) +func New() *InstrmtGrp { + var m InstrmtGrp + return &m +} + //NoRelatedSym is a repeating group in InstrmtGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go index 14db21b8f..98bf9f59e 100644 --- a/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties3" ) +func New() *InstrmtLegExecGrp { + var m InstrmtLegExecGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegExecGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/instrmtleggrp/InstrmtLegGrp.go b/fix50sp2/instrmtleggrp/InstrmtLegGrp.go index a1b837342..441c5ca6f 100644 --- a/fix50sp2/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50sp2/instrmtleggrp/InstrmtLegGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrumentleg" ) +func New() *InstrmtLegGrp { + var m InstrmtLegGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go index 72ab13db0..354fa9c3e 100644 --- a/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legstipulations" ) +func New() *InstrmtLegIOIGrp { + var m InstrmtLegIOIGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegIOIGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index d14af0a1f..b88e1f4c8 100644 --- a/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legstipulations" ) +func New() *InstrmtLegSecListGrp { + var m InstrmtLegSecListGrp + return &m +} + //NoLegs is a repeating group in InstrmtLegSecListGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go index e4cf5e689..39c0c4dfe 100644 --- a/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -6,6 +6,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +func New(norelatedsym []NoRelatedSym) *InstrmtMDReqGrp { + var m InstrmtMDReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in InstrmtMDReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index b907e027f..f9aa20c7b 100644 --- a/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -5,6 +5,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +func New(nostrikes []NoStrikes) *InstrmtStrkPxGrp { + var m InstrmtStrkPxGrp + m.SetNoStrikes(nostrikes) + return &m +} + //NoStrikes is a repeating group in InstrmtStrkPxGrp type NoStrikes struct { //Instrument is a required component for NoStrikes. diff --git a/fix50sp2/instrument/Instrument.go b/fix50sp2/instrument/Instrument.go index 582c0e433..13fd06a66 100644 --- a/fix50sp2/instrument/Instrument.go +++ b/fix50sp2/instrument/Instrument.go @@ -8,6 +8,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/securityxml" ) +func New() *Instrument { + var m Instrument + return &m +} + //Instrument is a fix50sp2 Component type Instrument struct { //Symbol is a non-required field for Instrument. diff --git a/fix50sp2/instrumentextension/InstrumentExtension.go b/fix50sp2/instrumentextension/InstrumentExtension.go index 0bbaca794..20fc3cb6e 100644 --- a/fix50sp2/instrumentextension/InstrumentExtension.go +++ b/fix50sp2/instrumentextension/InstrumentExtension.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/attrbgrp" ) +func New() *InstrumentExtension { + var m InstrumentExtension + return &m +} + //InstrumentExtension is a fix50sp2 Component type InstrumentExtension struct { //DeliveryForm is a non-required field for InstrumentExtension. diff --git a/fix50sp2/instrumentleg/InstrumentLeg.go b/fix50sp2/instrumentleg/InstrumentLeg.go index 66f3bd961..7db16ffa9 100644 --- a/fix50sp2/instrumentleg/InstrumentLeg.go +++ b/fix50sp2/instrumentleg/InstrumentLeg.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legsecaltidgrp" ) +func New() *InstrumentLeg { + var m InstrumentLeg + return &m +} + //InstrumentLeg is a fix50sp2 Component type InstrumentLeg struct { //LegSymbol is a non-required field for InstrumentLeg. diff --git a/fix50sp2/instrumentparties/InstrumentParties.go b/fix50sp2/instrumentparties/InstrumentParties.go index 9e7430055..9371b8453 100644 --- a/fix50sp2/instrumentparties/InstrumentParties.go +++ b/fix50sp2/instrumentparties/InstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrumentptyssubgrp" ) +func New() *InstrumentParties { + var m InstrumentParties + return &m +} + //NoInstrumentParties is a repeating group in InstrumentParties type NoInstrumentParties struct { //InstrumentPartyID is a non-required field for NoInstrumentParties. diff --git a/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go b/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go index 635b7bc26..854574c78 100644 --- a/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go +++ b/fix50sp2/instrumentptyssubgrp/InstrumentPtysSubGrp.go @@ -1,5 +1,10 @@ package instrumentptyssubgrp +func New() *InstrumentPtysSubGrp { + var m InstrumentPtysSubGrp + return &m +} + //NoInstrumentPartySubIDs is a repeating group in InstrumentPtysSubGrp type NoInstrumentPartySubIDs struct { //InstrumentPartySubID is a non-required field for NoInstrumentPartySubIDs. diff --git a/fix50sp2/ioiqualgrp/IOIQualGrp.go b/fix50sp2/ioiqualgrp/IOIQualGrp.go index 99b884713..42a2d34e7 100644 --- a/fix50sp2/ioiqualgrp/IOIQualGrp.go +++ b/fix50sp2/ioiqualgrp/IOIQualGrp.go @@ -1,5 +1,10 @@ package ioiqualgrp +func New() *IOIQualGrp { + var m IOIQualGrp + return &m +} + //NoIOIQualifiers is a repeating group in IOIQualGrp type NoIOIQualifiers struct { //IOIQualifier is a non-required field for NoIOIQualifiers. diff --git a/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go b/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go index 08b66ec3f..da7830c1c 100644 --- a/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go +++ b/fix50sp2/legbenchmarkcurvedata/LegBenchmarkCurveData.go @@ -1,5 +1,10 @@ package legbenchmarkcurvedata +func New() *LegBenchmarkCurveData { + var m LegBenchmarkCurveData + return &m +} + //LegBenchmarkCurveData is a fix50sp2 Component type LegBenchmarkCurveData struct { //LegBenchmarkCurveCurrency is a non-required field for LegBenchmarkCurveData. diff --git a/fix50sp2/legordgrp/LegOrdGrp.go b/fix50sp2/legordgrp/LegOrdGrp.go index d4147d85f..eef1a5315 100644 --- a/fix50sp2/legordgrp/LegOrdGrp.go +++ b/fix50sp2/legordgrp/LegOrdGrp.go @@ -7,6 +7,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New(nolegs []NoLegs) *LegOrdGrp { + var m LegOrdGrp + m.SetNoLegs(nolegs) + return &m +} + //NoLegs is a repeating group in LegOrdGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/legpreallocgrp/LegPreAllocGrp.go b/fix50sp2/legpreallocgrp/LegPreAllocGrp.go index 9b209e3a1..30c16c538 100644 --- a/fix50sp2/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50sp2/legpreallocgrp/LegPreAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties2" ) +func New() *LegPreAllocGrp { + var m LegPreAllocGrp + return &m +} + //NoLegAllocs is a repeating group in LegPreAllocGrp type NoLegAllocs struct { //LegAllocAccount is a non-required field for NoLegAllocs. diff --git a/fix50sp2/legquotgrp/LegQuotGrp.go b/fix50sp2/legquotgrp/LegQuotGrp.go index 4969d08d8..0d519add9 100644 --- a/fix50sp2/legquotgrp/LegQuotGrp.go +++ b/fix50sp2/legquotgrp/LegQuotGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *LegQuotGrp { + var m LegQuotGrp + return &m +} + //NoLegs is a repeating group in LegQuotGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/legquotstatgrp/LegQuotStatGrp.go b/fix50sp2/legquotstatgrp/LegQuotStatGrp.go index 8b5999737..0d63fc3b5 100644 --- a/fix50sp2/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50sp2/legquotstatgrp/LegQuotStatGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *LegQuotStatGrp { + var m LegQuotStatGrp + return &m +} + //NoLegs is a repeating group in LegQuotStatGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go b/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go index 86d4e6171..ee91b5626 100644 --- a/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go +++ b/fix50sp2/legsecaltidgrp/LegSecAltIDGrp.go @@ -1,5 +1,10 @@ package legsecaltidgrp +func New() *LegSecAltIDGrp { + var m LegSecAltIDGrp + return &m +} + //NoLegSecurityAltID is a repeating group in LegSecAltIDGrp type NoLegSecurityAltID struct { //LegSecurityAltID is a non-required field for NoLegSecurityAltID. diff --git a/fix50sp2/legstipulations/LegStipulations.go b/fix50sp2/legstipulations/LegStipulations.go index 86427819c..ae76a0107 100644 --- a/fix50sp2/legstipulations/LegStipulations.go +++ b/fix50sp2/legstipulations/LegStipulations.go @@ -1,5 +1,10 @@ package legstipulations +func New() *LegStipulations { + var m LegStipulations + return &m +} + //NoLegStipulations is a repeating group in LegStipulations type NoLegStipulations struct { //LegStipulationType is a non-required field for NoLegStipulations. diff --git a/fix50sp2/linesoftextgrp/LinesOfTextGrp.go b/fix50sp2/linesoftextgrp/LinesOfTextGrp.go index 85e486744..98c8f0ee0 100644 --- a/fix50sp2/linesoftextgrp/LinesOfTextGrp.go +++ b/fix50sp2/linesoftextgrp/LinesOfTextGrp.go @@ -1,5 +1,11 @@ package linesoftextgrp +func New(nolinesoftext []NoLinesOfText) *LinesOfTextGrp { + var m LinesOfTextGrp + m.SetNoLinesOfText(nolinesoftext) + return &m +} + //NoLinesOfText is a repeating group in LinesOfTextGrp type NoLinesOfText struct { //Text is a required field for NoLinesOfText. diff --git a/fix50sp2/listordgrp/ListOrdGrp.go b/fix50sp2/listordgrp/ListOrdGrp.go index c0784c959..5793894fb 100644 --- a/fix50sp2/listordgrp/ListOrdGrp.go +++ b/fix50sp2/listordgrp/ListOrdGrp.go @@ -19,6 +19,12 @@ import ( "time" ) +func New(noorders []NoOrders) *ListOrdGrp { + var m ListOrdGrp + m.SetNoOrders(noorders) + return &m +} + //NoOrders is a repeating group in ListOrdGrp type NoOrders struct { //ClOrdID is a required field for NoOrders. diff --git a/fix50sp2/lottyperules/LotTypeRules.go b/fix50sp2/lottyperules/LotTypeRules.go index 6811da233..794e178a3 100644 --- a/fix50sp2/lottyperules/LotTypeRules.go +++ b/fix50sp2/lottyperules/LotTypeRules.go @@ -1,5 +1,10 @@ package lottyperules +func New() *LotTypeRules { + var m LotTypeRules + return &m +} + //NoLotTypeRules is a repeating group in LotTypeRules type NoLotTypeRules struct { //LotType is a non-required field for NoLotTypeRules. diff --git a/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go b/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go index 9270702af..2978dc993 100644 --- a/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go +++ b/fix50sp2/marketdatafeedtypes/MarketDataFeedTypes.go @@ -1,5 +1,10 @@ package marketdatafeedtypes +func New() *MarketDataFeedTypes { + var m MarketDataFeedTypes + return &m +} + //NoMDFeedTypes is a repeating group in MarketDataFeedTypes type NoMDFeedTypes struct { //MDFeedType is a non-required field for NoMDFeedTypes. diff --git a/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go b/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go index 6da89f003..c6cf31464 100644 --- a/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go +++ b/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/strikerules" ) +func New() *MarketSegmentGrp { + var m MarketSegmentGrp + return &m +} + //NoMarketSegments is a repeating group in MarketSegmentGrp type NoMarketSegments struct { //MarketID is a non-required field for NoMarketSegments. diff --git a/fix50sp2/matchrules/MatchRules.go b/fix50sp2/matchrules/MatchRules.go index e44385b2c..51cd0cea1 100644 --- a/fix50sp2/matchrules/MatchRules.go +++ b/fix50sp2/matchrules/MatchRules.go @@ -1,5 +1,10 @@ package matchrules +func New() *MatchRules { + var m MatchRules + return &m +} + //NoMatchRules is a repeating group in MatchRules type NoMatchRules struct { //MatchAlgorithm is a non-required field for NoMatchRules. diff --git a/fix50sp2/maturityrules/MaturityRules.go b/fix50sp2/maturityrules/MaturityRules.go index e5883f4ac..0529f393a 100644 --- a/fix50sp2/maturityrules/MaturityRules.go +++ b/fix50sp2/maturityrules/MaturityRules.go @@ -1,5 +1,10 @@ package maturityrules +func New() *MaturityRules { + var m MaturityRules + return &m +} + //NoMaturityRules is a repeating group in MaturityRules type NoMaturityRules struct { //MaturityRuleID is a non-required field for NoMaturityRules. diff --git a/fix50sp2/mdfullgrp/MDFullGrp.go b/fix50sp2/mdfullgrp/MDFullGrp.go index 7ffcccbad..2efc41e60 100644 --- a/fix50sp2/mdfullgrp/MDFullGrp.go +++ b/fix50sp2/mdfullgrp/MDFullGrp.go @@ -9,6 +9,12 @@ import ( "time" ) +func New(nomdentries []NoMDEntries) *MDFullGrp { + var m MDFullGrp + m.SetNoMDEntries(nomdentries) + return &m +} + //NoMDEntries is a repeating group in MDFullGrp type NoMDEntries struct { //MDEntryType is a required field for NoMDEntries. diff --git a/fix50sp2/mdincgrp/MDIncGrp.go b/fix50sp2/mdincgrp/MDIncGrp.go index b19d3db35..700fee45d 100644 --- a/fix50sp2/mdincgrp/MDIncGrp.go +++ b/fix50sp2/mdincgrp/MDIncGrp.go @@ -13,6 +13,12 @@ import ( "time" ) +func New(nomdentries []NoMDEntries) *MDIncGrp { + var m MDIncGrp + m.SetNoMDEntries(nomdentries) + return &m +} + //NoMDEntries is a repeating group in MDIncGrp type NoMDEntries struct { //MDUpdateAction is a required field for NoMDEntries. diff --git a/fix50sp2/mdreqgrp/MDReqGrp.go b/fix50sp2/mdreqgrp/MDReqGrp.go index c2bfb4c6b..308400399 100644 --- a/fix50sp2/mdreqgrp/MDReqGrp.go +++ b/fix50sp2/mdreqgrp/MDReqGrp.go @@ -1,5 +1,11 @@ package mdreqgrp +func New(nomdentrytypes []NoMDEntryTypes) *MDReqGrp { + var m MDReqGrp + m.SetNoMDEntryTypes(nomdentrytypes) + return &m +} + //NoMDEntryTypes is a repeating group in MDReqGrp type NoMDEntryTypes struct { //MDEntryType is a required field for NoMDEntryTypes. diff --git a/fix50sp2/mdrjctgrp/MDRjctGrp.go b/fix50sp2/mdrjctgrp/MDRjctGrp.go index 5ad65de33..07ad1ac5a 100644 --- a/fix50sp2/mdrjctgrp/MDRjctGrp.go +++ b/fix50sp2/mdrjctgrp/MDRjctGrp.go @@ -1,5 +1,10 @@ package mdrjctgrp +func New() *MDRjctGrp { + var m MDRjctGrp + return &m +} + //NoAltMDSource is a repeating group in MDRjctGrp type NoAltMDSource struct { //AltMDSourceID is a non-required field for NoAltMDSource. diff --git a/fix50sp2/miscfeesgrp/MiscFeesGrp.go b/fix50sp2/miscfeesgrp/MiscFeesGrp.go index ef197f22e..0b2e88412 100644 --- a/fix50sp2/miscfeesgrp/MiscFeesGrp.go +++ b/fix50sp2/miscfeesgrp/MiscFeesGrp.go @@ -1,5 +1,10 @@ package miscfeesgrp +func New() *MiscFeesGrp { + var m MiscFeesGrp + return &m +} + //NoMiscFees is a repeating group in MiscFeesGrp type NoMiscFees struct { //MiscFeeAmt is a non-required field for NoMiscFees. diff --git a/fix50sp2/msgtypegrp/MsgTypeGrp.go b/fix50sp2/msgtypegrp/MsgTypeGrp.go index 5e2004e84..da5aeaa0b 100644 --- a/fix50sp2/msgtypegrp/MsgTypeGrp.go +++ b/fix50sp2/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,10 @@ package msgtypegrp +func New() *MsgTypeGrp { + var m MsgTypeGrp + return &m +} + //NoMsgTypes is a repeating group in MsgTypeGrp type NoMsgTypes struct { //RefMsgType is a non-required field for NoMsgTypes. diff --git a/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go b/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go index e1190269b..77a01de25 100644 --- a/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go +++ b/fix50sp2/nestedinstrumentattribute/NestedInstrumentAttribute.go @@ -1,5 +1,10 @@ package nestedinstrumentattribute +func New() *NestedInstrumentAttribute { + var m NestedInstrumentAttribute + return &m +} + //NoNestedInstrAttrib is a repeating group in NestedInstrumentAttribute type NoNestedInstrAttrib struct { //NestedInstrAttribType is a non-required field for NoNestedInstrAttrib. diff --git a/fix50sp2/nestedparties/NestedParties.go b/fix50sp2/nestedparties/NestedParties.go index a35fbdb35..57d65ba82 100644 --- a/fix50sp2/nestedparties/NestedParties.go +++ b/fix50sp2/nestedparties/NestedParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptyssubgrp" ) +func New() *NestedParties { + var m NestedParties + return &m +} + //NoNestedPartyIDs is a repeating group in NestedParties type NoNestedPartyIDs struct { //NestedPartyID is a non-required field for NoNestedPartyIDs. diff --git a/fix50sp2/nestedparties2/NestedParties2.go b/fix50sp2/nestedparties2/NestedParties2.go index 3fc425feb..eab6ca964 100644 --- a/fix50sp2/nestedparties2/NestedParties2.go +++ b/fix50sp2/nestedparties2/NestedParties2.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptys2subgrp" ) +func New() *NestedParties2 { + var m NestedParties2 + return &m +} + //NoNested2PartyIDs is a repeating group in NestedParties2 type NoNested2PartyIDs struct { //Nested2PartyID is a non-required field for NoNested2PartyIDs. diff --git a/fix50sp2/nestedparties3/NestedParties3.go b/fix50sp2/nestedparties3/NestedParties3.go index 48c3ca576..6586b91ce 100644 --- a/fix50sp2/nestedparties3/NestedParties3.go +++ b/fix50sp2/nestedparties3/NestedParties3.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptys3subgrp" ) +func New() *NestedParties3 { + var m NestedParties3 + return &m +} + //NoNested3PartyIDs is a repeating group in NestedParties3 type NoNested3PartyIDs struct { //Nested3PartyID is a non-required field for NoNested3PartyIDs. diff --git a/fix50sp2/nestedparties4/NestedParties4.go b/fix50sp2/nestedparties4/NestedParties4.go index 6d37849e6..caf7c4c4d 100644 --- a/fix50sp2/nestedparties4/NestedParties4.go +++ b/fix50sp2/nestedparties4/NestedParties4.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nstdptys4subgrp" ) +func New() *NestedParties4 { + var m NestedParties4 + return &m +} + //NoNested4PartyIDs is a repeating group in NestedParties4 type NoNested4PartyIDs struct { //Nested4PartyID is a non-required field for NoNested4PartyIDs. diff --git a/fix50sp2/newsrefgrp/NewsRefGrp.go b/fix50sp2/newsrefgrp/NewsRefGrp.go index 40412924e..26131dab6 100644 --- a/fix50sp2/newsrefgrp/NewsRefGrp.go +++ b/fix50sp2/newsrefgrp/NewsRefGrp.go @@ -1,5 +1,10 @@ package newsrefgrp +func New() *NewsRefGrp { + var m NewsRefGrp + return &m +} + //NoNewsRefIDs is a repeating group in NewsRefGrp type NoNewsRefIDs struct { //NewsRefID is a non-required field for NoNewsRefIDs. diff --git a/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go b/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go index 63b69437d..5ce2bea4a 100644 --- a/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go +++ b/fix50sp2/notaffectedordersgrp/NotAffectedOrdersGrp.go @@ -1,5 +1,10 @@ package notaffectedordersgrp +func New() *NotAffectedOrdersGrp { + var m NotAffectedOrdersGrp + return &m +} + //NoNotAffectedOrders is a repeating group in NotAffectedOrdersGrp type NoNotAffectedOrders struct { //NotAffOrigClOrdID is a non-required field for NoNotAffectedOrders. diff --git a/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go b/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go index e9f7f6a62..eab49456e 100644 --- a/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go +++ b/fix50sp2/nstdptys2subgrp/NstdPtys2SubGrp.go @@ -1,5 +1,10 @@ package nstdptys2subgrp +func New() *NstdPtys2SubGrp { + var m NstdPtys2SubGrp + return &m +} + //NoNested2PartySubIDs is a repeating group in NstdPtys2SubGrp type NoNested2PartySubIDs struct { //Nested2PartySubID is a non-required field for NoNested2PartySubIDs. diff --git a/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go b/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go index 2ca4da98f..45e6ff1cc 100644 --- a/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go +++ b/fix50sp2/nstdptys3subgrp/NstdPtys3SubGrp.go @@ -1,5 +1,10 @@ package nstdptys3subgrp +func New() *NstdPtys3SubGrp { + var m NstdPtys3SubGrp + return &m +} + //NoNested3PartySubIDs is a repeating group in NstdPtys3SubGrp type NoNested3PartySubIDs struct { //Nested3PartySubID is a non-required field for NoNested3PartySubIDs. diff --git a/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go b/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go index 8fa74eb24..376cfaad8 100644 --- a/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go +++ b/fix50sp2/nstdptys4subgrp/NstdPtys4SubGrp.go @@ -1,5 +1,10 @@ package nstdptys4subgrp +func New() *NstdPtys4SubGrp { + var m NstdPtys4SubGrp + return &m +} + //NoNested4PartySubIDs is a repeating group in NstdPtys4SubGrp type NoNested4PartySubIDs struct { //Nested4PartySubID is a non-required field for NoNested4PartySubIDs. diff --git a/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go b/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go index 17826ee22..3e9ec331d 100644 --- a/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go +++ b/fix50sp2/nstdptyssubgrp/NstdPtysSubGrp.go @@ -1,5 +1,10 @@ package nstdptyssubgrp +func New() *NstdPtysSubGrp { + var m NstdPtysSubGrp + return &m +} + //NoNestedPartySubIDs is a repeating group in NstdPtysSubGrp type NoNestedPartySubIDs struct { //NestedPartySubID is a non-required field for NoNestedPartySubIDs. diff --git a/fix50sp2/ordallocgrp/OrdAllocGrp.go b/fix50sp2/ordallocgrp/OrdAllocGrp.go index 7205892b3..549594174 100644 --- a/fix50sp2/ordallocgrp/OrdAllocGrp.go +++ b/fix50sp2/ordallocgrp/OrdAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties2" ) +func New() *OrdAllocGrp { + var m OrdAllocGrp + return &m +} + //NoOrders is a repeating group in OrdAllocGrp type NoOrders struct { //ClOrdID is a non-required field for NoOrders. diff --git a/fix50sp2/orderqtydata/OrderQtyData.go b/fix50sp2/orderqtydata/OrderQtyData.go index 28e0c9454..5eb67770c 100644 --- a/fix50sp2/orderqtydata/OrderQtyData.go +++ b/fix50sp2/orderqtydata/OrderQtyData.go @@ -1,5 +1,10 @@ package orderqtydata +func New() *OrderQtyData { + var m OrderQtyData + return &m +} + //OrderQtyData is a fix50sp2 Component type OrderQtyData struct { //OrderQty is a non-required field for OrderQtyData. diff --git a/fix50sp2/ordliststatgrp/OrdListStatGrp.go b/fix50sp2/ordliststatgrp/OrdListStatGrp.go index 10f165d3e..4c1eebdf5 100644 --- a/fix50sp2/ordliststatgrp/OrdListStatGrp.go +++ b/fix50sp2/ordliststatgrp/OrdListStatGrp.go @@ -1,5 +1,11 @@ package ordliststatgrp +func New(noorders []NoOrders) *OrdListStatGrp { + var m OrdListStatGrp + m.SetNoOrders(noorders) + return &m +} + //NoOrders is a repeating group in OrdListStatGrp type NoOrders struct { //ClOrdID is a non-required field for NoOrders. diff --git a/fix50sp2/ordtyperules/OrdTypeRules.go b/fix50sp2/ordtyperules/OrdTypeRules.go index 0f172fdad..7a98ee1f2 100644 --- a/fix50sp2/ordtyperules/OrdTypeRules.go +++ b/fix50sp2/ordtyperules/OrdTypeRules.go @@ -1,5 +1,10 @@ package ordtyperules +func New() *OrdTypeRules { + var m OrdTypeRules + return &m +} + //NoOrdTypeRules is a repeating group in OrdTypeRules type NoOrdTypeRules struct { //OrdType is a non-required field for NoOrdTypeRules. diff --git a/fix50sp2/parties/Parties.go b/fix50sp2/parties/Parties.go index 944d6e74d..d7ba696d1 100644 --- a/fix50sp2/parties/Parties.go +++ b/fix50sp2/parties/Parties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/ptyssubgrp" ) +func New() *Parties { + var m Parties + return &m +} + //NoPartyIDs is a repeating group in Parties type NoPartyIDs struct { //PartyID is a non-required field for NoPartyIDs. diff --git a/fix50sp2/partyaltids/PartyAltIDs.go b/fix50sp2/partyaltids/PartyAltIDs.go index ac71fe290..196781084 100644 --- a/fix50sp2/partyaltids/PartyAltIDs.go +++ b/fix50sp2/partyaltids/PartyAltIDs.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/altptyssubgrp" ) +func New() *PartyAltIDs { + var m PartyAltIDs + return &m +} + //NoPartyAltIDs is a repeating group in PartyAltIDs type NoPartyAltIDs struct { //PartyAltID is a non-required field for NoPartyAltIDs. diff --git a/fix50sp2/partydetail/PartyDetail.go b/fix50sp2/partydetail/PartyDetail.go index 0a5e6707e..e34667b0c 100644 --- a/fix50sp2/partydetail/PartyDetail.go +++ b/fix50sp2/partydetail/PartyDetail.go @@ -7,6 +7,14 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/risklimits" ) +func New(partyid string, partyidsource string, partyrole int) *PartyDetail { + var m PartyDetail + m.SetPartyID(partyid) + m.SetPartyIDSource(partyidsource) + m.SetPartyRole(partyrole) + return &m +} + //PartyDetail is a fix50sp2 Component type PartyDetail struct { //PartyID is a required field for PartyDetail. diff --git a/fix50sp2/partylistgrp/PartyListGrp.go b/fix50sp2/partylistgrp/PartyListGrp.go index 9f05df9ff..da3ff5b96 100644 --- a/fix50sp2/partylistgrp/PartyListGrp.go +++ b/fix50sp2/partylistgrp/PartyListGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedpartygrp" ) +func New() *PartyListGrp { + var m PartyListGrp + return &m +} + //NoPartyList is a repeating group in PartyListGrp type NoPartyList struct { //PartyDetail is a non-required component for NoPartyList. diff --git a/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go b/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go index ce000b8d4..24cb57873 100644 --- a/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go +++ b/fix50sp2/partylistresponsetypegrp/PartyListResponseTypeGrp.go @@ -1,5 +1,11 @@ package partylistresponsetypegrp +func New(nopartylistresponsetypes []NoPartyListResponseTypes) *PartyListResponseTypeGrp { + var m PartyListResponseTypeGrp + m.SetNoPartyListResponseTypes(nopartylistresponsetypes) + return &m +} + //NoPartyListResponseTypes is a repeating group in PartyListResponseTypeGrp type NoPartyListResponseTypes struct { //PartyListResponseType is a required field for NoPartyListResponseTypes. diff --git a/fix50sp2/partyrelationships/PartyRelationships.go b/fix50sp2/partyrelationships/PartyRelationships.go index e99d9af1b..9186ba5ae 100644 --- a/fix50sp2/partyrelationships/PartyRelationships.go +++ b/fix50sp2/partyrelationships/PartyRelationships.go @@ -1,5 +1,10 @@ package partyrelationships +func New() *PartyRelationships { + var m PartyRelationships + return &m +} + //NoPartyRelationships is a repeating group in PartyRelationships type NoPartyRelationships struct { //PartyRelationship is a non-required field for NoPartyRelationships. diff --git a/fix50sp2/peginstructions/PegInstructions.go b/fix50sp2/peginstructions/PegInstructions.go index dfb3bf146..44ba6b113 100644 --- a/fix50sp2/peginstructions/PegInstructions.go +++ b/fix50sp2/peginstructions/PegInstructions.go @@ -1,5 +1,10 @@ package peginstructions +func New() *PegInstructions { + var m PegInstructions + return &m +} + //PegInstructions is a fix50sp2 Component type PegInstructions struct { //PegOffsetValue is a non-required field for PegInstructions. diff --git a/fix50sp2/positionamountdata/PositionAmountData.go b/fix50sp2/positionamountdata/PositionAmountData.go index 86df49997..cd3af5d16 100644 --- a/fix50sp2/positionamountdata/PositionAmountData.go +++ b/fix50sp2/positionamountdata/PositionAmountData.go @@ -1,5 +1,10 @@ package positionamountdata +func New() *PositionAmountData { + var m PositionAmountData + return &m +} + //NoPosAmt is a repeating group in PositionAmountData type NoPosAmt struct { //PosAmtType is a non-required field for NoPosAmt. diff --git a/fix50sp2/positionqty/PositionQty.go b/fix50sp2/positionqty/PositionQty.go index 10820a44d..9164f8cfe 100644 --- a/fix50sp2/positionqty/PositionQty.go +++ b/fix50sp2/positionqty/PositionQty.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *PositionQty { + var m PositionQty + return &m +} + //NoPositions is a repeating group in PositionQty type NoPositions struct { //PosType is a non-required field for NoPositions. diff --git a/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go index 05a03830f..a0fb64c5b 100644 --- a/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinginstrument" ) +func New() *PosUndInstrmtGrp { + var m PosUndInstrmtGrp + return &m +} + //NoUnderlyings is a repeating group in PosUndInstrmtGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50sp2/preallocgrp/PreAllocGrp.go b/fix50sp2/preallocgrp/PreAllocGrp.go index c952a9c98..2d794c45c 100644 --- a/fix50sp2/preallocgrp/PreAllocGrp.go +++ b/fix50sp2/preallocgrp/PreAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *PreAllocGrp { + var m PreAllocGrp + return &m +} + //NoAllocs is a repeating group in PreAllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go b/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go index 34332cdfe..d99851689 100644 --- a/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties3" ) +func New() *PreAllocMlegGrp { + var m PreAllocMlegGrp + return &m +} + //NoAllocs is a repeating group in PreAllocMlegGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp2/pricelimits/PriceLimits.go b/fix50sp2/pricelimits/PriceLimits.go index db2ab6201..532745971 100644 --- a/fix50sp2/pricelimits/PriceLimits.go +++ b/fix50sp2/pricelimits/PriceLimits.go @@ -1,5 +1,10 @@ package pricelimits +func New() *PriceLimits { + var m PriceLimits + return &m +} + //PriceLimits is a fix50sp2 Component type PriceLimits struct { //PriceLimitType is a non-required field for PriceLimits. diff --git a/fix50sp2/ptyssubgrp/PtysSubGrp.go b/fix50sp2/ptyssubgrp/PtysSubGrp.go index 9fc91275a..0d4957ce6 100644 --- a/fix50sp2/ptyssubgrp/PtysSubGrp.go +++ b/fix50sp2/ptyssubgrp/PtysSubGrp.go @@ -1,5 +1,10 @@ package ptyssubgrp +func New() *PtysSubGrp { + var m PtysSubGrp + return &m +} + //NoPartySubIDs is a repeating group in PtysSubGrp type NoPartySubIDs struct { //PartySubID is a non-required field for NoPartySubIDs. diff --git a/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go index f2fad2b9a..65738ff67 100644 --- a/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +func New() *QuotCxlEntriesGrp { + var m QuotCxlEntriesGrp + return &m +} + //NoQuoteEntries is a repeating group in QuotCxlEntriesGrp type NoQuoteEntries struct { //Instrument is a non-required component for NoQuoteEntries. diff --git a/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go b/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go index 5382544ff..7c334df90 100644 --- a/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *QuotEntryAckGrp { + var m QuotEntryAckGrp + return &m +} + //NoQuoteEntries is a repeating group in QuotEntryAckGrp type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. diff --git a/fix50sp2/quotentrygrp/QuotEntryGrp.go b/fix50sp2/quotentrygrp/QuotEntryGrp.go index bae097694..9e4eff5be 100644 --- a/fix50sp2/quotentrygrp/QuotEntryGrp.go +++ b/fix50sp2/quotentrygrp/QuotEntryGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(noquoteentries []NoQuoteEntries) *QuotEntryGrp { + var m QuotEntryGrp + m.SetNoQuoteEntries(noquoteentries) + return &m +} + //NoQuoteEntries is a repeating group in QuotEntryGrp type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. diff --git a/fix50sp2/quotqualgrp/QuotQualGrp.go b/fix50sp2/quotqualgrp/QuotQualGrp.go index 290d4f2fc..ca0403f84 100644 --- a/fix50sp2/quotqualgrp/QuotQualGrp.go +++ b/fix50sp2/quotqualgrp/QuotQualGrp.go @@ -1,5 +1,10 @@ package quotqualgrp +func New() *QuotQualGrp { + var m QuotQualGrp + return &m +} + //NoQuoteQualifiers is a repeating group in QuotQualGrp type NoQuoteQualifiers struct { //QuoteQualifier is a non-required field for NoQuoteQualifiers. diff --git a/fix50sp2/quotreqgrp/QuotReqGrp.go b/fix50sp2/quotreqgrp/QuotReqGrp.go index b092758d4..c1c54fed1 100644 --- a/fix50sp2/quotreqgrp/QuotReqGrp.go +++ b/fix50sp2/quotreqgrp/QuotReqGrp.go @@ -15,6 +15,12 @@ import ( "time" ) +func New(norelatedsym []NoRelatedSym) *QuotReqGrp { + var m QuotReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in QuotReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go index 6ee9e55d8..82ad6d2c0 100644 --- a/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *QuotReqLegsGrp { + var m QuotReqLegsGrp + return &m +} + //NoLegs is a repeating group in QuotReqLegsGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go index 886fd3705..cea7f6afd 100644 --- a/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go @@ -14,6 +14,12 @@ import ( "time" ) +func New(norelatedsym []NoRelatedSym) *QuotReqRjctGrp { + var m QuotReqRjctGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in QuotReqRjctGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp2/quotsetackgrp/QuotSetAckGrp.go b/fix50sp2/quotsetackgrp/QuotSetAckGrp.go index e104da952..4165ec6ff 100644 --- a/fix50sp2/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50sp2/quotsetackgrp/QuotSetAckGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *QuotSetAckGrp { + var m QuotSetAckGrp + return &m +} + //NoQuoteSets is a repeating group in QuotSetAckGrp type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. diff --git a/fix50sp2/quotsetgrp/QuotSetGrp.go b/fix50sp2/quotsetgrp/QuotSetGrp.go index 7bdf4d649..ed95c5c47 100644 --- a/fix50sp2/quotsetgrp/QuotSetGrp.go +++ b/fix50sp2/quotsetgrp/QuotSetGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(noquotesets []NoQuoteSets) *QuotSetGrp { + var m QuotSetGrp + m.SetNoQuoteSets(noquotesets) + return &m +} + //NoQuoteSets is a repeating group in QuotSetGrp type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. diff --git a/fix50sp2/ratesource/RateSource.go b/fix50sp2/ratesource/RateSource.go index 58eb5dbe3..74b3efe81 100644 --- a/fix50sp2/ratesource/RateSource.go +++ b/fix50sp2/ratesource/RateSource.go @@ -1,5 +1,10 @@ package ratesource +func New() *RateSource { + var m RateSource + return &m +} + //NoRateSources is a repeating group in RateSource type NoRateSources struct { //RateSource is a non-required field for NoRateSources. diff --git a/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go b/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go index 1b046c418..850dd9769 100644 --- a/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go +++ b/fix50sp2/relatedaltptyssubgrp/RelatedAltPtysSubGrp.go @@ -1,5 +1,10 @@ package relatedaltptyssubgrp +func New() *RelatedAltPtysSubGrp { + var m RelatedAltPtysSubGrp + return &m +} + //NoRelatedPartyAltSubIDs is a repeating group in RelatedAltPtysSubGrp type NoRelatedPartyAltSubIDs struct { //RelatedPartyAltSubID is a non-required field for NoRelatedPartyAltSubIDs. diff --git a/fix50sp2/relatedcontextparties/RelatedContextParties.go b/fix50sp2/relatedcontextparties/RelatedContextParties.go index 3eaab9938..57f8aee7a 100644 --- a/fix50sp2/relatedcontextparties/RelatedContextParties.go +++ b/fix50sp2/relatedcontextparties/RelatedContextParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedcontextptyssubgrp" ) +func New() *RelatedContextParties { + var m RelatedContextParties + return &m +} + //NoRelatedContextPartyIDs is a repeating group in RelatedContextParties type NoRelatedContextPartyIDs struct { //RelatedContextPartyID is a non-required field for NoRelatedContextPartyIDs. diff --git a/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go b/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go index 35bb4ad94..614e5c3d9 100644 --- a/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go +++ b/fix50sp2/relatedcontextptyssubgrp/RelatedContextPtysSubGrp.go @@ -1,5 +1,10 @@ package relatedcontextptyssubgrp +func New() *RelatedContextPtysSubGrp { + var m RelatedContextPtysSubGrp + return &m +} + //NoRelatedContextPartySubIDs is a repeating group in RelatedContextPtysSubGrp type NoRelatedContextPartySubIDs struct { //RelatedContextPartySubID is a non-required field for NoRelatedContextPartySubIDs. diff --git a/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go b/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go index 58c408e14..ebf9eae17 100644 --- a/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go +++ b/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedaltptyssubgrp" ) +func New() *RelatedPartyAltIDs { + var m RelatedPartyAltIDs + return &m +} + //NoRelatedPartyAltIDs is a repeating group in RelatedPartyAltIDs type NoRelatedPartyAltIDs struct { //RelatedPartyAltID is a non-required field for NoRelatedPartyAltIDs. diff --git a/fix50sp2/relatedpartydetail/RelatedPartyDetail.go b/fix50sp2/relatedpartydetail/RelatedPartyDetail.go index bb048722d..e716db160 100644 --- a/fix50sp2/relatedpartydetail/RelatedPartyDetail.go +++ b/fix50sp2/relatedpartydetail/RelatedPartyDetail.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relationshiprisklimits" ) +func New() *RelatedPartyDetail { + var m RelatedPartyDetail + return &m +} + //RelatedPartyDetail is a fix50sp2 Component type RelatedPartyDetail struct { //RelatedPartyID is a non-required field for RelatedPartyDetail. diff --git a/fix50sp2/relatedpartygrp/RelatedPartyGrp.go b/fix50sp2/relatedpartygrp/RelatedPartyGrp.go index 4d24f4443..72f5caff0 100644 --- a/fix50sp2/relatedpartygrp/RelatedPartyGrp.go +++ b/fix50sp2/relatedpartygrp/RelatedPartyGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relatedpartydetail" ) +func New() *RelatedPartyGrp { + var m RelatedPartyGrp + return &m +} + //NoRelatedPartyIDs is a repeating group in RelatedPartyGrp type NoRelatedPartyIDs struct { //RelatedPartyDetail is a non-required component for NoRelatedPartyIDs. diff --git a/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go b/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go index 63bbc485f..636b789e9 100644 --- a/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go +++ b/fix50sp2/relatedptyssubgrp/RelatedPtysSubGrp.go @@ -1,5 +1,10 @@ package relatedptyssubgrp +func New() *RelatedPtysSubGrp { + var m RelatedPtysSubGrp + return &m +} + //NoRelatedPartySubIDs is a repeating group in RelatedPtysSubGrp type NoRelatedPartySubIDs struct { //RelatedPartySubID is a non-required field for NoRelatedPartySubIDs. diff --git a/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go b/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go index 08b153023..f7a2a73e2 100644 --- a/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go +++ b/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relationshiprisksecaltidgrp" ) +func New() *RelationshipRiskInstrumentScope { + var m RelationshipRiskInstrumentScope + return &m +} + //NoRelationshipRiskInstruments is a repeating group in RelationshipRiskInstrumentScope type NoRelationshipRiskInstruments struct { //RelationshipRiskInstrumentOperator is a non-required field for NoRelationshipRiskInstruments. diff --git a/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go b/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go index c1fc864e4..2f3dde918 100644 --- a/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go +++ b/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/relationshipriskwarninglevels" ) +func New() *RelationshipRiskLimits { + var m RelationshipRiskLimits + return &m +} + //NoRelationshipRiskLimits is a repeating group in RelationshipRiskLimits type NoRelationshipRiskLimits struct { //RelationshipRiskLimitType is a non-required field for NoRelationshipRiskLimits. diff --git a/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go b/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go index e510a8bff..289c737c2 100644 --- a/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go +++ b/fix50sp2/relationshiprisksecaltidgrp/RelationshipRiskSecAltIDGrp.go @@ -1,5 +1,10 @@ package relationshiprisksecaltidgrp +func New() *RelationshipRiskSecAltIDGrp { + var m RelationshipRiskSecAltIDGrp + return &m +} + //NoRelationshipRiskSecurityAltID is a repeating group in RelationshipRiskSecAltIDGrp type NoRelationshipRiskSecurityAltID struct { //RelationshipRiskSecurityAltID is a non-required field for NoRelationshipRiskSecurityAltID. diff --git a/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go b/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go index 55334c2fa..bf948f042 100644 --- a/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go +++ b/fix50sp2/relationshipriskwarninglevels/RelationshipRiskWarningLevels.go @@ -1,5 +1,10 @@ package relationshipriskwarninglevels +func New() *RelationshipRiskWarningLevels { + var m RelationshipRiskWarningLevels + return &m +} + //NoRelationshipRiskWarningLevels is a repeating group in RelationshipRiskWarningLevels type NoRelationshipRiskWarningLevels struct { //RelationshipRiskWarningLevelPercent is a non-required field for NoRelationshipRiskWarningLevels. diff --git a/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go index 4bc5abdd2..757dd8699 100644 --- a/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -8,6 +8,11 @@ import ( "time" ) +func New() *RelSymDerivSecGrp { + var m RelSymDerivSecGrp + return &m +} + //NoRelatedSym is a repeating group in RelSymDerivSecGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go b/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go index 2c02772fa..e15f189bb 100644 --- a/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go +++ b/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go @@ -8,6 +8,11 @@ import ( "time" ) +func New() *RelSymDerivSecUpdGrp { + var m RelSymDerivSecUpdGrp + return &m +} + //NoRelatedSym is a repeating group in RelSymDerivSecUpdGrp type NoRelatedSym struct { //ListUpdateAction is a non-required field for NoRelatedSym. diff --git a/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go b/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go index ee0c3d3ef..42bd918d9 100644 --- a/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go +++ b/fix50sp2/requestedpartyrolegrp/RequestedPartyRoleGrp.go @@ -1,5 +1,10 @@ package requestedpartyrolegrp +func New() *RequestedPartyRoleGrp { + var m RequestedPartyRoleGrp + return &m +} + //NoRequestedPartyRoles is a repeating group in RequestedPartyRoleGrp type NoRequestedPartyRoles struct { //RequestedPartyRole is a non-required field for NoRequestedPartyRoles. diff --git a/fix50sp2/rfqreqgrp/RFQReqGrp.go b/fix50sp2/rfqreqgrp/RFQReqGrp.go index 81a913653..efbe5b207 100644 --- a/fix50sp2/rfqreqgrp/RFQReqGrp.go +++ b/fix50sp2/rfqreqgrp/RFQReqGrp.go @@ -6,6 +6,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undinstrmtgrp" ) +func New(norelatedsym []NoRelatedSym) *RFQReqGrp { + var m RFQReqGrp + m.SetNoRelatedSym(norelatedsym) + return &m +} + //NoRelatedSym is a repeating group in RFQReqGrp type NoRelatedSym struct { //Instrument is a required component for NoRelatedSym. diff --git a/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go b/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go index 148462008..88c2eada6 100644 --- a/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go +++ b/fix50sp2/rgstdistinstgrp/RgstDistInstGrp.go @@ -1,5 +1,10 @@ package rgstdistinstgrp +func New() *RgstDistInstGrp { + var m RgstDistInstGrp + return &m +} + //NoDistribInsts is a repeating group in RgstDistInstGrp type NoDistribInsts struct { //DistribPaymentMethod is a non-required field for NoDistribInsts. diff --git a/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go b/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go index 42ee4409e..e6b28588e 100644 --- a/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties" ) +func New() *RgstDtlsGrp { + var m RgstDtlsGrp + return &m +} + //NoRegistDtls is a repeating group in RgstDtlsGrp type NoRegistDtls struct { //RegistDtls is a non-required field for NoRegistDtls. diff --git a/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go b/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go index d5f1830cd..5f4590c3f 100644 --- a/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go +++ b/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/risksecaltidgrp" ) +func New() *RiskInstrumentScope { + var m RiskInstrumentScope + return &m +} + //NoRiskInstruments is a repeating group in RiskInstrumentScope type NoRiskInstruments struct { //RiskInstrumentOperator is a non-required field for NoRiskInstruments. diff --git a/fix50sp2/risklimits/RiskLimits.go b/fix50sp2/risklimits/RiskLimits.go index b3e0a6ee4..9822a4f45 100644 --- a/fix50sp2/risklimits/RiskLimits.go +++ b/fix50sp2/risklimits/RiskLimits.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/riskwarninglevels" ) +func New() *RiskLimits { + var m RiskLimits + return &m +} + //NoRiskLimits is a repeating group in RiskLimits type NoRiskLimits struct { //RiskLimitType is a non-required field for NoRiskLimits. diff --git a/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go b/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go index 781c0b144..5cadca131 100644 --- a/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go +++ b/fix50sp2/risksecaltidgrp/RiskSecAltIDGrp.go @@ -1,5 +1,10 @@ package risksecaltidgrp +func New() *RiskSecAltIDGrp { + var m RiskSecAltIDGrp + return &m +} + //NoRiskSecurityAltID is a repeating group in RiskSecAltIDGrp type NoRiskSecurityAltID struct { //RiskSecurityAltID is a non-required field for NoRiskSecurityAltID. diff --git a/fix50sp2/riskwarninglevels/RiskWarningLevels.go b/fix50sp2/riskwarninglevels/RiskWarningLevels.go index 605d97f93..b8fecf06b 100644 --- a/fix50sp2/riskwarninglevels/RiskWarningLevels.go +++ b/fix50sp2/riskwarninglevels/RiskWarningLevels.go @@ -1,5 +1,10 @@ package riskwarninglevels +func New() *RiskWarningLevels { + var m RiskWarningLevels + return &m +} + //NoRiskWarningLevels is a repeating group in RiskWarningLevels type NoRiskWarningLevels struct { //RiskWarningLevelPercent is a non-required field for NoRiskWarningLevels. diff --git a/fix50sp2/rootparties/RootParties.go b/fix50sp2/rootparties/RootParties.go index 1bd1c7dce..521f26fe3 100644 --- a/fix50sp2/rootparties/RootParties.go +++ b/fix50sp2/rootparties/RootParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/rootsubparties" ) +func New() *RootParties { + var m RootParties + return &m +} + //NoRootPartyIDs is a repeating group in RootParties type NoRootPartyIDs struct { //RootPartyID is a non-required field for NoRootPartyIDs. diff --git a/fix50sp2/rootsubparties/RootSubParties.go b/fix50sp2/rootsubparties/RootSubParties.go index 3f1916012..20b7996e3 100644 --- a/fix50sp2/rootsubparties/RootSubParties.go +++ b/fix50sp2/rootsubparties/RootSubParties.go @@ -1,5 +1,10 @@ package rootsubparties +func New() *RootSubParties { + var m RootSubParties + return &m +} + //NoRootPartySubIDs is a repeating group in RootSubParties type NoRootPartySubIDs struct { //RootPartySubID is a non-required field for NoRootPartySubIDs. diff --git a/fix50sp2/routinggrp/RoutingGrp.go b/fix50sp2/routinggrp/RoutingGrp.go index a61dd9af3..e1fc3d2d0 100644 --- a/fix50sp2/routinggrp/RoutingGrp.go +++ b/fix50sp2/routinggrp/RoutingGrp.go @@ -1,5 +1,10 @@ package routinggrp +func New() *RoutingGrp { + var m RoutingGrp + return &m +} + //NoRoutingIDs is a repeating group in RoutingGrp type NoRoutingIDs struct { //RoutingType is a non-required field for NoRoutingIDs. diff --git a/fix50sp2/secaltidgrp/SecAltIDGrp.go b/fix50sp2/secaltidgrp/SecAltIDGrp.go index 3f828ae29..837250c00 100644 --- a/fix50sp2/secaltidgrp/SecAltIDGrp.go +++ b/fix50sp2/secaltidgrp/SecAltIDGrp.go @@ -1,5 +1,10 @@ package secaltidgrp +func New() *SecAltIDGrp { + var m SecAltIDGrp + return &m +} + //NoSecurityAltID is a repeating group in SecAltIDGrp type NoSecurityAltID struct { //SecurityAltID is a non-required field for NoSecurityAltID. diff --git a/fix50sp2/seclistgrp/SecListGrp.go b/fix50sp2/seclistgrp/SecListGrp.go index 78d6710a2..497faf26d 100644 --- a/fix50sp2/seclistgrp/SecListGrp.go +++ b/fix50sp2/seclistgrp/SecListGrp.go @@ -14,6 +14,11 @@ import ( "time" ) +func New() *SecListGrp { + var m SecListGrp + return &m +} + //NoRelatedSym is a repeating group in SecListGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index c8311a64c..3e7152ede 100644 --- a/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -14,6 +14,11 @@ import ( "time" ) +func New() *SecLstUpdRelSymGrp { + var m SecLstUpdRelSymGrp + return &m +} + //NoRelatedSym is a repeating group in SecLstUpdRelSymGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index e6e9529b9..e515feb50 100644 --- a/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/legstipulations" ) +func New() *SecLstUpdRelSymsLegGrp { + var m SecLstUpdRelSymsLegGrp + return &m +} + //NoLegs is a repeating group in SecLstUpdRelSymsLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go b/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go index c596f0d1a..26ca6dd35 100644 --- a/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go +++ b/fix50sp2/secondarypricelimits/SecondaryPriceLimits.go @@ -1,5 +1,10 @@ package secondarypricelimits +func New() *SecondaryPriceLimits { + var m SecondaryPriceLimits + return &m +} + //SecondaryPriceLimits is a fix50sp2 Component type SecondaryPriceLimits struct { //SecondaryPriceLimitType is a non-required field for SecondaryPriceLimits. diff --git a/fix50sp2/secsizesgrp/SecSizesGrp.go b/fix50sp2/secsizesgrp/SecSizesGrp.go index f53530a54..3a469e38c 100644 --- a/fix50sp2/secsizesgrp/SecSizesGrp.go +++ b/fix50sp2/secsizesgrp/SecSizesGrp.go @@ -1,5 +1,10 @@ package secsizesgrp +func New() *SecSizesGrp { + var m SecSizesGrp + return &m +} + //NoOfSecSizes is a repeating group in SecSizesGrp type NoOfSecSizes struct { //MDSecSizeType is a non-required field for NoOfSecSizes. diff --git a/fix50sp2/sectypesgrp/SecTypesGrp.go b/fix50sp2/sectypesgrp/SecTypesGrp.go index 1296eae40..2629e039d 100644 --- a/fix50sp2/sectypesgrp/SecTypesGrp.go +++ b/fix50sp2/sectypesgrp/SecTypesGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *SecTypesGrp { + var m SecTypesGrp + return &m +} + //NoSecurityTypes is a repeating group in SecTypesGrp type NoSecurityTypes struct { //SecurityType is a non-required field for NoSecurityTypes. diff --git a/fix50sp2/securitytradingrules/SecurityTradingRules.go b/fix50sp2/securitytradingrules/SecurityTradingRules.go index 7824d5b25..2e425887b 100644 --- a/fix50sp2/securitytradingrules/SecurityTradingRules.go +++ b/fix50sp2/securitytradingrules/SecurityTradingRules.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tradingsessionrulesgrp" ) +func New() *SecurityTradingRules { + var m SecurityTradingRules + return &m +} + //SecurityTradingRules is a fix50sp2 Component type SecurityTradingRules struct { //BaseTradingRules is a non-required component for SecurityTradingRules. diff --git a/fix50sp2/securityxml/SecurityXML.go b/fix50sp2/securityxml/SecurityXML.go index 4c2b8a3da..ae59aabbb 100644 --- a/fix50sp2/securityxml/SecurityXML.go +++ b/fix50sp2/securityxml/SecurityXML.go @@ -1,5 +1,10 @@ package securityxml +func New() *SecurityXML { + var m SecurityXML + return &m +} + //SecurityXML is a fix50sp2 Component type SecurityXML struct { //SecurityXMLLen is a non-required field for SecurityXML. diff --git a/fix50sp2/settldetails/SettlDetails.go b/fix50sp2/settldetails/SettlDetails.go index 7b17a0fd9..93e4fc30a 100644 --- a/fix50sp2/settldetails/SettlDetails.go +++ b/fix50sp2/settldetails/SettlDetails.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlparties" ) +func New() *SettlDetails { + var m SettlDetails + return &m +} + //NoSettlDetails is a repeating group in SettlDetails type NoSettlDetails struct { //SettlObligSource is a non-required field for NoSettlDetails. diff --git a/fix50sp2/settlinstgrp/SettlInstGrp.go b/fix50sp2/settlinstgrp/SettlInstGrp.go index 279ed368e..678333519 100644 --- a/fix50sp2/settlinstgrp/SettlInstGrp.go +++ b/fix50sp2/settlinstgrp/SettlInstGrp.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *SettlInstGrp { + var m SettlInstGrp + return &m +} + //NoSettlInst is a repeating group in SettlInstGrp type NoSettlInst struct { //SettlInstID is a non-required field for NoSettlInst. diff --git a/fix50sp2/settlinstructionsdata/SettlInstructionsData.go b/fix50sp2/settlinstructionsdata/SettlInstructionsData.go index 51d75f1ed..dfc23ce03 100644 --- a/fix50sp2/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50sp2/settlinstructionsdata/SettlInstructionsData.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/dlvyinstgrp" ) +func New() *SettlInstructionsData { + var m SettlInstructionsData + return &m +} + //SettlInstructionsData is a fix50sp2 Component type SettlInstructionsData struct { //SettlDeliveryType is a non-required field for SettlInstructionsData. diff --git a/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go b/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go index 2b464a9d4..d658c8525 100644 --- a/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go +++ b/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go @@ -7,6 +7,11 @@ import ( "time" ) +func New() *SettlObligationInstructions { + var m SettlObligationInstructions + return &m +} + //NoSettlOblig is a repeating group in SettlObligationInstructions type NoSettlOblig struct { //NetGrossInd is a non-required field for NoSettlOblig. diff --git a/fix50sp2/settlparties/SettlParties.go b/fix50sp2/settlparties/SettlParties.go index e4905e978..1dff1e60e 100644 --- a/fix50sp2/settlparties/SettlParties.go +++ b/fix50sp2/settlparties/SettlParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/settlptyssubgrp" ) +func New() *SettlParties { + var m SettlParties + return &m +} + //NoSettlPartyIDs is a repeating group in SettlParties type NoSettlPartyIDs struct { //SettlPartyID is a non-required field for NoSettlPartyIDs. diff --git a/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go b/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go index 7c182b58b..474788e3b 100644 --- a/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go +++ b/fix50sp2/settlptyssubgrp/SettlPtysSubGrp.go @@ -1,5 +1,10 @@ package settlptyssubgrp +func New() *SettlPtysSubGrp { + var m SettlPtysSubGrp + return &m +} + //NoSettlPartySubIDs is a repeating group in SettlPtysSubGrp type NoSettlPartySubIDs struct { //SettlPartySubID is a non-required field for NoSettlPartySubIDs. diff --git a/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index 1a346dda7..8459a0f49 100644 --- a/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -6,6 +6,12 @@ import ( "time" ) +func New(nosides []NoSides) *SideCrossOrdCxlGrp { + var m SideCrossOrdCxlGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in SideCrossOrdCxlGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go index 5e2014642..b42613723 100644 --- a/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -8,6 +8,12 @@ import ( "time" ) +func New(nosides []NoSides) *SideCrossOrdModGrp { + var m SideCrossOrdModGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in SideCrossOrdModGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp2/sidetrdregts/SideTrdRegTS.go b/fix50sp2/sidetrdregts/SideTrdRegTS.go index e51cd09ab..9d54ff786 100644 --- a/fix50sp2/sidetrdregts/SideTrdRegTS.go +++ b/fix50sp2/sidetrdregts/SideTrdRegTS.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *SideTrdRegTS { + var m SideTrdRegTS + return &m +} + //NoSideTrdRegTS is a repeating group in SideTrdRegTS type NoSideTrdRegTS struct { //SideTrdRegTimestamp is a non-required field for NoSideTrdRegTS. diff --git a/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go b/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go index 24bc6393e..ec1afae12 100644 --- a/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go +++ b/fix50sp2/spreadorbenchmarkcurvedata/SpreadOrBenchmarkCurveData.go @@ -1,5 +1,10 @@ package spreadorbenchmarkcurvedata +func New() *SpreadOrBenchmarkCurveData { + var m SpreadOrBenchmarkCurveData + return &m +} + //SpreadOrBenchmarkCurveData is a fix50sp2 Component type SpreadOrBenchmarkCurveData struct { //Spread is a non-required field for SpreadOrBenchmarkCurveData. diff --git a/fix50sp2/statsindgrp/StatsIndGrp.go b/fix50sp2/statsindgrp/StatsIndGrp.go index 11daa6c15..8125c71f9 100644 --- a/fix50sp2/statsindgrp/StatsIndGrp.go +++ b/fix50sp2/statsindgrp/StatsIndGrp.go @@ -1,5 +1,10 @@ package statsindgrp +func New() *StatsIndGrp { + var m StatsIndGrp + return &m +} + //NoStatsIndicators is a repeating group in StatsIndGrp type NoStatsIndicators struct { //StatsType is a non-required field for NoStatsIndicators. diff --git a/fix50sp2/stipulations/Stipulations.go b/fix50sp2/stipulations/Stipulations.go index e2e9315a5..a83a4bb40 100644 --- a/fix50sp2/stipulations/Stipulations.go +++ b/fix50sp2/stipulations/Stipulations.go @@ -1,5 +1,10 @@ package stipulations +func New() *Stipulations { + var m Stipulations + return &m +} + //NoStipulations is a repeating group in Stipulations type NoStipulations struct { //StipulationType is a non-required field for NoStipulations. diff --git a/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go b/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go index d780f99a9..248c432ac 100644 --- a/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go +++ b/fix50sp2/strategyparametersgrp/StrategyParametersGrp.go @@ -1,5 +1,10 @@ package strategyparametersgrp +func New() *StrategyParametersGrp { + var m StrategyParametersGrp + return &m +} + //NoStrategyParameters is a repeating group in StrategyParametersGrp type NoStrategyParameters struct { //StrategyParameterName is a non-required field for NoStrategyParameters. diff --git a/fix50sp2/strikerules/StrikeRules.go b/fix50sp2/strikerules/StrikeRules.go index 5c7e4f048..3eb7b1fb4 100644 --- a/fix50sp2/strikerules/StrikeRules.go +++ b/fix50sp2/strikerules/StrikeRules.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/maturityrules" ) +func New() *StrikeRules { + var m StrikeRules + return &m +} + //NoStrikeRules is a repeating group in StrikeRules type NoStrikeRules struct { //StrikeRuleID is a non-required field for NoStrikeRules. diff --git a/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go b/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go index 476b0d948..e8e4b835c 100644 --- a/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go +++ b/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/strmasgnreqinstrmtgrp" ) +func New() *StrmAsgnReqGrp { + var m StrmAsgnReqGrp + return &m +} + //NoAsgnReqs is a repeating group in StrmAsgnReqGrp type NoAsgnReqs struct { //Parties is a non-required component for NoAsgnReqs. diff --git a/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go b/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go index 790af3ba8..08fd21183 100644 --- a/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go +++ b/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) +func New() *StrmAsgnReqInstrmtGrp { + var m StrmAsgnReqInstrmtGrp + return &m +} + //NoRelatedSym is a repeating group in StrmAsgnReqInstrmtGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go b/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go index 93124ccda..9b6447902 100644 --- a/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go +++ b/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go @@ -5,6 +5,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/strmasgnrptinstrmtgrp" ) +func New() *StrmAsgnRptGrp { + var m StrmAsgnRptGrp + return &m +} + //NoAsgnReqs is a repeating group in StrmAsgnRptGrp type NoAsgnReqs struct { //Parties is a non-required component for NoAsgnReqs. diff --git a/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go b/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go index cc3d2e2dd..a9af75a20 100644 --- a/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go +++ b/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) +func New() *StrmAsgnRptInstrmtGrp { + var m StrmAsgnRptInstrmtGrp + return &m +} + //NoRelatedSym is a repeating group in StrmAsgnRptInstrmtGrp type NoRelatedSym struct { //Instrument is a non-required component for NoRelatedSym. diff --git a/fix50sp2/targetparties/TargetParties.go b/fix50sp2/targetparties/TargetParties.go index adff5e756..0a451e02e 100644 --- a/fix50sp2/targetparties/TargetParties.go +++ b/fix50sp2/targetparties/TargetParties.go @@ -1,5 +1,10 @@ package targetparties +func New() *TargetParties { + var m TargetParties + return &m +} + //NoTargetPartyIDs is a repeating group in TargetParties type NoTargetPartyIDs struct { //TargetPartyID is a non-required field for NoTargetPartyIDs. diff --git a/fix50sp2/tickrules/TickRules.go b/fix50sp2/tickrules/TickRules.go index 5d669974e..c8c03e5d3 100644 --- a/fix50sp2/tickrules/TickRules.go +++ b/fix50sp2/tickrules/TickRules.go @@ -1,5 +1,10 @@ package tickrules +func New() *TickRules { + var m TickRules + return &m +} + //NoTickRules is a repeating group in TickRules type NoTickRules struct { //StartTickPriceRange is a non-required field for NoTickRules. diff --git a/fix50sp2/timeinforcerules/TimeInForceRules.go b/fix50sp2/timeinforcerules/TimeInForceRules.go index 46a3154e0..60e5bd93e 100644 --- a/fix50sp2/timeinforcerules/TimeInForceRules.go +++ b/fix50sp2/timeinforcerules/TimeInForceRules.go @@ -1,5 +1,10 @@ package timeinforcerules +func New() *TimeInForceRules { + var m TimeInForceRules + return &m +} + //NoTimeInForceRules is a repeating group in TimeInForceRules type NoTimeInForceRules struct { //TimeInForce is a non-required field for NoTimeInForceRules. diff --git a/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go b/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go index be83626f0..40386d842 100644 --- a/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go +++ b/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyingleginstrument" ) +func New() *TradeCapLegUnderlyingsGrp { + var m TradeCapLegUnderlyingsGrp + return &m +} + //NoOfLegUnderlyings is a repeating group in TradeCapLegUnderlyingsGrp type NoOfLegUnderlyings struct { //UnderlyingLegInstrument is a non-required component for NoOfLegUnderlyings. diff --git a/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go b/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go index b0bed1740..b9fee7793 100644 --- a/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go +++ b/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go @@ -6,6 +6,11 @@ import ( "time" ) +func New() *TradeReportOrderDetail { + var m TradeReportOrderDetail + return &m +} + //TradeReportOrderDetail is a fix50sp2 Component type TradeReportOrderDetail struct { //OrderID is a non-required field for TradeReportOrderDetail. diff --git a/fix50sp2/tradingsessionrules/TradingSessionRules.go b/fix50sp2/tradingsessionrules/TradingSessionRules.go index e2009baed..25aa6c680 100644 --- a/fix50sp2/tradingsessionrules/TradingSessionRules.go +++ b/fix50sp2/tradingsessionrules/TradingSessionRules.go @@ -8,6 +8,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/timeinforcerules" ) +func New() *TradingSessionRules { + var m TradingSessionRules + return &m +} + //TradingSessionRules is a fix50sp2 Component type TradingSessionRules struct { //OrdTypeRules is a non-required component for TradingSessionRules. diff --git a/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go b/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go index 845169513..ca368b868 100644 --- a/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go +++ b/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tradingsessionrules" ) +func New() *TradingSessionRulesGrp { + var m TradingSessionRulesGrp + return &m +} + //NoTradingSessionRules is a repeating group in TradingSessionRulesGrp type NoTradingSessionRules struct { //TradingSessionID is a non-required field for NoTradingSessionRules. diff --git a/fix50sp2/trdallocgrp/TrdAllocGrp.go b/fix50sp2/trdallocgrp/TrdAllocGrp.go index f9e50fa43..d7c2c2460 100644 --- a/fix50sp2/trdallocgrp/TrdAllocGrp.go +++ b/fix50sp2/trdallocgrp/TrdAllocGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/nestedparties2" ) +func New() *TrdAllocGrp { + var m TrdAllocGrp + return &m +} + //NoAllocs is a repeating group in TrdAllocGrp type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. diff --git a/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go b/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go index 18df5b368..decad167d 100644 --- a/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go +++ b/fix50sp2/trdcapdtgrp/TrdCapDtGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdCapDtGrp { + var m TrdCapDtGrp + return &m +} + //NoDates is a repeating group in TrdCapDtGrp type NoDates struct { //TradeDate is a non-required field for NoDates. diff --git a/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 9f3a82e3f..462c117a7 100644 --- a/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -13,6 +13,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/trdallocgrp" ) +func New(nosides []NoSides) *TrdCapRptAckSideGrp { + var m TrdCapRptAckSideGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in TrdCapRptAckSideGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go index 160bd2724..3e4553a9e 100644 --- a/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -13,6 +13,12 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/trdallocgrp" ) +func New(nosides []NoSides) *TrdCapRptSideGrp { + var m TrdCapRptSideGrp + m.SetNoSides(nosides) + return &m +} + //NoSides is a repeating group in TrdCapRptSideGrp type NoSides struct { //Side is a required field for NoSides. diff --git a/fix50sp2/trdcollgrp/TrdCollGrp.go b/fix50sp2/trdcollgrp/TrdCollGrp.go index 9047d9700..e90552824 100644 --- a/fix50sp2/trdcollgrp/TrdCollGrp.go +++ b/fix50sp2/trdcollgrp/TrdCollGrp.go @@ -1,5 +1,10 @@ package trdcollgrp +func New() *TrdCollGrp { + var m TrdCollGrp + return &m +} + //NoTrades is a repeating group in TrdCollGrp type NoTrades struct { //TradeReportID is a non-required field for NoTrades. diff --git a/fix50sp2/trdgsesgrp/TrdgSesGrp.go b/fix50sp2/trdgsesgrp/TrdgSesGrp.go index 91175588d..f8d3fbc29 100644 --- a/fix50sp2/trdgsesgrp/TrdgSesGrp.go +++ b/fix50sp2/trdgsesgrp/TrdgSesGrp.go @@ -1,5 +1,10 @@ package trdgsesgrp +func New() *TrdgSesGrp { + var m TrdgSesGrp + return &m +} + //NoTradingSessions is a repeating group in TrdgSesGrp type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. diff --git a/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go index 48517db57..6a860cec1 100644 --- a/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -7,6 +7,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/tradecaplegunderlyingsgrp" ) +func New() *TrdInstrmtLegGrp { + var m TrdInstrmtLegGrp + return &m +} + //NoLegs is a repeating group in TrdInstrmtLegGrp type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. diff --git a/fix50sp2/trdregtimestamps/TrdRegTimestamps.go b/fix50sp2/trdregtimestamps/TrdRegTimestamps.go index 8a5bc79f9..297c53a30 100644 --- a/fix50sp2/trdregtimestamps/TrdRegTimestamps.go +++ b/fix50sp2/trdregtimestamps/TrdRegTimestamps.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *TrdRegTimestamps { + var m TrdRegTimestamps + return &m +} + //NoTrdRegTimestamps is a repeating group in TrdRegTimestamps type NoTrdRegTimestamps struct { //TrdRegTimestamp is a non-required field for NoTrdRegTimestamps. diff --git a/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go b/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go index 1be93f72f..356c5ed5c 100644 --- a/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go +++ b/fix50sp2/trdrepindicatorsgrp/TrdRepIndicatorsGrp.go @@ -1,5 +1,10 @@ package trdrepindicatorsgrp +func New() *TrdRepIndicatorsGrp { + var m TrdRepIndicatorsGrp + return &m +} + //NoTrdRepIndicators is a repeating group in TrdRepIndicatorsGrp type NoTrdRepIndicators struct { //TrdRepPartyRole is a non-required field for NoTrdRepIndicators. diff --git a/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go b/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go index d3e0db2ad..4ea42bfec 100644 --- a/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go @@ -5,6 +5,12 @@ import ( "time" ) +func New(notradingsessions []NoTradingSessions) *TrdSessLstGrp { + var m TrdSessLstGrp + m.SetNoTradingSessions(notradingsessions) + return &m +} + //NoTradingSessions is a repeating group in TrdSessLstGrp type NoTradingSessions struct { //TradingSessionID is a required field for NoTradingSessions. diff --git a/fix50sp2/triggeringinstruction/TriggeringInstruction.go b/fix50sp2/triggeringinstruction/TriggeringInstruction.go index bff473d89..b2b12a18d 100644 --- a/fix50sp2/triggeringinstruction/TriggeringInstruction.go +++ b/fix50sp2/triggeringinstruction/TriggeringInstruction.go @@ -1,5 +1,10 @@ package triggeringinstruction +func New() *TriggeringInstruction { + var m TriggeringInstruction + return &m +} + //TriggeringInstruction is a fix50sp2 Component type TriggeringInstruction struct { //TriggerType is a non-required field for TriggeringInstruction. diff --git a/fix50sp2/underlyingamount/UnderlyingAmount.go b/fix50sp2/underlyingamount/UnderlyingAmount.go index 9f0644d06..6c4378492 100644 --- a/fix50sp2/underlyingamount/UnderlyingAmount.go +++ b/fix50sp2/underlyingamount/UnderlyingAmount.go @@ -1,5 +1,10 @@ package underlyingamount +func New() *UnderlyingAmount { + var m UnderlyingAmount + return &m +} + //NoUnderlyingAmounts is a repeating group in UnderlyingAmount type NoUnderlyingAmounts struct { //UnderlyingPayAmount is a non-required field for NoUnderlyingAmounts. diff --git a/fix50sp2/underlyinginstrument/UnderlyingInstrument.go b/fix50sp2/underlyinginstrument/UnderlyingInstrument.go index d71169a6d..40b8ea3e3 100644 --- a/fix50sp2/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50sp2/underlyinginstrument/UnderlyingInstrument.go @@ -6,6 +6,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undsecaltidgrp" ) +func New() *UnderlyingInstrument { + var m UnderlyingInstrument + return &m +} + //UnderlyingInstrument is a fix50sp2 Component type UnderlyingInstrument struct { //UnderlyingSymbol is a non-required field for UnderlyingInstrument. diff --git a/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go b/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go index 195819404..7c7b0bfb2 100644 --- a/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go +++ b/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinglegsecurityaltidgrp" ) +func New() *UnderlyingLegInstrument { + var m UnderlyingLegInstrument + return &m +} + //UnderlyingLegInstrument is a fix50sp2 Component type UnderlyingLegInstrument struct { //UnderlyingLegSymbol is a non-required field for UnderlyingLegInstrument. diff --git a/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go b/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go index 43f1ce1d4..e9db0a83d 100644 --- a/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go +++ b/fix50sp2/underlyinglegsecurityaltidgrp/UnderlyingLegSecurityAltIDGrp.go @@ -1,5 +1,10 @@ package underlyinglegsecurityaltidgrp +func New() *UnderlyingLegSecurityAltIDGrp { + var m UnderlyingLegSecurityAltIDGrp + return &m +} + //NoUnderlyingLegSecurityAltID is a repeating group in UnderlyingLegSecurityAltIDGrp type NoUnderlyingLegSecurityAltID struct { //UnderlyingLegSecurityAltID is a non-required field for NoUnderlyingLegSecurityAltID. diff --git a/fix50sp2/underlyingstipulations/UnderlyingStipulations.go b/fix50sp2/underlyingstipulations/UnderlyingStipulations.go index 4903dc14e..8a35b8755 100644 --- a/fix50sp2/underlyingstipulations/UnderlyingStipulations.go +++ b/fix50sp2/underlyingstipulations/UnderlyingStipulations.go @@ -1,5 +1,10 @@ package underlyingstipulations +func New() *UnderlyingStipulations { + var m UnderlyingStipulations + return &m +} + //NoUnderlyingStips is a repeating group in UnderlyingStipulations type NoUnderlyingStips struct { //UnderlyingStipType is a non-required field for NoUnderlyingStips. diff --git a/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go index 55ae2e97c..ca1dea85b 100644 --- a/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinginstrument" ) +func New() *UndInstrmtCollGrp { + var m UndInstrmtCollGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtCollGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go b/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go index beb746367..4e8852292 100644 --- a/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/underlyinginstrument" ) +func New() *UndInstrmtGrp { + var m UndInstrmtGrp + return &m +} + //NoUnderlyings is a repeating group in UndInstrmtGrp type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. diff --git a/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go index 2a2ac93f2..3b2ef9e2e 100644 --- a/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go @@ -4,6 +4,11 @@ import ( "github.com/quickfixgo/quickfix/fix50sp2/undlyinstrumentptyssubgrp" ) +func New() *UndlyInstrumentParties { + var m UndlyInstrumentParties + return &m +} + //NoUndlyInstrumentParties is a repeating group in UndlyInstrumentParties type NoUndlyInstrumentParties struct { //UnderlyingInstrumentPartyID is a non-required field for NoUndlyInstrumentParties. diff --git a/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go b/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go index b3c46f962..fbd32ce38 100644 --- a/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go +++ b/fix50sp2/undlyinstrumentptyssubgrp/UndlyInstrumentPtysSubGrp.go @@ -1,5 +1,10 @@ package undlyinstrumentptyssubgrp +func New() *UndlyInstrumentPtysSubGrp { + var m UndlyInstrumentPtysSubGrp + return &m +} + //NoUndlyInstrumentPartySubIDs is a repeating group in UndlyInstrumentPtysSubGrp type NoUndlyInstrumentPartySubIDs struct { //UnderlyingInstrumentPartySubID is a non-required field for NoUndlyInstrumentPartySubIDs. diff --git a/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go b/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go index 8972e9f40..bfbee121e 100644 --- a/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go +++ b/fix50sp2/undsecaltidgrp/UndSecAltIDGrp.go @@ -1,5 +1,10 @@ package undsecaltidgrp +func New() *UndSecAltIDGrp { + var m UndSecAltIDGrp + return &m +} + //NoUnderlyingSecurityAltID is a repeating group in UndSecAltIDGrp type NoUnderlyingSecurityAltID struct { //UnderlyingSecurityAltID is a non-required field for NoUnderlyingSecurityAltID. diff --git a/fix50sp2/usernamegrp/UsernameGrp.go b/fix50sp2/usernamegrp/UsernameGrp.go index 99a40bab1..6d591893a 100644 --- a/fix50sp2/usernamegrp/UsernameGrp.go +++ b/fix50sp2/usernamegrp/UsernameGrp.go @@ -1,5 +1,10 @@ package usernamegrp +func New() *UsernameGrp { + var m UsernameGrp + return &m +} + //UsernameGrp is a fix50sp2 Component type UsernameGrp struct { //Username is a non-required field for UsernameGrp. diff --git a/fix50sp2/yielddata/YieldData.go b/fix50sp2/yielddata/YieldData.go index 5577c5fe7..4a352e433 100644 --- a/fix50sp2/yielddata/YieldData.go +++ b/fix50sp2/yielddata/YieldData.go @@ -1,5 +1,10 @@ package yielddata +func New() *YieldData { + var m YieldData + return &m +} + //YieldData is a fix50sp2 Component type YieldData struct { //YieldType is a non-required field for YieldData. diff --git a/fixt11/hopgrp/HopGrp.go b/fixt11/hopgrp/HopGrp.go index 48f370772..8f0076a9e 100644 --- a/fixt11/hopgrp/HopGrp.go +++ b/fixt11/hopgrp/HopGrp.go @@ -4,6 +4,11 @@ import ( "time" ) +func New() *HopGrp { + var m HopGrp + return &m +} + //NoHops is a repeating group in HopGrp type NoHops struct { //HopCompID is a non-required field for NoHops. diff --git a/fixt11/msgtypegrp/MsgTypeGrp.go b/fixt11/msgtypegrp/MsgTypeGrp.go index f789f3d86..803c3d125 100644 --- a/fixt11/msgtypegrp/MsgTypeGrp.go +++ b/fixt11/msgtypegrp/MsgTypeGrp.go @@ -1,5 +1,10 @@ package msgtypegrp +func New() *MsgTypeGrp { + var m MsgTypeGrp + return &m +} + //NoMsgTypes is a repeating group in MsgTypeGrp type NoMsgTypes struct { //RefMsgType is a non-required field for NoMsgTypes.