forked from quickfixgo/quickfix
/
MassQuote.generated.go
3910 lines (3283 loc) · 121 KB
/
MassQuote.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 massquote
import (
"github.com/shopspring/decimal"
"time"
"github.com/quickfixgo/quickfix"
"github.com/quickfixgo/quickfix/enum"
"github.com/quickfixgo/quickfix/field"
"github.com/quickfixgo/quickfix/fix44"
"github.com/quickfixgo/quickfix/tag"
)
//MassQuote is the fix44 MassQuote type, MsgType = i
type MassQuote struct {
fix44.Header
*quickfix.Body
fix44.Trailer
Message *quickfix.Message
}
//FromMessage creates a MassQuote from a quickfix.Message instance
func FromMessage(m *quickfix.Message) MassQuote {
return MassQuote{
Header: fix44.Header{&m.Header},
Body: &m.Body,
Trailer: fix44.Trailer{&m.Trailer},
Message: m,
}
}
//ToMessage returns a quickfix.Message instance
func (m MassQuote) ToMessage() *quickfix.Message {
return m.Message
}
//New returns a MassQuote initialized with the required fields for MassQuote
func New(quoteid field.QuoteIDField) (m MassQuote) {
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("i"))
m.Set(quoteid)
return
}
//A RouteOut is the callback type that should be implemented for routing Message
type RouteOut func(msg MassQuote, 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", "i", r
}
//SetAccount sets Account, Tag 1
func (m MassQuote) SetAccount(v string) {
m.Set(field.NewAccount(v))
}
//SetQuoteID sets QuoteID, Tag 117
func (m MassQuote) SetQuoteID(v string) {
m.Set(field.NewQuoteID(v))
}
//SetQuoteReqID sets QuoteReqID, Tag 131
func (m MassQuote) SetQuoteReqID(v string) {
m.Set(field.NewQuoteReqID(v))
}
//SetDefBidSize sets DefBidSize, Tag 293
func (m MassQuote) SetDefBidSize(value decimal.Decimal, scale int32) {
m.Set(field.NewDefBidSize(value, scale))
}
//SetDefOfferSize sets DefOfferSize, Tag 294
func (m MassQuote) SetDefOfferSize(value decimal.Decimal, scale int32) {
m.Set(field.NewDefOfferSize(value, scale))
}
//SetNoQuoteSets sets NoQuoteSets, Tag 296
func (m MassQuote) SetNoQuoteSets(f NoQuoteSetsRepeatingGroup) {
m.SetGroup(f)
}
//SetQuoteResponseLevel sets QuoteResponseLevel, Tag 301
func (m MassQuote) SetQuoteResponseLevel(v enum.QuoteResponseLevel) {
m.Set(field.NewQuoteResponseLevel(v))
}
//SetNoPartyIDs sets NoPartyIDs, Tag 453
func (m MassQuote) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
m.SetGroup(f)
}
//SetQuoteType sets QuoteType, Tag 537
func (m MassQuote) SetQuoteType(v enum.QuoteType) {
m.Set(field.NewQuoteType(v))
}
//SetAccountType sets AccountType, Tag 581
func (m MassQuote) SetAccountType(v enum.AccountType) {
m.Set(field.NewAccountType(v))
}
//SetAcctIDSource sets AcctIDSource, Tag 660
func (m MassQuote) SetAcctIDSource(v enum.AcctIDSource) {
m.Set(field.NewAcctIDSource(v))
}
//GetAccount gets Account, Tag 1
func (m MassQuote) GetAccount() (v string, err quickfix.MessageRejectError) {
var f field.AccountField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetQuoteID gets QuoteID, Tag 117
func (m MassQuote) GetQuoteID() (v string, err quickfix.MessageRejectError) {
var f field.QuoteIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetQuoteReqID gets QuoteReqID, Tag 131
func (m MassQuote) GetQuoteReqID() (v string, err quickfix.MessageRejectError) {
var f field.QuoteReqIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetDefBidSize gets DefBidSize, Tag 293
func (m MassQuote) GetDefBidSize() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.DefBidSizeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetDefOfferSize gets DefOfferSize, Tag 294
func (m MassQuote) GetDefOfferSize() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.DefOfferSizeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoQuoteSets gets NoQuoteSets, Tag 296
func (m MassQuote) GetNoQuoteSets() (NoQuoteSetsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoQuoteSetsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetQuoteResponseLevel gets QuoteResponseLevel, Tag 301
func (m MassQuote) GetQuoteResponseLevel() (v enum.QuoteResponseLevel, err quickfix.MessageRejectError) {
var f field.QuoteResponseLevelField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoPartyIDs gets NoPartyIDs, Tag 453
func (m MassQuote) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoPartyIDsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetQuoteType gets QuoteType, Tag 537
func (m MassQuote) GetQuoteType() (v enum.QuoteType, err quickfix.MessageRejectError) {
var f field.QuoteTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetAccountType gets AccountType, Tag 581
func (m MassQuote) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
var f field.AccountTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetAcctIDSource gets AcctIDSource, Tag 660
func (m MassQuote) GetAcctIDSource() (v enum.AcctIDSource, err quickfix.MessageRejectError) {
var f field.AcctIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//HasAccount returns true if Account is present, Tag 1
func (m MassQuote) HasAccount() bool {
return m.Has(tag.Account)
}
//HasQuoteID returns true if QuoteID is present, Tag 117
func (m MassQuote) HasQuoteID() bool {
return m.Has(tag.QuoteID)
}
//HasQuoteReqID returns true if QuoteReqID is present, Tag 131
func (m MassQuote) HasQuoteReqID() bool {
return m.Has(tag.QuoteReqID)
}
//HasDefBidSize returns true if DefBidSize is present, Tag 293
func (m MassQuote) HasDefBidSize() bool {
return m.Has(tag.DefBidSize)
}
//HasDefOfferSize returns true if DefOfferSize is present, Tag 294
func (m MassQuote) HasDefOfferSize() bool {
return m.Has(tag.DefOfferSize)
}
//HasNoQuoteSets returns true if NoQuoteSets is present, Tag 296
func (m MassQuote) HasNoQuoteSets() bool {
return m.Has(tag.NoQuoteSets)
}
//HasQuoteResponseLevel returns true if QuoteResponseLevel is present, Tag 301
func (m MassQuote) HasQuoteResponseLevel() bool {
return m.Has(tag.QuoteResponseLevel)
}
//HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453
func (m MassQuote) HasNoPartyIDs() bool {
return m.Has(tag.NoPartyIDs)
}
//HasQuoteType returns true if QuoteType is present, Tag 537
func (m MassQuote) HasQuoteType() bool {
return m.Has(tag.QuoteType)
}
//HasAccountType returns true if AccountType is present, Tag 581
func (m MassQuote) HasAccountType() bool {
return m.Has(tag.AccountType)
}
//HasAcctIDSource returns true if AcctIDSource is present, Tag 660
func (m MassQuote) HasAcctIDSource() bool {
return m.Has(tag.AcctIDSource)
}
//NoQuoteSets is a repeating group element, Tag 296
type NoQuoteSets struct {
*quickfix.Group
}
//SetQuoteSetID sets QuoteSetID, Tag 302
func (m NoQuoteSets) SetQuoteSetID(v string) {
m.Set(field.NewQuoteSetID(v))
}
//SetUnderlyingSymbol sets UnderlyingSymbol, Tag 311
func (m NoQuoteSets) SetUnderlyingSymbol(v string) {
m.Set(field.NewUnderlyingSymbol(v))
}
//SetUnderlyingSymbolSfx sets UnderlyingSymbolSfx, Tag 312
func (m NoQuoteSets) SetUnderlyingSymbolSfx(v string) {
m.Set(field.NewUnderlyingSymbolSfx(v))
}
//SetUnderlyingSecurityID sets UnderlyingSecurityID, Tag 309
func (m NoQuoteSets) SetUnderlyingSecurityID(v string) {
m.Set(field.NewUnderlyingSecurityID(v))
}
//SetUnderlyingSecurityIDSource sets UnderlyingSecurityIDSource, Tag 305
func (m NoQuoteSets) SetUnderlyingSecurityIDSource(v string) {
m.Set(field.NewUnderlyingSecurityIDSource(v))
}
//SetNoUnderlyingSecurityAltID sets NoUnderlyingSecurityAltID, Tag 457
func (m NoQuoteSets) SetNoUnderlyingSecurityAltID(f NoUnderlyingSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
//SetUnderlyingProduct sets UnderlyingProduct, Tag 462
func (m NoQuoteSets) SetUnderlyingProduct(v int) {
m.Set(field.NewUnderlyingProduct(v))
}
//SetUnderlyingCFICode sets UnderlyingCFICode, Tag 463
func (m NoQuoteSets) SetUnderlyingCFICode(v string) {
m.Set(field.NewUnderlyingCFICode(v))
}
//SetUnderlyingSecurityType sets UnderlyingSecurityType, Tag 310
func (m NoQuoteSets) SetUnderlyingSecurityType(v string) {
m.Set(field.NewUnderlyingSecurityType(v))
}
//SetUnderlyingSecuritySubType sets UnderlyingSecuritySubType, Tag 763
func (m NoQuoteSets) SetUnderlyingSecuritySubType(v string) {
m.Set(field.NewUnderlyingSecuritySubType(v))
}
//SetUnderlyingMaturityMonthYear sets UnderlyingMaturityMonthYear, Tag 313
func (m NoQuoteSets) SetUnderlyingMaturityMonthYear(v string) {
m.Set(field.NewUnderlyingMaturityMonthYear(v))
}
//SetUnderlyingMaturityDate sets UnderlyingMaturityDate, Tag 542
func (m NoQuoteSets) SetUnderlyingMaturityDate(v string) {
m.Set(field.NewUnderlyingMaturityDate(v))
}
//SetUnderlyingCouponPaymentDate sets UnderlyingCouponPaymentDate, Tag 241
func (m NoQuoteSets) SetUnderlyingCouponPaymentDate(v string) {
m.Set(field.NewUnderlyingCouponPaymentDate(v))
}
//SetUnderlyingIssueDate sets UnderlyingIssueDate, Tag 242
func (m NoQuoteSets) SetUnderlyingIssueDate(v string) {
m.Set(field.NewUnderlyingIssueDate(v))
}
//SetUnderlyingRepoCollateralSecurityType sets UnderlyingRepoCollateralSecurityType, Tag 243
func (m NoQuoteSets) SetUnderlyingRepoCollateralSecurityType(v int) {
m.Set(field.NewUnderlyingRepoCollateralSecurityType(v))
}
//SetUnderlyingRepurchaseTerm sets UnderlyingRepurchaseTerm, Tag 244
func (m NoQuoteSets) SetUnderlyingRepurchaseTerm(v int) {
m.Set(field.NewUnderlyingRepurchaseTerm(v))
}
//SetUnderlyingRepurchaseRate sets UnderlyingRepurchaseRate, Tag 245
func (m NoQuoteSets) SetUnderlyingRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingRepurchaseRate(value, scale))
}
//SetUnderlyingFactor sets UnderlyingFactor, Tag 246
func (m NoQuoteSets) SetUnderlyingFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingFactor(value, scale))
}
//SetUnderlyingCreditRating sets UnderlyingCreditRating, Tag 256
func (m NoQuoteSets) SetUnderlyingCreditRating(v string) {
m.Set(field.NewUnderlyingCreditRating(v))
}
//SetUnderlyingInstrRegistry sets UnderlyingInstrRegistry, Tag 595
func (m NoQuoteSets) SetUnderlyingInstrRegistry(v string) {
m.Set(field.NewUnderlyingInstrRegistry(v))
}
//SetUnderlyingCountryOfIssue sets UnderlyingCountryOfIssue, Tag 592
func (m NoQuoteSets) SetUnderlyingCountryOfIssue(v string) {
m.Set(field.NewUnderlyingCountryOfIssue(v))
}
//SetUnderlyingStateOrProvinceOfIssue sets UnderlyingStateOrProvinceOfIssue, Tag 593
func (m NoQuoteSets) SetUnderlyingStateOrProvinceOfIssue(v string) {
m.Set(field.NewUnderlyingStateOrProvinceOfIssue(v))
}
//SetUnderlyingLocaleOfIssue sets UnderlyingLocaleOfIssue, Tag 594
func (m NoQuoteSets) SetUnderlyingLocaleOfIssue(v string) {
m.Set(field.NewUnderlyingLocaleOfIssue(v))
}
//SetUnderlyingRedemptionDate sets UnderlyingRedemptionDate, Tag 247
func (m NoQuoteSets) SetUnderlyingRedemptionDate(v string) {
m.Set(field.NewUnderlyingRedemptionDate(v))
}
//SetUnderlyingStrikePrice sets UnderlyingStrikePrice, Tag 316
func (m NoQuoteSets) SetUnderlyingStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingStrikePrice(value, scale))
}
//SetUnderlyingStrikeCurrency sets UnderlyingStrikeCurrency, Tag 941
func (m NoQuoteSets) SetUnderlyingStrikeCurrency(v string) {
m.Set(field.NewUnderlyingStrikeCurrency(v))
}
//SetUnderlyingOptAttribute sets UnderlyingOptAttribute, Tag 317
func (m NoQuoteSets) SetUnderlyingOptAttribute(v string) {
m.Set(field.NewUnderlyingOptAttribute(v))
}
//SetUnderlyingContractMultiplier sets UnderlyingContractMultiplier, Tag 436
func (m NoQuoteSets) SetUnderlyingContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingContractMultiplier(value, scale))
}
//SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435
func (m NoQuoteSets) SetUnderlyingCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingCouponRate(value, scale))
}
//SetUnderlyingSecurityExchange sets UnderlyingSecurityExchange, Tag 308
func (m NoQuoteSets) SetUnderlyingSecurityExchange(v string) {
m.Set(field.NewUnderlyingSecurityExchange(v))
}
//SetUnderlyingIssuer sets UnderlyingIssuer, Tag 306
func (m NoQuoteSets) SetUnderlyingIssuer(v string) {
m.Set(field.NewUnderlyingIssuer(v))
}
//SetEncodedUnderlyingIssuerLen sets EncodedUnderlyingIssuerLen, Tag 362
func (m NoQuoteSets) SetEncodedUnderlyingIssuerLen(v int) {
m.Set(field.NewEncodedUnderlyingIssuerLen(v))
}
//SetEncodedUnderlyingIssuer sets EncodedUnderlyingIssuer, Tag 363
func (m NoQuoteSets) SetEncodedUnderlyingIssuer(v string) {
m.Set(field.NewEncodedUnderlyingIssuer(v))
}
//SetUnderlyingSecurityDesc sets UnderlyingSecurityDesc, Tag 307
func (m NoQuoteSets) SetUnderlyingSecurityDesc(v string) {
m.Set(field.NewUnderlyingSecurityDesc(v))
}
//SetEncodedUnderlyingSecurityDescLen sets EncodedUnderlyingSecurityDescLen, Tag 364
func (m NoQuoteSets) SetEncodedUnderlyingSecurityDescLen(v int) {
m.Set(field.NewEncodedUnderlyingSecurityDescLen(v))
}
//SetEncodedUnderlyingSecurityDesc sets EncodedUnderlyingSecurityDesc, Tag 365
func (m NoQuoteSets) SetEncodedUnderlyingSecurityDesc(v string) {
m.Set(field.NewEncodedUnderlyingSecurityDesc(v))
}
//SetUnderlyingCPProgram sets UnderlyingCPProgram, Tag 877
func (m NoQuoteSets) SetUnderlyingCPProgram(v string) {
m.Set(field.NewUnderlyingCPProgram(v))
}
//SetUnderlyingCPRegType sets UnderlyingCPRegType, Tag 878
func (m NoQuoteSets) SetUnderlyingCPRegType(v string) {
m.Set(field.NewUnderlyingCPRegType(v))
}
//SetUnderlyingCurrency sets UnderlyingCurrency, Tag 318
func (m NoQuoteSets) SetUnderlyingCurrency(v string) {
m.Set(field.NewUnderlyingCurrency(v))
}
//SetUnderlyingQty sets UnderlyingQty, Tag 879
func (m NoQuoteSets) SetUnderlyingQty(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingQty(value, scale))
}
//SetUnderlyingPx sets UnderlyingPx, Tag 810
func (m NoQuoteSets) SetUnderlyingPx(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingPx(value, scale))
}
//SetUnderlyingDirtyPrice sets UnderlyingDirtyPrice, Tag 882
func (m NoQuoteSets) SetUnderlyingDirtyPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingDirtyPrice(value, scale))
}
//SetUnderlyingEndPrice sets UnderlyingEndPrice, Tag 883
func (m NoQuoteSets) SetUnderlyingEndPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingEndPrice(value, scale))
}
//SetUnderlyingStartValue sets UnderlyingStartValue, Tag 884
func (m NoQuoteSets) SetUnderlyingStartValue(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingStartValue(value, scale))
}
//SetUnderlyingCurrentValue sets UnderlyingCurrentValue, Tag 885
func (m NoQuoteSets) SetUnderlyingCurrentValue(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingCurrentValue(value, scale))
}
//SetUnderlyingEndValue sets UnderlyingEndValue, Tag 886
func (m NoQuoteSets) SetUnderlyingEndValue(value decimal.Decimal, scale int32) {
m.Set(field.NewUnderlyingEndValue(value, scale))
}
//SetNoUnderlyingStips sets NoUnderlyingStips, Tag 887
func (m NoQuoteSets) SetNoUnderlyingStips(f NoUnderlyingStipsRepeatingGroup) {
m.SetGroup(f)
}
//SetQuoteSetValidUntilTime sets QuoteSetValidUntilTime, Tag 367
func (m NoQuoteSets) SetQuoteSetValidUntilTime(v time.Time) {
m.Set(field.NewQuoteSetValidUntilTime(v))
}
//SetTotNoQuoteEntries sets TotNoQuoteEntries, Tag 304
func (m NoQuoteSets) SetTotNoQuoteEntries(v int) {
m.Set(field.NewTotNoQuoteEntries(v))
}
//SetLastFragment sets LastFragment, Tag 893
func (m NoQuoteSets) SetLastFragment(v bool) {
m.Set(field.NewLastFragment(v))
}
//SetNoQuoteEntries sets NoQuoteEntries, Tag 295
func (m NoQuoteSets) SetNoQuoteEntries(f NoQuoteEntriesRepeatingGroup) {
m.SetGroup(f)
}
//GetQuoteSetID gets QuoteSetID, Tag 302
func (m NoQuoteSets) GetQuoteSetID() (v string, err quickfix.MessageRejectError) {
var f field.QuoteSetIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311
func (m NoQuoteSets) 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 NoQuoteSets) GetUnderlyingSymbolSfx() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSymbolSfxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309
func (m NoQuoteSets) GetUnderlyingSecurityID() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305
func (m NoQuoteSets) GetUnderlyingSecurityIDSource() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoUnderlyingSecurityAltID gets NoUnderlyingSecurityAltID, Tag 457
func (m NoQuoteSets) GetNoUnderlyingSecurityAltID() (NoUnderlyingSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoUnderlyingSecurityAltIDRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetUnderlyingProduct gets UnderlyingProduct, Tag 462
func (m NoQuoteSets) 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 NoQuoteSets) GetUnderlyingCFICode() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCFICodeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310
func (m NoQuoteSets) GetUnderlyingSecurityType() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecuritySubType gets UnderlyingSecuritySubType, Tag 763
func (m NoQuoteSets) GetUnderlyingSecuritySubType() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecuritySubTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313
func (m NoQuoteSets) GetUnderlyingMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingMaturityMonthYearField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542
func (m NoQuoteSets) GetUnderlyingMaturityDate() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingMaturityDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241
func (m NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) GetUnderlyingFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingFactorField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256
func (m NoQuoteSets) GetUnderlyingCreditRating() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCreditRatingField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595
func (m NoQuoteSets) GetUnderlyingInstrRegistry() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingInstrRegistryField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592
func (m NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) GetUnderlyingLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingLocaleOfIssueField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247
func (m NoQuoteSets) GetUnderlyingRedemptionDate() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingRedemptionDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316
func (m NoQuoteSets) GetUnderlyingStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingStrikePriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingStrikeCurrency gets UnderlyingStrikeCurrency, Tag 941
func (m NoQuoteSets) GetUnderlyingStrikeCurrency() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingStrikeCurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317
func (m NoQuoteSets) GetUnderlyingOptAttribute() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingOptAttributeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436
func (m NoQuoteSets) GetUnderlyingContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingContractMultiplierField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435
func (m NoQuoteSets) GetUnderlyingCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingCouponRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308
func (m NoQuoteSets) GetUnderlyingSecurityExchange() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityExchangeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306
func (m NoQuoteSets) GetUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingIssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362
func (m NoQuoteSets) 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 NoQuoteSets) GetEncodedUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
var f field.EncodedUnderlyingIssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307
func (m NoQuoteSets) GetUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingSecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364
func (m NoQuoteSets) 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 NoQuoteSets) GetEncodedUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.EncodedUnderlyingSecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCPProgram gets UnderlyingCPProgram, Tag 877
func (m NoQuoteSets) 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 NoQuoteSets) GetUnderlyingCPRegType() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCPRegTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingCurrency gets UnderlyingCurrency, Tag 318
func (m NoQuoteSets) GetUnderlyingCurrency() (v string, err quickfix.MessageRejectError) {
var f field.UnderlyingCurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingQty gets UnderlyingQty, Tag 879
func (m NoQuoteSets) GetUnderlyingQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingQtyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingPx gets UnderlyingPx, Tag 810
func (m NoQuoteSets) GetUnderlyingPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.UnderlyingPxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetUnderlyingDirtyPrice gets UnderlyingDirtyPrice, Tag 882
func (m NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) 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 NoQuoteSets) GetNoUnderlyingStips() (NoUnderlyingStipsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoUnderlyingStipsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetQuoteSetValidUntilTime gets QuoteSetValidUntilTime, Tag 367
func (m NoQuoteSets) GetQuoteSetValidUntilTime() (v time.Time, err quickfix.MessageRejectError) {
var f field.QuoteSetValidUntilTimeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetTotNoQuoteEntries gets TotNoQuoteEntries, Tag 304
func (m NoQuoteSets) GetTotNoQuoteEntries() (v int, err quickfix.MessageRejectError) {
var f field.TotNoQuoteEntriesField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetLastFragment gets LastFragment, Tag 893
func (m NoQuoteSets) GetLastFragment() (v bool, err quickfix.MessageRejectError) {
var f field.LastFragmentField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoQuoteEntries gets NoQuoteEntries, Tag 295
func (m NoQuoteSets) GetNoQuoteEntries() (NoQuoteEntriesRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoQuoteEntriesRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//HasQuoteSetID returns true if QuoteSetID is present, Tag 302
func (m NoQuoteSets) HasQuoteSetID() bool {
return m.Has(tag.QuoteSetID)
}
//HasUnderlyingSymbol returns true if UnderlyingSymbol is present, Tag 311
func (m NoQuoteSets) HasUnderlyingSymbol() bool {
return m.Has(tag.UnderlyingSymbol)
}
//HasUnderlyingSymbolSfx returns true if UnderlyingSymbolSfx is present, Tag 312
func (m NoQuoteSets) HasUnderlyingSymbolSfx() bool {
return m.Has(tag.UnderlyingSymbolSfx)
}
//HasUnderlyingSecurityID returns true if UnderlyingSecurityID is present, Tag 309
func (m NoQuoteSets) HasUnderlyingSecurityID() bool {
return m.Has(tag.UnderlyingSecurityID)
}
//HasUnderlyingSecurityIDSource returns true if UnderlyingSecurityIDSource is present, Tag 305
func (m NoQuoteSets) HasUnderlyingSecurityIDSource() bool {