forked from cryptogarageinc/quickfix-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DerivativeSecurityList.generated.go
3327 lines (2794 loc) · 104 KB
/
DerivativeSecurityList.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 derivativesecuritylist
import (
"github.com/shopspring/decimal"
"github.com/ko-matsu/quickfix-go"
"github.com/ko-matsu/quickfix-go/enum"
"github.com/ko-matsu/quickfix-go/field"
"github.com/ko-matsu/quickfix-go/fix44"
"github.com/ko-matsu/quickfix-go/tag"
)
//DerivativeSecurityList is the fix44 DerivativeSecurityList type, MsgType = AA
type DerivativeSecurityList struct {
fix44.Header
*quickfix.Body
fix44.Trailer
Message *quickfix.Message
}
//FromMessage creates a DerivativeSecurityList from a quickfix.Message instance
func FromMessage(m *quickfix.Message) DerivativeSecurityList {
return DerivativeSecurityList{
Header: fix44.Header{&m.Header},
Body: &m.Body,
Trailer: fix44.Trailer{&m.Trailer},
Message: m,
}
}
//ToMessage returns a quickfix.Message instance
func (m DerivativeSecurityList) ToMessage() *quickfix.Message {
return m.Message
}
//New returns a DerivativeSecurityList initialized with the required fields for DerivativeSecurityList
func New(securityreqid field.SecurityReqIDField, securityresponseid field.SecurityResponseIDField, securityrequestresult field.SecurityRequestResultField) (m DerivativeSecurityList) {
m.Message = quickfix.NewMessage()
m.Header = fix44.NewHeader(&m.Message.Header)
m.Body = &m.Message.Body
m.Trailer.Trailer = &m.Message.Trailer
m.Header.Set(field.NewMsgType("AA"))
m.Set(securityreqid)
m.Set(securityresponseid)
m.Set(securityrequestresult)
return
}
//A RouteOut is the callback type that should be implemented for routing Message
type RouteOut func(msg DerivativeSecurityList, 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 "FIX.4.4", "AA", r
}
//SetNoRelatedSym sets NoRelatedSym, Tag 146
func (m DerivativeSecurityList) SetNoRelatedSym(f NoRelatedSymRepeatingGroup) {
m.SetGroup(f)
}
//SetUnderlyingCouponPaymentDate sets UnderlyingCouponPaymentDate, Tag 241
func (m DerivativeSecurityList) SetUnderlyingCouponPaymentDate(v string) {
m.Set(field.NewUnderlyingCouponPaymentDate(v))
}
//SetUnderlyingIssueDate sets UnderlyingIssueDate, Tag 242
func (m DerivativeSecurityList) SetUnderlyingIssueDate(v string) {
m.Set(field.NewUnderlyingIssueDate(v))
}
//SetUnderlyingRepoCollateralSecurityType sets UnderlyingRepoCollateralSecurityType, Tag 243
func (m DerivativeSecurityList) SetUnderlyingRepoCollateralSecurityType(v int) {
m.Set(field.NewUnderlyingRepoCollateralSecurityType(v))
}
//SetUnderlyingRepurchaseTerm sets UnderlyingRepurchaseTerm, Tag 244
func (m DerivativeSecurityList) SetUnderlyingRepurchaseTerm(v int) {
m.Set(field.NewUnderlyingRepurchaseTerm(v))
}
//SetUnderlyingRepurchaseRate sets UnderlyingRepurchaseRate, Tag 245
func (m DerivativeSecurityList) SetUnderlyingRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingRepurchaseRate(value, scale))
}
//SetUnderlyingFactor sets UnderlyingFactor, Tag 246
func (m DerivativeSecurityList) SetUnderlyingFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingFactor(value, scale))
}
//SetUnderlyingRedemptionDate sets UnderlyingRedemptionDate, Tag 247
func (m DerivativeSecurityList) SetUnderlyingRedemptionDate(v string) {
m.Set(field.NewUnderlyingRedemptionDate(v))
}
//SetUnderlyingCreditRating sets UnderlyingCreditRating, Tag 256
func (m DerivativeSecurityList) SetUnderlyingCreditRating(v string) {
m.Set(field.NewUnderlyingCreditRating(v))
}
//SetUnderlyingSecurityIDSource sets UnderlyingSecurityIDSource, Tag 305
func (m DerivativeSecurityList) SetUnderlyingSecurityIDSource(v string) {
m.Set(field.NewUnderlyingSecurityIDSource(v))
}
//SetUnderlyingIssuer sets UnderlyingIssuer, Tag 306
func (m DerivativeSecurityList) SetUnderlyingIssuer(v string) {
m.Set(field.NewUnderlyingIssuer(v))
}
//SetUnderlyingSecurityDesc sets UnderlyingSecurityDesc, Tag 307
func (m DerivativeSecurityList) SetUnderlyingSecurityDesc(v string) {
m.Set(field.NewUnderlyingSecurityDesc(v))
}
//SetUnderlyingSecurityExchange sets UnderlyingSecurityExchange, Tag 308
func (m DerivativeSecurityList) SetUnderlyingSecurityExchange(v string) {
m.Set(field.NewUnderlyingSecurityExchange(v))
}
//SetUnderlyingSecurityID sets UnderlyingSecurityID, Tag 309
func (m DerivativeSecurityList) SetUnderlyingSecurityID(v string) {
m.Set(field.NewUnderlyingSecurityID(v))
}
//SetUnderlyingSecurityType sets UnderlyingSecurityType, Tag 310
func (m DerivativeSecurityList) SetUnderlyingSecurityType(v string) {
m.Set(field.NewUnderlyingSecurityType(v))
}
//SetUnderlyingSymbol sets UnderlyingSymbol, Tag 311
func (m DerivativeSecurityList) SetUnderlyingSymbol(v string) {
m.Set(field.NewUnderlyingSymbol(v))
}
//SetUnderlyingSymbolSfx sets UnderlyingSymbolSfx, Tag 312
func (m DerivativeSecurityList) SetUnderlyingSymbolSfx(v string) {
m.Set(field.NewUnderlyingSymbolSfx(v))
}
//SetUnderlyingMaturityMonthYear sets UnderlyingMaturityMonthYear, Tag 313
func (m DerivativeSecurityList) SetUnderlyingMaturityMonthYear(v string) {
m.Set(field.NewUnderlyingMaturityMonthYear(v))
}
//SetUnderlyingStrikePrice sets UnderlyingStrikePrice, Tag 316
func (m DerivativeSecurityList) SetUnderlyingStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingStrikePrice(value, scale))
}
//SetUnderlyingOptAttribute sets UnderlyingOptAttribute, Tag 317
func (m DerivativeSecurityList) SetUnderlyingOptAttribute(v string) {
m.Set(field.NewUnderlyingOptAttribute(v))
}
//SetUnderlyingCurrency sets UnderlyingCurrency, Tag 318
func (m DerivativeSecurityList) SetUnderlyingCurrency(v string) {
m.Set(field.NewUnderlyingCurrency(v))
}
//SetSecurityReqID sets SecurityReqID, Tag 320
func (m DerivativeSecurityList) SetSecurityReqID(v string) {
m.Set(field.NewSecurityReqID(v))
}
//SetSecurityResponseID sets SecurityResponseID, Tag 322
func (m DerivativeSecurityList) SetSecurityResponseID(v string) {
m.Set(field.NewSecurityResponseID(v))
}
//SetEncodedUnderlyingIssuerLen sets EncodedUnderlyingIssuerLen, Tag 362
func (m DerivativeSecurityList) SetEncodedUnderlyingIssuerLen(v int) {
m.Set(field.NewEncodedUnderlyingIssuerLen(v))
}
//SetEncodedUnderlyingIssuer sets EncodedUnderlyingIssuer, Tag 363
func (m DerivativeSecurityList) SetEncodedUnderlyingIssuer(v string) {
m.Set(field.NewEncodedUnderlyingIssuer(v))
}
//SetEncodedUnderlyingSecurityDescLen sets EncodedUnderlyingSecurityDescLen, Tag 364
func (m DerivativeSecurityList) SetEncodedUnderlyingSecurityDescLen(v int) {
m.Set(field.NewEncodedUnderlyingSecurityDescLen(v))
}
//SetEncodedUnderlyingSecurityDesc sets EncodedUnderlyingSecurityDesc, Tag 365
func (m DerivativeSecurityList) SetEncodedUnderlyingSecurityDesc(v string) {
m.Set(field.NewEncodedUnderlyingSecurityDesc(v))
}
//SetTotNoRelatedSym sets TotNoRelatedSym, Tag 393
func (m DerivativeSecurityList) SetTotNoRelatedSym(v int) {
m.Set(field.NewTotNoRelatedSym(v))
}
//SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435
func (m DerivativeSecurityList) SetUnderlyingCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingCouponRate(value, scale))
}
//SetUnderlyingContractMultiplier sets UnderlyingContractMultiplier, Tag 436
func (m DerivativeSecurityList) SetUnderlyingContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingContractMultiplier(value, scale))
}
//SetNoUnderlyingSecurityAltID sets NoUnderlyingSecurityAltID, Tag 457
func (m DerivativeSecurityList) SetNoUnderlyingSecurityAltID(f NoUnderlyingSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
//SetUnderlyingProduct sets UnderlyingProduct, Tag 462
func (m DerivativeSecurityList) SetUnderlyingProduct(v int) {
m.Set(field.NewUnderlyingProduct(v))
}
//SetUnderlyingCFICode sets UnderlyingCFICode, Tag 463
func (m DerivativeSecurityList) SetUnderlyingCFICode(v string) {
m.Set(field.NewUnderlyingCFICode(v))
}
//SetUnderlyingMaturityDate sets UnderlyingMaturityDate, Tag 542
func (m DerivativeSecurityList) SetUnderlyingMaturityDate(v string) {
m.Set(field.NewUnderlyingMaturityDate(v))
}
//SetSecurityRequestResult sets SecurityRequestResult, Tag 560
func (m DerivativeSecurityList) SetSecurityRequestResult(v enum.SecurityRequestResult) {
m.Set(field.NewSecurityRequestResult(v))
}
//SetUnderlyingCountryOfIssue sets UnderlyingCountryOfIssue, Tag 592
func (m DerivativeSecurityList) SetUnderlyingCountryOfIssue(v string) {
m.Set(field.NewUnderlyingCountryOfIssue(v))
}
//SetUnderlyingStateOrProvinceOfIssue sets UnderlyingStateOrProvinceOfIssue, Tag 593
func (m DerivativeSecurityList) SetUnderlyingStateOrProvinceOfIssue(v string) {
m.Set(field.NewUnderlyingStateOrProvinceOfIssue(v))
}
//SetUnderlyingLocaleOfIssue sets UnderlyingLocaleOfIssue, Tag 594
func (m DerivativeSecurityList) SetUnderlyingLocaleOfIssue(v string) {
m.Set(field.NewUnderlyingLocaleOfIssue(v))
}
//SetUnderlyingInstrRegistry sets UnderlyingInstrRegistry, Tag 595
func (m DerivativeSecurityList) SetUnderlyingInstrRegistry(v string) {
m.Set(field.NewUnderlyingInstrRegistry(v))
}
//SetUnderlyingSecuritySubType sets UnderlyingSecuritySubType, Tag 763
func (m DerivativeSecurityList) SetUnderlyingSecuritySubType(v string) {
m.Set(field.NewUnderlyingSecuritySubType(v))
}
//SetUnderlyingPx sets UnderlyingPx, Tag 810
func (m DerivativeSecurityList) SetUnderlyingPx(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingPx(value, scale))
}
//SetUnderlyingCPProgram sets UnderlyingCPProgram, Tag 877
func (m DerivativeSecurityList) SetUnderlyingCPProgram(v string) {
m.Set(field.NewUnderlyingCPProgram(v))
}
//SetUnderlyingCPRegType sets UnderlyingCPRegType, Tag 878
func (m DerivativeSecurityList) SetUnderlyingCPRegType(v string) {
m.Set(field.NewUnderlyingCPRegType(v))
}
//SetUnderlyingQty sets UnderlyingQty, Tag 879
func (m DerivativeSecurityList) SetUnderlyingQty(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingQty(value, scale))
}
//SetUnderlyingDirtyPrice sets UnderlyingDirtyPrice, Tag 882
func (m DerivativeSecurityList) SetUnderlyingDirtyPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingDirtyPrice(value, scale))
}
//SetUnderlyingEndPrice sets UnderlyingEndPrice, Tag 883
func (m DerivativeSecurityList) SetUnderlyingEndPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingEndPrice(value, scale))
}
//SetUnderlyingStartValue sets UnderlyingStartValue, Tag 884
func (m DerivativeSecurityList) SetUnderlyingStartValue(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingStartValue(value, scale))
}
//SetUnderlyingCurrentValue sets UnderlyingCurrentValue, Tag 885
func (m DerivativeSecurityList) SetUnderlyingCurrentValue(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingCurrentValue(value, scale))
}
//SetUnderlyingEndValue sets UnderlyingEndValue, Tag 886
func (m DerivativeSecurityList) SetUnderlyingEndValue(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingEndValue(value, scale))
}
//SetNoUnderlyingStips sets NoUnderlyingStips, Tag 887
func (m DerivativeSecurityList) SetNoUnderlyingStips(f NoUnderlyingStipsRepeatingGroup) {
m.SetGroup(f)
}
//SetLastFragment sets LastFragment, Tag 893
func (m DerivativeSecurityList) SetLastFragment(v bool) {
m.Set(field.NewLastFragment(v))
}
//SetUnderlyingStrikeCurrency sets UnderlyingStrikeCurrency, Tag 941
func (m DerivativeSecurityList) SetUnderlyingStrikeCurrency(v string) {
m.Set(field.NewUnderlyingStrikeCurrency(v))
}
//GetNoRelatedSym gets NoRelatedSym, Tag 146
func (m DerivativeSecurityList) GetNoRelatedSym() (NoRelatedSymRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoRelatedSymRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241
func (m DerivativeSecurityList) GetUnderlyingCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCouponPaymentDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingIssueDate gets UnderlyingIssueDate, Tag 242
func (m DerivativeSecurityList) GetUnderlyingIssueDate() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingIssueDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingRepoCollateralSecurityType gets UnderlyingRepoCollateralSecurityType, Tag 243
func (m DerivativeSecurityList) GetUnderlyingRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
var f field.UnderlyingRepoCollateralSecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingRepurchaseTerm gets UnderlyingRepurchaseTerm, Tag 244
func (m DerivativeSecurityList) GetUnderlyingRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
var f field.UnderlyingRepurchaseTermField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingRepurchaseRate gets UnderlyingRepurchaseRate, Tag 245
func (m DerivativeSecurityList) GetUnderlyingRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingRepurchaseRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingFactor gets UnderlyingFactor, Tag 246
func (m DerivativeSecurityList) GetUnderlyingFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingFactorField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247
func (m DerivativeSecurityList) GetUnderlyingRedemptionDate() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingRedemptionDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256
func (m DerivativeSecurityList) GetUnderlyingCreditRating() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCreditRatingField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305
func (m DerivativeSecurityList) GetUnderlyingSecurityIDSource() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306
func (m DerivativeSecurityList) GetUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingIssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307
func (m DerivativeSecurityList) GetUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308
func (m DerivativeSecurityList) GetUnderlyingSecurityExchange() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityExchangeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309
func (m DerivativeSecurityList) GetUnderlyingSecurityID() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310
func (m DerivativeSecurityList) GetUnderlyingSecurityType() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311
func (m DerivativeSecurityList) GetUnderlyingSymbol() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSymbolField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSymbolSfx gets UnderlyingSymbolSfx, Tag 312
func (m DerivativeSecurityList) GetUnderlyingSymbolSfx() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSymbolSfxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313
func (m DerivativeSecurityList) GetUnderlyingMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingMaturityMonthYearField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316
func (m DerivativeSecurityList) GetUnderlyingStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingStrikePriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317
func (m DerivativeSecurityList) GetUnderlyingOptAttribute() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingOptAttributeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCurrency gets UnderlyingCurrency, Tag 318
func (m DerivativeSecurityList) GetUnderlyingCurrency() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityReqID gets SecurityReqID, Tag 320
func (m DerivativeSecurityList) GetSecurityReqID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityReqIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityResponseID gets SecurityResponseID, Tag 322
func (m DerivativeSecurityList) GetSecurityResponseID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityResponseIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362
func (m DerivativeSecurityList) GetEncodedUnderlyingIssuerLen() (v int, err quickfix.MessageRejectError) {
var f field.EncodedUnderlyingIssuerLenField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedUnderlyingIssuer gets EncodedUnderlyingIssuer, Tag 363
func (m DerivativeSecurityList) GetEncodedUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
var f field.EncodedUnderlyingIssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364
func (m DerivativeSecurityList) GetEncodedUnderlyingSecurityDescLen() (v int, err quickfix.MessageRejectError) {
var f field.EncodedUnderlyingSecurityDescLenField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedUnderlyingSecurityDesc gets EncodedUnderlyingSecurityDesc, Tag 365
func (m DerivativeSecurityList) GetEncodedUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.EncodedUnderlyingSecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetTotNoRelatedSym gets TotNoRelatedSym, Tag 393
func (m DerivativeSecurityList) GetTotNoRelatedSym() (v int, err quickfix.MessageRejectError) {
var f field.TotNoRelatedSymField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435
func (m DerivativeSecurityList) GetUnderlyingCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingCouponRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436
func (m DerivativeSecurityList) GetUnderlyingContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingContractMultiplierField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoUnderlyingSecurityAltID gets NoUnderlyingSecurityAltID, Tag 457
func (m DerivativeSecurityList) GetNoUnderlyingSecurityAltID() (NoUnderlyingSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoUnderlyingSecurityAltIDRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetUnderlyingProduct gets UnderlyingProduct, Tag 462
func (m DerivativeSecurityList) GetUnderlyingProduct() (v int, err quickfix.MessageRejectError) {
var f field.UnderlyingProductField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCFICode gets UnderlyingCFICode, Tag 463
func (m DerivativeSecurityList) GetUnderlyingCFICode() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCFICodeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542
func (m DerivativeSecurityList) GetUnderlyingMaturityDate() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingMaturityDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityRequestResult gets SecurityRequestResult, Tag 560
func (m DerivativeSecurityList) GetSecurityRequestResult() (v enum.SecurityRequestResult, err quickfix.MessageRejectError) {
var f field.SecurityRequestResultField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592
func (m DerivativeSecurityList) GetUnderlyingCountryOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCountryOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingStateOrProvinceOfIssue gets UnderlyingStateOrProvinceOfIssue, Tag 593
func (m DerivativeSecurityList) GetUnderlyingStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingStateOrProvinceOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingLocaleOfIssue gets UnderlyingLocaleOfIssue, Tag 594
func (m DerivativeSecurityList) GetUnderlyingLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingLocaleOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595
func (m DerivativeSecurityList) GetUnderlyingInstrRegistry() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingInstrRegistryField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecuritySubType gets UnderlyingSecuritySubType, Tag 763
func (m DerivativeSecurityList) GetUnderlyingSecuritySubType() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecuritySubTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingPx gets UnderlyingPx, Tag 810
func (m DerivativeSecurityList) GetUnderlyingPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingPxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCPProgram gets UnderlyingCPProgram, Tag 877
func (m DerivativeSecurityList) GetUnderlyingCPProgram() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCPProgramField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCPRegType gets UnderlyingCPRegType, Tag 878
func (m DerivativeSecurityList) GetUnderlyingCPRegType() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCPRegTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingQty gets UnderlyingQty, Tag 879
func (m DerivativeSecurityList) GetUnderlyingQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingQtyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingDirtyPrice gets UnderlyingDirtyPrice, Tag 882
func (m DerivativeSecurityList) GetUnderlyingDirtyPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingDirtyPriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingEndPrice gets UnderlyingEndPrice, Tag 883
func (m DerivativeSecurityList) GetUnderlyingEndPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingEndPriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingStartValue gets UnderlyingStartValue, Tag 884
func (m DerivativeSecurityList) GetUnderlyingStartValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingStartValueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCurrentValue gets UnderlyingCurrentValue, Tag 885
func (m DerivativeSecurityList) GetUnderlyingCurrentValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingCurrentValueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingEndValue gets UnderlyingEndValue, Tag 886
func (m DerivativeSecurityList) GetUnderlyingEndValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingEndValueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoUnderlyingStips gets NoUnderlyingStips, Tag 887
func (m DerivativeSecurityList) GetNoUnderlyingStips() (NoUnderlyingStipsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoUnderlyingStipsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetLastFragment gets LastFragment, Tag 893
func (m DerivativeSecurityList) GetLastFragment() (v bool, err quickfix.MessageRejectError) {
var f field.LastFragmentField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingStrikeCurrency gets UnderlyingStrikeCurrency, Tag 941
func (m DerivativeSecurityList) GetUnderlyingStrikeCurrency() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingStrikeCurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//HasNoRelatedSym returns true if NoRelatedSym is present, Tag 146
func (m DerivativeSecurityList) HasNoRelatedSym() bool {
return m.Has(tag.NoRelatedSym)
}
//HasUnderlyingCouponPaymentDate returns true if UnderlyingCouponPaymentDate is present, Tag 241
func (m DerivativeSecurityList) HasUnderlyingCouponPaymentDate() bool {
return m.Has(tag.UnderlyingCouponPaymentDate)
}
//HasUnderlyingIssueDate returns true if UnderlyingIssueDate is present, Tag 242
func (m DerivativeSecurityList) HasUnderlyingIssueDate() bool {
return m.Has(tag.UnderlyingIssueDate)
}
//HasUnderlyingRepoCollateralSecurityType returns true if UnderlyingRepoCollateralSecurityType is present, Tag 243
func (m DerivativeSecurityList) HasUnderlyingRepoCollateralSecurityType() bool {
return m.Has(tag.UnderlyingRepoCollateralSecurityType)
}
//HasUnderlyingRepurchaseTerm returns true if UnderlyingRepurchaseTerm is present, Tag 244
func (m DerivativeSecurityList) HasUnderlyingRepurchaseTerm() bool {
return m.Has(tag.UnderlyingRepurchaseTerm)
}
//HasUnderlyingRepurchaseRate returns true if UnderlyingRepurchaseRate is present, Tag 245
func (m DerivativeSecurityList) HasUnderlyingRepurchaseRate() bool {
return m.Has(tag.UnderlyingRepurchaseRate)
}
//HasUnderlyingFactor returns true if UnderlyingFactor is present, Tag 246
func (m DerivativeSecurityList) HasUnderlyingFactor() bool {
return m.Has(tag.UnderlyingFactor)
}
//HasUnderlyingRedemptionDate returns true if UnderlyingRedemptionDate is present, Tag 247
func (m DerivativeSecurityList) HasUnderlyingRedemptionDate() bool {
return m.Has(tag.UnderlyingRedemptionDate)
}
//HasUnderlyingCreditRating returns true if UnderlyingCreditRating is present, Tag 256
func (m DerivativeSecurityList) HasUnderlyingCreditRating() bool {
return m.Has(tag.UnderlyingCreditRating)
}
//HasUnderlyingSecurityIDSource returns true if UnderlyingSecurityIDSource is present, Tag 305
func (m DerivativeSecurityList) HasUnderlyingSecurityIDSource() bool {
return m.Has(tag.UnderlyingSecurityIDSource)
}
//HasUnderlyingIssuer returns true if UnderlyingIssuer is present, Tag 306
func (m DerivativeSecurityList) HasUnderlyingIssuer() bool {
return m.Has(tag.UnderlyingIssuer)
}
//HasUnderlyingSecurityDesc returns true if UnderlyingSecurityDesc is present, Tag 307
func (m DerivativeSecurityList) HasUnderlyingSecurityDesc() bool {
return m.Has(tag.UnderlyingSecurityDesc)
}
//HasUnderlyingSecurityExchange returns true if UnderlyingSecurityExchange is present, Tag 308
func (m DerivativeSecurityList) HasUnderlyingSecurityExchange() bool {
return m.Has(tag.UnderlyingSecurityExchange)
}
//HasUnderlyingSecurityID returns true if UnderlyingSecurityID is present, Tag 309
func (m DerivativeSecurityList) HasUnderlyingSecurityID() bool {
return m.Has(tag.UnderlyingSecurityID)
}
//HasUnderlyingSecurityType returns true if UnderlyingSecurityType is present, Tag 310
func (m DerivativeSecurityList) HasUnderlyingSecurityType() bool {
return m.Has(tag.UnderlyingSecurityType)
}
//HasUnderlyingSymbol returns true if UnderlyingSymbol is present, Tag 311
func (m DerivativeSecurityList) HasUnderlyingSymbol() bool {
return m.Has(tag.UnderlyingSymbol)
}
//HasUnderlyingSymbolSfx returns true if UnderlyingSymbolSfx is present, Tag 312
func (m DerivativeSecurityList) HasUnderlyingSymbolSfx() bool {
return m.Has(tag.UnderlyingSymbolSfx)
}
//HasUnderlyingMaturityMonthYear returns true if UnderlyingMaturityMonthYear is present, Tag 313
func (m DerivativeSecurityList) HasUnderlyingMaturityMonthYear() bool {
return m.Has(tag.UnderlyingMaturityMonthYear)
}
//HasUnderlyingStrikePrice returns true if UnderlyingStrikePrice is present, Tag 316
func (m DerivativeSecurityList) HasUnderlyingStrikePrice() bool {
return m.Has(tag.UnderlyingStrikePrice)
}
//HasUnderlyingOptAttribute returns true if UnderlyingOptAttribute is present, Tag 317
func (m DerivativeSecurityList) HasUnderlyingOptAttribute() bool {
return m.Has(tag.UnderlyingOptAttribute)
}
//HasUnderlyingCurrency returns true if UnderlyingCurrency is present, Tag 318
func (m DerivativeSecurityList) HasUnderlyingCurrency() bool {
return m.Has(tag.UnderlyingCurrency)
}
//HasSecurityReqID returns true if SecurityReqID is present, Tag 320
func (m DerivativeSecurityList) HasSecurityReqID() bool {
return m.Has(tag.SecurityReqID)
}
//HasSecurityResponseID returns true if SecurityResponseID is present, Tag 322
func (m DerivativeSecurityList) HasSecurityResponseID() bool {
return m.Has(tag.SecurityResponseID)
}
//HasEncodedUnderlyingIssuerLen returns true if EncodedUnderlyingIssuerLen is present, Tag 362
func (m DerivativeSecurityList) HasEncodedUnderlyingIssuerLen() bool {
return m.Has(tag.EncodedUnderlyingIssuerLen)
}
//HasEncodedUnderlyingIssuer returns true if EncodedUnderlyingIssuer is present, Tag 363
func (m DerivativeSecurityList) HasEncodedUnderlyingIssuer() bool {
return m.Has(tag.EncodedUnderlyingIssuer)
}
//HasEncodedUnderlyingSecurityDescLen returns true if EncodedUnderlyingSecurityDescLen is present, Tag 364
func (m DerivativeSecurityList) HasEncodedUnderlyingSecurityDescLen() bool {
return m.Has(tag.EncodedUnderlyingSecurityDescLen)
}
//HasEncodedUnderlyingSecurityDesc returns true if EncodedUnderlyingSecurityDesc is present, Tag 365
func (m DerivativeSecurityList) HasEncodedUnderlyingSecurityDesc() bool {
return m.Has(tag.EncodedUnderlyingSecurityDesc)
}
//HasTotNoRelatedSym returns true if TotNoRelatedSym is present, Tag 393
func (m DerivativeSecurityList) HasTotNoRelatedSym() bool {
return m.Has(tag.TotNoRelatedSym)
}
//HasUnderlyingCouponRate returns true if UnderlyingCouponRate is present, Tag 435
func (m DerivativeSecurityList) HasUnderlyingCouponRate() bool {
return m.Has(tag.UnderlyingCouponRate)
}
//HasUnderlyingContractMultiplier returns true if UnderlyingContractMultiplier is present, Tag 436
func (m DerivativeSecurityList) HasUnderlyingContractMultiplier() bool {
return m.Has(tag.UnderlyingContractMultiplier)
}
//HasNoUnderlyingSecurityAltID returns true if NoUnderlyingSecurityAltID is present, Tag 457
func (m DerivativeSecurityList) HasNoUnderlyingSecurityAltID() bool {
return m.Has(tag.NoUnderlyingSecurityAltID)
}
//HasUnderlyingProduct returns true if UnderlyingProduct is present, Tag 462
func (m DerivativeSecurityList) HasUnderlyingProduct() bool {
return m.Has(tag.UnderlyingProduct)
}
//HasUnderlyingCFICode returns true if UnderlyingCFICode is present, Tag 463
func (m DerivativeSecurityList) HasUnderlyingCFICode() bool {
return m.Has(tag.UnderlyingCFICode)
}
//HasUnderlyingMaturityDate returns true if UnderlyingMaturityDate is present, Tag 542
func (m DerivativeSecurityList) HasUnderlyingMaturityDate() bool {
return m.Has(tag.UnderlyingMaturityDate)
}
//HasSecurityRequestResult returns true if SecurityRequestResult is present, Tag 560
func (m DerivativeSecurityList) HasSecurityRequestResult() bool {
return m.Has(tag.SecurityRequestResult)
}
//HasUnderlyingCountryOfIssue returns true if UnderlyingCountryOfIssue is present, Tag 592
func (m DerivativeSecurityList) HasUnderlyingCountryOfIssue() bool {
return m.Has(tag.UnderlyingCountryOfIssue)
}
//HasUnderlyingStateOrProvinceOfIssue returns true if UnderlyingStateOrProvinceOfIssue is present, Tag 593
func (m DerivativeSecurityList) HasUnderlyingStateOrProvinceOfIssue() bool {
return m.Has(tag.UnderlyingStateOrProvinceOfIssue)
}
//HasUnderlyingLocaleOfIssue returns true if UnderlyingLocaleOfIssue is present, Tag 594
func (m DerivativeSecurityList) HasUnderlyingLocaleOfIssue() bool {
return m.Has(tag.UnderlyingLocaleOfIssue)
}
//HasUnderlyingInstrRegistry returns true if UnderlyingInstrRegistry is present, Tag 595
func (m DerivativeSecurityList) HasUnderlyingInstrRegistry() bool {
return m.Has(tag.UnderlyingInstrRegistry)
}
//HasUnderlyingSecuritySubType returns true if UnderlyingSecuritySubType is present, Tag 763
func (m DerivativeSecurityList) HasUnderlyingSecuritySubType() bool {
return m.Has(tag.UnderlyingSecuritySubType)
}
//HasUnderlyingPx returns true if UnderlyingPx is present, Tag 810
func (m DerivativeSecurityList) HasUnderlyingPx() bool {
return m.Has(tag.UnderlyingPx)
}
//HasUnderlyingCPProgram returns true if UnderlyingCPProgram is present, Tag 877
func (m DerivativeSecurityList) HasUnderlyingCPProgram() bool {
return m.Has(tag.UnderlyingCPProgram)
}
//HasUnderlyingCPRegType returns true if UnderlyingCPRegType is present, Tag 878
func (m DerivativeSecurityList) HasUnderlyingCPRegType() bool {
return m.Has(tag.UnderlyingCPRegType)
}
//HasUnderlyingQty returns true if UnderlyingQty is present, Tag 879
func (m DerivativeSecurityList) HasUnderlyingQty() bool {