11package instrument
22
33import (
4- "github.com/quickfixgo/quickfix/fix50/instrumentptyssubgrp"
4+ "github.com/quickfixgo/quickfix/fix50/evntgrp"
5+ "github.com/quickfixgo/quickfix/fix50/instrumentparties"
6+ "github.com/quickfixgo/quickfix/fix50/secaltidgrp"
57)
68
7- //NoSecurityAltID is a repeating group in Instrument
8- type NoSecurityAltID struct {
9- //SecurityAltID is a non-required field for NoSecurityAltID.
10- SecurityAltID * string `fix:"455"`
11- //SecurityAltIDSource is a non-required field for NoSecurityAltID.
12- SecurityAltIDSource * string `fix:"456"`
13- }
14-
15- //NoEvents is a repeating group in Instrument
16- type NoEvents struct {
17- //EventType is a non-required field for NoEvents.
18- EventType * int `fix:"865"`
19- //EventDate is a non-required field for NoEvents.
20- EventDate * string `fix:"866"`
21- //EventPx is a non-required field for NoEvents.
22- EventPx * float64 `fix:"867"`
23- //EventText is a non-required field for NoEvents.
24- EventText * string `fix:"868"`
25- }
26-
27- //NoInstrumentParties is a repeating group in Instrument
28- type NoInstrumentParties struct {
29- //InstrumentPartyID is a non-required field for NoInstrumentParties.
30- InstrumentPartyID * string `fix:"1019"`
31- //InstrumentPartyIDSource is a non-required field for NoInstrumentParties.
32- InstrumentPartyIDSource * string `fix:"1050"`
33- //InstrumentPartyRole is a non-required field for NoInstrumentParties.
34- InstrumentPartyRole * int `fix:"1051"`
35- //InstrumentPtysSubGrp Component
36- instrumentptyssubgrp.InstrumentPtysSubGrp
37- }
38-
399//Instrument is a fix50 Component
4010type Instrument struct {
4111 //Symbol is a non-required field for Instrument.
@@ -46,8 +16,8 @@ type Instrument struct {
4616 SecurityID * string `fix:"48"`
4717 //SecurityIDSource is a non-required field for Instrument.
4818 SecurityIDSource * string `fix:"22"`
49- //NoSecurityAltID is a non-required field for Instrument.
50- NoSecurityAltID [] NoSecurityAltID `fix:"454,omitempty"`
19+ //SecAltIDGrp Component
20+ secaltidgrp. SecAltIDGrp
5121 //Product is a non-required field for Instrument.
5222 Product * int `fix:"460"`
5323 //CFICode is a non-required field for Instrument.
@@ -116,8 +86,8 @@ type Instrument struct {
11686 CPProgram * int `fix:"875"`
11787 //CPRegType is a non-required field for Instrument.
11888 CPRegType * string `fix:"876"`
119- //NoEvents is a non-required field for Instrument.
120- NoEvents [] NoEvents `fix:"864,omitempty"`
89+ //EvntGrp Component
90+ evntgrp. EvntGrp
12191 //DatedDate is a non-required field for Instrument.
12292 DatedDate * string `fix:"873"`
12393 //InterestAccrualDate is a non-required field for Instrument.
@@ -138,8 +108,8 @@ type Instrument struct {
138108 PositionLimit * int `fix:"970"`
139109 //NTPositionLimit is a non-required field for Instrument.
140110 NTPositionLimit * int `fix:"971"`
141- //NoInstrumentParties is a non-required field for Instrument.
142- NoInstrumentParties [] NoInstrumentParties `fix:"1018,omitempty"`
111+ //InstrumentParties Component
112+ instrumentparties. InstrumentParties
143113 //UnitOfMeasure is a non-required field for Instrument.
144114 UnitOfMeasure * string `fix:"996"`
145115 //TimeUnit is a non-required field for Instrument.
@@ -148,57 +118,54 @@ type Instrument struct {
148118 MaturityTime * string `fix:"1079"`
149119}
150120
151- func (m * Instrument ) SetSymbol (v string ) { m .Symbol = & v }
152- func (m * Instrument ) SetSymbolSfx (v string ) { m .SymbolSfx = & v }
153- func (m * Instrument ) SetSecurityID (v string ) { m .SecurityID = & v }
154- func (m * Instrument ) SetSecurityIDSource (v string ) { m .SecurityIDSource = & v }
155- func (m * Instrument ) SetNoSecurityAltID (v []NoSecurityAltID ) { m .NoSecurityAltID = v }
156- func (m * Instrument ) SetProduct (v int ) { m .Product = & v }
157- func (m * Instrument ) SetCFICode (v string ) { m .CFICode = & v }
158- func (m * Instrument ) SetSecurityType (v string ) { m .SecurityType = & v }
159- func (m * Instrument ) SetSecuritySubType (v string ) { m .SecuritySubType = & v }
160- func (m * Instrument ) SetMaturityMonthYear (v string ) { m .MaturityMonthYear = & v }
161- func (m * Instrument ) SetMaturityDate (v string ) { m .MaturityDate = & v }
162- func (m * Instrument ) SetCouponPaymentDate (v string ) { m .CouponPaymentDate = & v }
163- func (m * Instrument ) SetIssueDate (v string ) { m .IssueDate = & v }
164- func (m * Instrument ) SetRepoCollateralSecurityType (v int ) { m .RepoCollateralSecurityType = & v }
165- func (m * Instrument ) SetRepurchaseTerm (v int ) { m .RepurchaseTerm = & v }
166- func (m * Instrument ) SetRepurchaseRate (v float64 ) { m .RepurchaseRate = & v }
167- func (m * Instrument ) SetFactor (v float64 ) { m .Factor = & v }
168- func (m * Instrument ) SetCreditRating (v string ) { m .CreditRating = & v }
169- func (m * Instrument ) SetInstrRegistry (v string ) { m .InstrRegistry = & v }
170- func (m * Instrument ) SetCountryOfIssue (v string ) { m .CountryOfIssue = & v }
171- func (m * Instrument ) SetStateOrProvinceOfIssue (v string ) { m .StateOrProvinceOfIssue = & v }
172- func (m * Instrument ) SetLocaleOfIssue (v string ) { m .LocaleOfIssue = & v }
173- func (m * Instrument ) SetRedemptionDate (v string ) { m .RedemptionDate = & v }
174- func (m * Instrument ) SetStrikePrice (v float64 ) { m .StrikePrice = & v }
175- func (m * Instrument ) SetStrikeCurrency (v string ) { m .StrikeCurrency = & v }
176- func (m * Instrument ) SetOptAttribute (v string ) { m .OptAttribute = & v }
177- func (m * Instrument ) SetContractMultiplier (v float64 ) { m .ContractMultiplier = & v }
178- func (m * Instrument ) SetCouponRate (v float64 ) { m .CouponRate = & v }
179- func (m * Instrument ) SetSecurityExchange (v string ) { m .SecurityExchange = & v }
180- func (m * Instrument ) SetIssuer (v string ) { m .Issuer = & v }
181- func (m * Instrument ) SetEncodedIssuerLen (v int ) { m .EncodedIssuerLen = & v }
182- func (m * Instrument ) SetEncodedIssuer (v string ) { m .EncodedIssuer = & v }
183- func (m * Instrument ) SetSecurityDesc (v string ) { m .SecurityDesc = & v }
184- func (m * Instrument ) SetEncodedSecurityDescLen (v int ) { m .EncodedSecurityDescLen = & v }
185- func (m * Instrument ) SetEncodedSecurityDesc (v string ) { m .EncodedSecurityDesc = & v }
186- func (m * Instrument ) SetPool (v string ) { m .Pool = & v }
187- func (m * Instrument ) SetContractSettlMonth (v string ) { m .ContractSettlMonth = & v }
188- func (m * Instrument ) SetCPProgram (v int ) { m .CPProgram = & v }
189- func (m * Instrument ) SetCPRegType (v string ) { m .CPRegType = & v }
190- func (m * Instrument ) SetNoEvents (v []NoEvents ) { m .NoEvents = v }
191- func (m * Instrument ) SetDatedDate (v string ) { m .DatedDate = & v }
192- func (m * Instrument ) SetInterestAccrualDate (v string ) { m .InterestAccrualDate = & v }
193- func (m * Instrument ) SetSecurityStatus (v string ) { m .SecurityStatus = & v }
194- func (m * Instrument ) SetSettleOnOpenFlag (v string ) { m .SettleOnOpenFlag = & v }
195- func (m * Instrument ) SetInstrmtAssignmentMethod (v string ) { m .InstrmtAssignmentMethod = & v }
196- func (m * Instrument ) SetStrikeMultiplier (v float64 ) { m .StrikeMultiplier = & v }
197- func (m * Instrument ) SetStrikeValue (v float64 ) { m .StrikeValue = & v }
198- func (m * Instrument ) SetMinPriceIncrement (v float64 ) { m .MinPriceIncrement = & v }
199- func (m * Instrument ) SetPositionLimit (v int ) { m .PositionLimit = & v }
200- func (m * Instrument ) SetNTPositionLimit (v int ) { m .NTPositionLimit = & v }
201- func (m * Instrument ) SetNoInstrumentParties (v []NoInstrumentParties ) { m .NoInstrumentParties = v }
202- func (m * Instrument ) SetUnitOfMeasure (v string ) { m .UnitOfMeasure = & v }
203- func (m * Instrument ) SetTimeUnit (v string ) { m .TimeUnit = & v }
204- func (m * Instrument ) SetMaturityTime (v string ) { m .MaturityTime = & v }
121+ func (m * Instrument ) SetSymbol (v string ) { m .Symbol = & v }
122+ func (m * Instrument ) SetSymbolSfx (v string ) { m .SymbolSfx = & v }
123+ func (m * Instrument ) SetSecurityID (v string ) { m .SecurityID = & v }
124+ func (m * Instrument ) SetSecurityIDSource (v string ) { m .SecurityIDSource = & v }
125+ func (m * Instrument ) SetProduct (v int ) { m .Product = & v }
126+ func (m * Instrument ) SetCFICode (v string ) { m .CFICode = & v }
127+ func (m * Instrument ) SetSecurityType (v string ) { m .SecurityType = & v }
128+ func (m * Instrument ) SetSecuritySubType (v string ) { m .SecuritySubType = & v }
129+ func (m * Instrument ) SetMaturityMonthYear (v string ) { m .MaturityMonthYear = & v }
130+ func (m * Instrument ) SetMaturityDate (v string ) { m .MaturityDate = & v }
131+ func (m * Instrument ) SetCouponPaymentDate (v string ) { m .CouponPaymentDate = & v }
132+ func (m * Instrument ) SetIssueDate (v string ) { m .IssueDate = & v }
133+ func (m * Instrument ) SetRepoCollateralSecurityType (v int ) { m .RepoCollateralSecurityType = & v }
134+ func (m * Instrument ) SetRepurchaseTerm (v int ) { m .RepurchaseTerm = & v }
135+ func (m * Instrument ) SetRepurchaseRate (v float64 ) { m .RepurchaseRate = & v }
136+ func (m * Instrument ) SetFactor (v float64 ) { m .Factor = & v }
137+ func (m * Instrument ) SetCreditRating (v string ) { m .CreditRating = & v }
138+ func (m * Instrument ) SetInstrRegistry (v string ) { m .InstrRegistry = & v }
139+ func (m * Instrument ) SetCountryOfIssue (v string ) { m .CountryOfIssue = & v }
140+ func (m * Instrument ) SetStateOrProvinceOfIssue (v string ) { m .StateOrProvinceOfIssue = & v }
141+ func (m * Instrument ) SetLocaleOfIssue (v string ) { m .LocaleOfIssue = & v }
142+ func (m * Instrument ) SetRedemptionDate (v string ) { m .RedemptionDate = & v }
143+ func (m * Instrument ) SetStrikePrice (v float64 ) { m .StrikePrice = & v }
144+ func (m * Instrument ) SetStrikeCurrency (v string ) { m .StrikeCurrency = & v }
145+ func (m * Instrument ) SetOptAttribute (v string ) { m .OptAttribute = & v }
146+ func (m * Instrument ) SetContractMultiplier (v float64 ) { m .ContractMultiplier = & v }
147+ func (m * Instrument ) SetCouponRate (v float64 ) { m .CouponRate = & v }
148+ func (m * Instrument ) SetSecurityExchange (v string ) { m .SecurityExchange = & v }
149+ func (m * Instrument ) SetIssuer (v string ) { m .Issuer = & v }
150+ func (m * Instrument ) SetEncodedIssuerLen (v int ) { m .EncodedIssuerLen = & v }
151+ func (m * Instrument ) SetEncodedIssuer (v string ) { m .EncodedIssuer = & v }
152+ func (m * Instrument ) SetSecurityDesc (v string ) { m .SecurityDesc = & v }
153+ func (m * Instrument ) SetEncodedSecurityDescLen (v int ) { m .EncodedSecurityDescLen = & v }
154+ func (m * Instrument ) SetEncodedSecurityDesc (v string ) { m .EncodedSecurityDesc = & v }
155+ func (m * Instrument ) SetPool (v string ) { m .Pool = & v }
156+ func (m * Instrument ) SetContractSettlMonth (v string ) { m .ContractSettlMonth = & v }
157+ func (m * Instrument ) SetCPProgram (v int ) { m .CPProgram = & v }
158+ func (m * Instrument ) SetCPRegType (v string ) { m .CPRegType = & v }
159+ func (m * Instrument ) SetDatedDate (v string ) { m .DatedDate = & v }
160+ func (m * Instrument ) SetInterestAccrualDate (v string ) { m .InterestAccrualDate = & v }
161+ func (m * Instrument ) SetSecurityStatus (v string ) { m .SecurityStatus = & v }
162+ func (m * Instrument ) SetSettleOnOpenFlag (v string ) { m .SettleOnOpenFlag = & v }
163+ func (m * Instrument ) SetInstrmtAssignmentMethod (v string ) { m .InstrmtAssignmentMethod = & v }
164+ func (m * Instrument ) SetStrikeMultiplier (v float64 ) { m .StrikeMultiplier = & v }
165+ func (m * Instrument ) SetStrikeValue (v float64 ) { m .StrikeValue = & v }
166+ func (m * Instrument ) SetMinPriceIncrement (v float64 ) { m .MinPriceIncrement = & v }
167+ func (m * Instrument ) SetPositionLimit (v int ) { m .PositionLimit = & v }
168+ func (m * Instrument ) SetNTPositionLimit (v int ) { m .NTPositionLimit = & v }
169+ func (m * Instrument ) SetUnitOfMeasure (v string ) { m .UnitOfMeasure = & v }
170+ func (m * Instrument ) SetTimeUnit (v string ) { m .TimeUnit = & v }
171+ func (m * Instrument ) SetMaturityTime (v string ) { m .MaturityTime = & v }
0 commit comments