forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StreamAssignmentRequest.generated.go
2778 lines (2329 loc) · 88.6 KB
/
StreamAssignmentRequest.generated.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package streamassignmentrequest
import (
"github.com/shopspring/decimal"
"time"
"github.com/Boklazhenko/quickfix"
"github.com/Boklazhenko/quickfix/gen/enum"
"github.com/Boklazhenko/quickfix/gen/field"
"github.com/Boklazhenko/quickfix/gen/fixt11"
"github.com/Boklazhenko/quickfix/gen/tag"
)
// StreamAssignmentRequest is the fix50sp2 StreamAssignmentRequest type, MsgType = CC.
type StreamAssignmentRequest struct {
fixt11.Header
*quickfix.Body
fixt11.Trailer
Message *quickfix.Message
}
// FromMessage creates a StreamAssignmentRequest from a quickfix.Message instance.
func FromMessage(m *quickfix.Message) StreamAssignmentRequest {
return StreamAssignmentRequest{
Header: fixt11.Header{&m.Header},
Body: &m.Body,
Trailer: fixt11.Trailer{&m.Trailer},
Message: m,
}
}
// ToMessage returns a quickfix.Message instance.
func (m StreamAssignmentRequest) ToMessage() *quickfix.Message {
return m.Message
}
// New returns a StreamAssignmentRequest initialized with the required fields for StreamAssignmentRequest.
func New(streamasgnreqid field.StreamAsgnReqIDField, streamasgnreqtype field.StreamAsgnReqTypeField) (m StreamAssignmentRequest) {
m.Message = quickfix.NewMessage()
m.Header = fixt11.NewHeader(&m.Message.Header)
m.Body = &m.Message.Body
m.Trailer.Trailer = &m.Message.Trailer
m.Header.Set(field.NewMsgType("CC"))
m.Set(streamasgnreqid)
m.Set(streamasgnreqtype)
return
}
// A RouteOut is the callback type that should be implemented for routing Message.
type RouteOut func(msg StreamAssignmentRequest, sessionID quickfix.SessionID) quickfix.MessageRejectError
// Route returns the beginstring, message type, and MessageRoute for this Message type.
func Route(router RouteOut) (string, string, quickfix.MessageRoute) {
r := func(msg *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError {
return router(FromMessage(msg), sessionID)
}
return "9", "CC", r
}
// SetStreamAsgnReqID sets StreamAsgnReqID, Tag 1497.
func (m StreamAssignmentRequest) SetStreamAsgnReqID(v string) {
m.Set(field.NewStreamAsgnReqID(v))
}
// SetStreamAsgnReqType sets StreamAsgnReqType, Tag 1498.
func (m StreamAssignmentRequest) SetStreamAsgnReqType(v enum.StreamAsgnReqType) {
m.Set(field.NewStreamAsgnReqType(v))
}
// SetNoAsgnReqs sets NoAsgnReqs, Tag 1499.
func (m StreamAssignmentRequest) SetNoAsgnReqs(f NoAsgnReqsRepeatingGroup) {
m.SetGroup(f)
}
// GetStreamAsgnReqID gets StreamAsgnReqID, Tag 1497.
func (m StreamAssignmentRequest) GetStreamAsgnReqID() (v string, err quickfix.MessageRejectError) {
var f field.StreamAsgnReqIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetStreamAsgnReqType gets StreamAsgnReqType, Tag 1498.
func (m StreamAssignmentRequest) GetStreamAsgnReqType() (v enum.StreamAsgnReqType, err quickfix.MessageRejectError) {
var f field.StreamAsgnReqTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoAsgnReqs gets NoAsgnReqs, Tag 1499.
func (m StreamAssignmentRequest) GetNoAsgnReqs() (NoAsgnReqsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoAsgnReqsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// HasStreamAsgnReqID returns true if StreamAsgnReqID is present, Tag 1497.
func (m StreamAssignmentRequest) HasStreamAsgnReqID() bool {
return m.Has(tag.StreamAsgnReqID)
}
// HasStreamAsgnReqType returns true if StreamAsgnReqType is present, Tag 1498.
func (m StreamAssignmentRequest) HasStreamAsgnReqType() bool {
return m.Has(tag.StreamAsgnReqType)
}
// HasNoAsgnReqs returns true if NoAsgnReqs is present, Tag 1499.
func (m StreamAssignmentRequest) HasNoAsgnReqs() bool {
return m.Has(tag.NoAsgnReqs)
}
// NoAsgnReqs is a repeating group element, Tag 1499.
type NoAsgnReqs struct {
*quickfix.Group
}
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
func (m NoAsgnReqs) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
m.SetGroup(f)
}
// SetNoRelatedSym sets NoRelatedSym, Tag 146.
func (m NoAsgnReqs) SetNoRelatedSym(f NoRelatedSymRepeatingGroup) {
m.SetGroup(f)
}
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
func (m NoAsgnReqs) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoPartyIDsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// GetNoRelatedSym gets NoRelatedSym, Tag 146.
func (m NoAsgnReqs) GetNoRelatedSym() (NoRelatedSymRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoRelatedSymRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
func (m NoAsgnReqs) HasNoPartyIDs() bool {
return m.Has(tag.NoPartyIDs)
}
// HasNoRelatedSym returns true if NoRelatedSym is present, Tag 146.
func (m NoAsgnReqs) HasNoRelatedSym() bool {
return m.Has(tag.NoRelatedSym)
}
// NoPartyIDs is a repeating group element, Tag 453.
type NoPartyIDs struct {
*quickfix.Group
}
// SetPartyID sets PartyID, Tag 448.
func (m NoPartyIDs) SetPartyID(v string) {
m.Set(field.NewPartyID(v))
}
// SetPartyIDSource sets PartyIDSource, Tag 447.
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
m.Set(field.NewPartyIDSource(v))
}
// SetPartyRole sets PartyRole, Tag 452.
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
m.Set(field.NewPartyRole(v))
}
// SetNoPartySubIDs sets NoPartySubIDs, Tag 802.
func (m NoPartyIDs) SetNoPartySubIDs(f NoPartySubIDsRepeatingGroup) {
m.SetGroup(f)
}
// GetPartyID gets PartyID, Tag 448.
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
var f field.PartyIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetPartyIDSource gets PartyIDSource, Tag 447.
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
var f field.PartyIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetPartyRole gets PartyRole, Tag 452.
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
var f field.PartyRoleField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoPartySubIDs gets NoPartySubIDs, Tag 802.
func (m NoPartyIDs) GetNoPartySubIDs() (NoPartySubIDsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoPartySubIDsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// HasPartyID returns true if PartyID is present, Tag 448.
func (m NoPartyIDs) HasPartyID() bool {
return m.Has(tag.PartyID)
}
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
func (m NoPartyIDs) HasPartyIDSource() bool {
return m.Has(tag.PartyIDSource)
}
// HasPartyRole returns true if PartyRole is present, Tag 452.
func (m NoPartyIDs) HasPartyRole() bool {
return m.Has(tag.PartyRole)
}
// HasNoPartySubIDs returns true if NoPartySubIDs is present, Tag 802.
func (m NoPartyIDs) HasNoPartySubIDs() bool {
return m.Has(tag.NoPartySubIDs)
}
// NoPartySubIDs is a repeating group element, Tag 802.
type NoPartySubIDs struct {
*quickfix.Group
}
// SetPartySubID sets PartySubID, Tag 523.
func (m NoPartySubIDs) SetPartySubID(v string) {
m.Set(field.NewPartySubID(v))
}
// SetPartySubIDType sets PartySubIDType, Tag 803.
func (m NoPartySubIDs) SetPartySubIDType(v enum.PartySubIDType) {
m.Set(field.NewPartySubIDType(v))
}
// GetPartySubID gets PartySubID, Tag 523.
func (m NoPartySubIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
var f field.PartySubIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetPartySubIDType gets PartySubIDType, Tag 803.
func (m NoPartySubIDs) GetPartySubIDType() (v enum.PartySubIDType, err quickfix.MessageRejectError) {
var f field.PartySubIDTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// HasPartySubID returns true if PartySubID is present, Tag 523.
func (m NoPartySubIDs) HasPartySubID() bool {
return m.Has(tag.PartySubID)
}
// HasPartySubIDType returns true if PartySubIDType is present, Tag 803.
func (m NoPartySubIDs) HasPartySubIDType() bool {
return m.Has(tag.PartySubIDType)
}
// NoPartySubIDsRepeatingGroup is a repeating group, Tag 802.
type NoPartySubIDsRepeatingGroup struct {
*quickfix.RepeatingGroup
}
// NewNoPartySubIDsRepeatingGroup returns an initialized, NoPartySubIDsRepeatingGroup.
func NewNoPartySubIDsRepeatingGroup() NoPartySubIDsRepeatingGroup {
return NoPartySubIDsRepeatingGroup{
quickfix.NewRepeatingGroup(tag.NoPartySubIDs,
quickfix.GroupTemplate{quickfix.GroupElement(tag.PartySubID), quickfix.GroupElement(tag.PartySubIDType)})}
}
// Add create and append a new NoPartySubIDs to this group.
func (m NoPartySubIDsRepeatingGroup) Add() NoPartySubIDs {
g := m.RepeatingGroup.Add()
return NoPartySubIDs{g}
}
// Get returns the ith NoPartySubIDs in the NoPartySubIDsRepeatinGroup.
func (m NoPartySubIDsRepeatingGroup) Get(i int) NoPartySubIDs {
return NoPartySubIDs{m.RepeatingGroup.Get(i)}
}
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
type NoPartyIDsRepeatingGroup struct {
*quickfix.RepeatingGroup
}
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
return NoPartyIDsRepeatingGroup{
quickfix.NewRepeatingGroup(tag.NoPartyIDs,
quickfix.GroupTemplate{quickfix.GroupElement(tag.PartyID), quickfix.GroupElement(tag.PartyIDSource), quickfix.GroupElement(tag.PartyRole), NewNoPartySubIDsRepeatingGroup()})}
}
// Add create and append a new NoPartyIDs to this group.
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
g := m.RepeatingGroup.Add()
return NoPartyIDs{g}
}
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
return NoPartyIDs{m.RepeatingGroup.Get(i)}
}
// NoRelatedSym is a repeating group element, Tag 146.
type NoRelatedSym struct {
*quickfix.Group
}
// SetSymbol sets Symbol, Tag 55.
func (m NoRelatedSym) SetSymbol(v string) {
m.Set(field.NewSymbol(v))
}
// SetSymbolSfx sets SymbolSfx, Tag 65.
func (m NoRelatedSym) SetSymbolSfx(v enum.SymbolSfx) {
m.Set(field.NewSymbolSfx(v))
}
// SetSecurityID sets SecurityID, Tag 48.
func (m NoRelatedSym) SetSecurityID(v string) {
m.Set(field.NewSecurityID(v))
}
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
func (m NoRelatedSym) SetSecurityIDSource(v enum.SecurityIDSource) {
m.Set(field.NewSecurityIDSource(v))
}
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
func (m NoRelatedSym) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
// SetProduct sets Product, Tag 460.
func (m NoRelatedSym) SetProduct(v enum.Product) {
m.Set(field.NewProduct(v))
}
// SetCFICode sets CFICode, Tag 461.
func (m NoRelatedSym) SetCFICode(v string) {
m.Set(field.NewCFICode(v))
}
// SetSecurityType sets SecurityType, Tag 167.
func (m NoRelatedSym) SetSecurityType(v enum.SecurityType) {
m.Set(field.NewSecurityType(v))
}
// SetSecuritySubType sets SecuritySubType, Tag 762.
func (m NoRelatedSym) SetSecuritySubType(v string) {
m.Set(field.NewSecuritySubType(v))
}
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
func (m NoRelatedSym) SetMaturityMonthYear(v string) {
m.Set(field.NewMaturityMonthYear(v))
}
// SetMaturityDate sets MaturityDate, Tag 541.
func (m NoRelatedSym) SetMaturityDate(v string) {
m.Set(field.NewMaturityDate(v))
}
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
func (m NoRelatedSym) SetCouponPaymentDate(v string) {
m.Set(field.NewCouponPaymentDate(v))
}
// SetIssueDate sets IssueDate, Tag 225.
func (m NoRelatedSym) SetIssueDate(v string) {
m.Set(field.NewIssueDate(v))
}
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
func (m NoRelatedSym) SetRepoCollateralSecurityType(v int) {
m.Set(field.NewRepoCollateralSecurityType(v))
}
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
func (m NoRelatedSym) SetRepurchaseTerm(v int) {
m.Set(field.NewRepurchaseTerm(v))
}
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
func (m NoRelatedSym) SetRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewRepurchaseRate(value, scale))
}
// SetFactor sets Factor, Tag 228.
func (m NoRelatedSym) SetFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewFactor(value, scale))
}
// SetCreditRating sets CreditRating, Tag 255.
func (m NoRelatedSym) SetCreditRating(v string) {
m.Set(field.NewCreditRating(v))
}
// SetInstrRegistry sets InstrRegistry, Tag 543.
func (m NoRelatedSym) SetInstrRegistry(v enum.InstrRegistry) {
m.Set(field.NewInstrRegistry(v))
}
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
func (m NoRelatedSym) SetCountryOfIssue(v string) {
m.Set(field.NewCountryOfIssue(v))
}
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
func (m NoRelatedSym) SetStateOrProvinceOfIssue(v string) {
m.Set(field.NewStateOrProvinceOfIssue(v))
}
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
func (m NoRelatedSym) SetLocaleOfIssue(v string) {
m.Set(field.NewLocaleOfIssue(v))
}
// SetRedemptionDate sets RedemptionDate, Tag 240.
func (m NoRelatedSym) SetRedemptionDate(v string) {
m.Set(field.NewRedemptionDate(v))
}
// SetStrikePrice sets StrikePrice, Tag 202.
func (m NoRelatedSym) SetStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikePrice(value, scale))
}
// SetStrikeCurrency sets StrikeCurrency, Tag 947.
func (m NoRelatedSym) SetStrikeCurrency(v string) {
m.Set(field.NewStrikeCurrency(v))
}
// SetOptAttribute sets OptAttribute, Tag 206.
func (m NoRelatedSym) SetOptAttribute(v string) {
m.Set(field.NewOptAttribute(v))
}
// SetContractMultiplier sets ContractMultiplier, Tag 231.
func (m NoRelatedSym) SetContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewContractMultiplier(value, scale))
}
// SetCouponRate sets CouponRate, Tag 223.
func (m NoRelatedSym) SetCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewCouponRate(value, scale))
}
// SetSecurityExchange sets SecurityExchange, Tag 207.
func (m NoRelatedSym) SetSecurityExchange(v string) {
m.Set(field.NewSecurityExchange(v))
}
// SetIssuer sets Issuer, Tag 106.
func (m NoRelatedSym) SetIssuer(v string) {
m.Set(field.NewIssuer(v))
}
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
func (m NoRelatedSym) SetEncodedIssuerLen(v int) {
m.Set(field.NewEncodedIssuerLen(v))
}
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
func (m NoRelatedSym) SetEncodedIssuer(v string) {
m.Set(field.NewEncodedIssuer(v))
}
// SetSecurityDesc sets SecurityDesc, Tag 107.
func (m NoRelatedSym) SetSecurityDesc(v string) {
m.Set(field.NewSecurityDesc(v))
}
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
func (m NoRelatedSym) SetEncodedSecurityDescLen(v int) {
m.Set(field.NewEncodedSecurityDescLen(v))
}
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
func (m NoRelatedSym) SetEncodedSecurityDesc(v string) {
m.Set(field.NewEncodedSecurityDesc(v))
}
// SetPool sets Pool, Tag 691.
func (m NoRelatedSym) SetPool(v string) {
m.Set(field.NewPool(v))
}
// SetContractSettlMonth sets ContractSettlMonth, Tag 667.
func (m NoRelatedSym) SetContractSettlMonth(v string) {
m.Set(field.NewContractSettlMonth(v))
}
// SetCPProgram sets CPProgram, Tag 875.
func (m NoRelatedSym) SetCPProgram(v enum.CPProgram) {
m.Set(field.NewCPProgram(v))
}
// SetCPRegType sets CPRegType, Tag 876.
func (m NoRelatedSym) SetCPRegType(v string) {
m.Set(field.NewCPRegType(v))
}
// SetNoEvents sets NoEvents, Tag 864.
func (m NoRelatedSym) SetNoEvents(f NoEventsRepeatingGroup) {
m.SetGroup(f)
}
// SetDatedDate sets DatedDate, Tag 873.
func (m NoRelatedSym) SetDatedDate(v string) {
m.Set(field.NewDatedDate(v))
}
// SetInterestAccrualDate sets InterestAccrualDate, Tag 874.
func (m NoRelatedSym) SetInterestAccrualDate(v string) {
m.Set(field.NewInterestAccrualDate(v))
}
// SetSecurityStatus sets SecurityStatus, Tag 965.
func (m NoRelatedSym) SetSecurityStatus(v enum.SecurityStatus) {
m.Set(field.NewSecurityStatus(v))
}
// SetSettleOnOpenFlag sets SettleOnOpenFlag, Tag 966.
func (m NoRelatedSym) SetSettleOnOpenFlag(v string) {
m.Set(field.NewSettleOnOpenFlag(v))
}
// SetInstrmtAssignmentMethod sets InstrmtAssignmentMethod, Tag 1049.
func (m NoRelatedSym) SetInstrmtAssignmentMethod(v string) {
m.Set(field.NewInstrmtAssignmentMethod(v))
}
// SetStrikeMultiplier sets StrikeMultiplier, Tag 967.
func (m NoRelatedSym) SetStrikeMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikeMultiplier(value, scale))
}
// SetStrikeValue sets StrikeValue, Tag 968.
func (m NoRelatedSym) SetStrikeValue(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikeValue(value, scale))
}
// SetMinPriceIncrement sets MinPriceIncrement, Tag 969.
func (m NoRelatedSym) SetMinPriceIncrement(value decimal.Decimal, scale int32) {
m.Set(field.NewMinPriceIncrement(value, scale))
}
// SetPositionLimit sets PositionLimit, Tag 970.
func (m NoRelatedSym) SetPositionLimit(v int) {
m.Set(field.NewPositionLimit(v))
}
// SetNTPositionLimit sets NTPositionLimit, Tag 971.
func (m NoRelatedSym) SetNTPositionLimit(v int) {
m.Set(field.NewNTPositionLimit(v))
}
// SetNoInstrumentParties sets NoInstrumentParties, Tag 1018.
func (m NoRelatedSym) SetNoInstrumentParties(f NoInstrumentPartiesRepeatingGroup) {
m.SetGroup(f)
}
// SetUnitOfMeasure sets UnitOfMeasure, Tag 996.
func (m NoRelatedSym) SetUnitOfMeasure(v enum.UnitOfMeasure) {
m.Set(field.NewUnitOfMeasure(v))
}
// SetTimeUnit sets TimeUnit, Tag 997.
func (m NoRelatedSym) SetTimeUnit(v enum.TimeUnit) {
m.Set(field.NewTimeUnit(v))
}
// SetMaturityTime sets MaturityTime, Tag 1079.
func (m NoRelatedSym) SetMaturityTime(v string) {
m.Set(field.NewMaturityTime(v))
}
// SetSecurityGroup sets SecurityGroup, Tag 1151.
func (m NoRelatedSym) SetSecurityGroup(v string) {
m.Set(field.NewSecurityGroup(v))
}
// SetMinPriceIncrementAmount sets MinPriceIncrementAmount, Tag 1146.
func (m NoRelatedSym) SetMinPriceIncrementAmount(value decimal.Decimal, scale int32) {
m.Set(field.NewMinPriceIncrementAmount(value, scale))
}
// SetUnitOfMeasureQty sets UnitOfMeasureQty, Tag 1147.
func (m NoRelatedSym) SetUnitOfMeasureQty(value decimal.Decimal, scale int32) {
m.Set(field.NewUnitOfMeasureQty(value, scale))
}
// SetSecurityXMLLen sets SecurityXMLLen, Tag 1184.
func (m NoRelatedSym) SetSecurityXMLLen(v int) {
m.Set(field.NewSecurityXMLLen(v))
}
// SetSecurityXML sets SecurityXML, Tag 1185.
func (m NoRelatedSym) SetSecurityXML(v string) {
m.Set(field.NewSecurityXML(v))
}
// SetSecurityXMLSchema sets SecurityXMLSchema, Tag 1186.
func (m NoRelatedSym) SetSecurityXMLSchema(v string) {
m.Set(field.NewSecurityXMLSchema(v))
}
// SetProductComplex sets ProductComplex, Tag 1227.
func (m NoRelatedSym) SetProductComplex(v string) {
m.Set(field.NewProductComplex(v))
}
// SetPriceUnitOfMeasure sets PriceUnitOfMeasure, Tag 1191.
func (m NoRelatedSym) SetPriceUnitOfMeasure(v string) {
m.Set(field.NewPriceUnitOfMeasure(v))
}
// SetPriceUnitOfMeasureQty sets PriceUnitOfMeasureQty, Tag 1192.
func (m NoRelatedSym) SetPriceUnitOfMeasureQty(value decimal.Decimal, scale int32) {
m.Set(field.NewPriceUnitOfMeasureQty(value, scale))
}
// SetSettlMethod sets SettlMethod, Tag 1193.
func (m NoRelatedSym) SetSettlMethod(v enum.SettlMethod) {
m.Set(field.NewSettlMethod(v))
}
// SetExerciseStyle sets ExerciseStyle, Tag 1194.
func (m NoRelatedSym) SetExerciseStyle(v enum.ExerciseStyle) {
m.Set(field.NewExerciseStyle(v))
}
// SetOptPayoutAmount sets OptPayoutAmount, Tag 1195.
func (m NoRelatedSym) SetOptPayoutAmount(value decimal.Decimal, scale int32) {
m.Set(field.NewOptPayoutAmount(value, scale))
}
// SetPriceQuoteMethod sets PriceQuoteMethod, Tag 1196.
func (m NoRelatedSym) SetPriceQuoteMethod(v enum.PriceQuoteMethod) {
m.Set(field.NewPriceQuoteMethod(v))
}
// SetListMethod sets ListMethod, Tag 1198.
func (m NoRelatedSym) SetListMethod(v enum.ListMethod) {
m.Set(field.NewListMethod(v))
}
// SetCapPrice sets CapPrice, Tag 1199.
func (m NoRelatedSym) SetCapPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewCapPrice(value, scale))
}
// SetFloorPrice sets FloorPrice, Tag 1200.
func (m NoRelatedSym) SetFloorPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewFloorPrice(value, scale))
}
// SetPutOrCall sets PutOrCall, Tag 201.
func (m NoRelatedSym) SetPutOrCall(v enum.PutOrCall) {
m.Set(field.NewPutOrCall(v))
}
// SetFlexibleIndicator sets FlexibleIndicator, Tag 1244.
func (m NoRelatedSym) SetFlexibleIndicator(v bool) {
m.Set(field.NewFlexibleIndicator(v))
}
// SetFlexProductEligibilityIndicator sets FlexProductEligibilityIndicator, Tag 1242.
func (m NoRelatedSym) SetFlexProductEligibilityIndicator(v bool) {
m.Set(field.NewFlexProductEligibilityIndicator(v))
}
// SetValuationMethod sets ValuationMethod, Tag 1197.
func (m NoRelatedSym) SetValuationMethod(v enum.ValuationMethod) {
m.Set(field.NewValuationMethod(v))
}
// SetContractMultiplierUnit sets ContractMultiplierUnit, Tag 1435.
func (m NoRelatedSym) SetContractMultiplierUnit(v enum.ContractMultiplierUnit) {
m.Set(field.NewContractMultiplierUnit(v))
}
// SetFlowScheduleType sets FlowScheduleType, Tag 1439.
func (m NoRelatedSym) SetFlowScheduleType(v enum.FlowScheduleType) {
m.Set(field.NewFlowScheduleType(v))
}
// SetRestructuringType sets RestructuringType, Tag 1449.
func (m NoRelatedSym) SetRestructuringType(v enum.RestructuringType) {
m.Set(field.NewRestructuringType(v))
}
// SetSeniority sets Seniority, Tag 1450.
func (m NoRelatedSym) SetSeniority(v enum.Seniority) {
m.Set(field.NewSeniority(v))
}
// SetNotionalPercentageOutstanding sets NotionalPercentageOutstanding, Tag 1451.
func (m NoRelatedSym) SetNotionalPercentageOutstanding(value decimal.Decimal, scale int32) {
m.Set(field.NewNotionalPercentageOutstanding(value, scale))
}
// SetOriginalNotionalPercentageOutstanding sets OriginalNotionalPercentageOutstanding, Tag 1452.
func (m NoRelatedSym) SetOriginalNotionalPercentageOutstanding(value decimal.Decimal, scale int32) {
m.Set(field.NewOriginalNotionalPercentageOutstanding(value, scale))
}
// SetAttachmentPoint sets AttachmentPoint, Tag 1457.
func (m NoRelatedSym) SetAttachmentPoint(value decimal.Decimal, scale int32) {
m.Set(field.NewAttachmentPoint(value, scale))
}
// SetDetachmentPoint sets DetachmentPoint, Tag 1458.
func (m NoRelatedSym) SetDetachmentPoint(value decimal.Decimal, scale int32) {
m.Set(field.NewDetachmentPoint(value, scale))
}
// SetStrikePriceDeterminationMethod sets StrikePriceDeterminationMethod, Tag 1478.
func (m NoRelatedSym) SetStrikePriceDeterminationMethod(v enum.StrikePriceDeterminationMethod) {
m.Set(field.NewStrikePriceDeterminationMethod(v))
}
// SetStrikePriceBoundaryMethod sets StrikePriceBoundaryMethod, Tag 1479.
func (m NoRelatedSym) SetStrikePriceBoundaryMethod(v enum.StrikePriceBoundaryMethod) {
m.Set(field.NewStrikePriceBoundaryMethod(v))
}
// SetStrikePriceBoundaryPrecision sets StrikePriceBoundaryPrecision, Tag 1480.
func (m NoRelatedSym) SetStrikePriceBoundaryPrecision(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikePriceBoundaryPrecision(value, scale))
}
// SetUnderlyingPriceDeterminationMethod sets UnderlyingPriceDeterminationMethod, Tag 1481.
func (m NoRelatedSym) SetUnderlyingPriceDeterminationMethod(v enum.UnderlyingPriceDeterminationMethod) {
m.Set(field.NewUnderlyingPriceDeterminationMethod(v))
}
// SetOptPayoutType sets OptPayoutType, Tag 1482.
func (m NoRelatedSym) SetOptPayoutType(v enum.OptPayoutType) {
m.Set(field.NewOptPayoutType(v))
}
// SetNoComplexEvents sets NoComplexEvents, Tag 1483.
func (m NoRelatedSym) SetNoComplexEvents(f NoComplexEventsRepeatingGroup) {
m.SetGroup(f)
}
// SetSettlType sets SettlType, Tag 63.
func (m NoRelatedSym) SetSettlType(v enum.SettlType) {
m.Set(field.NewSettlType(v))
}
// SetMDEntrySize sets MDEntrySize, Tag 271.
func (m NoRelatedSym) SetMDEntrySize(value decimal.Decimal, scale int32) {
m.Set(field.NewMDEntrySize(value, scale))
}
// SetMDStreamID sets MDStreamID, Tag 1500.
func (m NoRelatedSym) SetMDStreamID(v string) {
m.Set(field.NewMDStreamID(v))
}
// GetSymbol gets Symbol, Tag 55.
func (m NoRelatedSym) GetSymbol() (v string, err quickfix.MessageRejectError) {
var f field.SymbolField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSymbolSfx gets SymbolSfx, Tag 65.
func (m NoRelatedSym) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
var f field.SymbolSfxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityID gets SecurityID, Tag 48.
func (m NoRelatedSym) GetSecurityID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
func (m NoRelatedSym) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
var f field.SecurityIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
func (m NoRelatedSym) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoSecurityAltIDRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// GetProduct gets Product, Tag 460.
func (m NoRelatedSym) GetProduct() (v enum.Product, err quickfix.MessageRejectError) {
var f field.ProductField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCFICode gets CFICode, Tag 461.
func (m NoRelatedSym) GetCFICode() (v string, err quickfix.MessageRejectError) {
var f field.CFICodeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecurityType gets SecurityType, Tag 167.
func (m NoRelatedSym) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
var f field.SecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecuritySubType gets SecuritySubType, Tag 762.
func (m NoRelatedSym) GetSecuritySubType() (v string, err quickfix.MessageRejectError) {
var f field.SecuritySubTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
func (m NoRelatedSym) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
var f field.MaturityMonthYearField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetMaturityDate gets MaturityDate, Tag 541.
func (m NoRelatedSym) GetMaturityDate() (v string, err quickfix.MessageRejectError) {
var f field.MaturityDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCouponPaymentDate gets CouponPaymentDate, Tag 224.
func (m NoRelatedSym) GetCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
var f field.CouponPaymentDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetIssueDate gets IssueDate, Tag 225.
func (m NoRelatedSym) GetIssueDate() (v string, err quickfix.MessageRejectError) {
var f field.IssueDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239.
func (m NoRelatedSym) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
var f field.RepoCollateralSecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRepurchaseTerm gets RepurchaseTerm, Tag 226.
func (m NoRelatedSym) GetRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
var f field.RepurchaseTermField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRepurchaseRate gets RepurchaseRate, Tag 227.
func (m NoRelatedSym) GetRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.RepurchaseRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetFactor gets Factor, Tag 228.
func (m NoRelatedSym) GetFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.FactorField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCreditRating gets CreditRating, Tag 255.
func (m NoRelatedSym) GetCreditRating() (v string, err quickfix.MessageRejectError) {
var f field.CreditRatingField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetInstrRegistry gets InstrRegistry, Tag 543.
func (m NoRelatedSym) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
var f field.InstrRegistryField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCountryOfIssue gets CountryOfIssue, Tag 470.
func (m NoRelatedSym) GetCountryOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.CountryOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetStateOrProvinceOfIssue gets StateOrProvinceOfIssue, Tag 471.
func (m NoRelatedSym) GetStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.StateOrProvinceOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetLocaleOfIssue gets LocaleOfIssue, Tag 472.
func (m NoRelatedSym) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.LocaleOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRedemptionDate gets RedemptionDate, Tag 240.
func (m NoRelatedSym) GetRedemptionDate() (v string, err quickfix.MessageRejectError) {
var f field.RedemptionDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetStrikePrice gets StrikePrice, Tag 202.
func (m NoRelatedSym) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.StrikePriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetStrikeCurrency gets StrikeCurrency, Tag 947.
func (m NoRelatedSym) GetStrikeCurrency() (v string, err quickfix.MessageRejectError) {
var f field.StrikeCurrencyField