forked from quickfixgo/quickfix
/
MassQuote.go
5387 lines (4386 loc) · 185 KB
/
MassQuote.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 (
"time"
"github.com/quickfixgo/quickfix"
"github.com/quickfixgo/quickfix/field"
"github.com/quickfixgo/quickfix/fixt11"
"github.com/quickfixgo/quickfix/tag"
)
//MassQuote is the fix50sp2 MassQuote type, MsgType = i
type MassQuote struct {
fixt11.Header
quickfix.Body
fixt11.Trailer
//ReceiveTime is the time that this message was read from the socket connection
ReceiveTime time.Time
}
//FromMessage creates a MassQuote from a quickfix.Message instance
func FromMessage(m quickfix.Message) MassQuote {
return MassQuote{
Header: fixt11.Header{Header: m.Header},
Body: m.Body,
Trailer: fixt11.Trailer{Trailer: m.Trailer},
ReceiveTime: m.ReceiveTime,
}
}
//ToMessage returns a quickfix.Message instance
func (m MassQuote) ToMessage() quickfix.Message {
return quickfix.Message{
Header: m.Header.Header,
Body: m.Body,
Trailer: m.Trailer.Trailer,
ReceiveTime: m.ReceiveTime,
}
}
//New returns a MassQuote initialized with the required fields for MassQuote
func New(quoteid field.QuoteIDField) (m MassQuote) {
m.Header = fixt11.NewHeader()
m.Init()
m.Trailer.Init()
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 "9", "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(v float64) {
m.Set(field.NewDefBidSize(v))
}
//SetDefOfferSize sets DefOfferSize, Tag 294
func (m MassQuote) SetDefOfferSize(v float64) {
m.Set(field.NewDefOfferSize(v))
}
//SetNoQuoteSets sets NoQuoteSets, Tag 296
func (m MassQuote) SetNoQuoteSets(f NoQuoteSetsRepeatingGroup) {
m.SetGroup(f)
}
//SetQuoteResponseLevel sets QuoteResponseLevel, Tag 301
func (m MassQuote) SetQuoteResponseLevel(v int) {
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 int) {
m.Set(field.NewQuoteType(v))
}
//SetAccountType sets AccountType, Tag 581
func (m MassQuote) SetAccountType(v int) {
m.Set(field.NewAccountType(v))
}
//SetAcctIDSource sets AcctIDSource, Tag 660
func (m MassQuote) SetAcctIDSource(v int) {
m.Set(field.NewAcctIDSource(v))
}
//GetAccount gets Account, Tag 1
func (m MassQuote) GetAccount() (f field.AccountField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetQuoteID gets QuoteID, Tag 117
func (m MassQuote) GetQuoteID() (f field.QuoteIDField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetQuoteReqID gets QuoteReqID, Tag 131
func (m MassQuote) GetQuoteReqID() (f field.QuoteReqIDField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetDefBidSize gets DefBidSize, Tag 293
func (m MassQuote) GetDefBidSize() (f field.DefBidSizeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetDefOfferSize gets DefOfferSize, Tag 294
func (m MassQuote) GetDefOfferSize() (f field.DefOfferSizeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
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() (f field.QuoteResponseLevelField, err quickfix.MessageRejectError) {
err = m.Get(&f)
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() (f field.QuoteTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetAccountType gets AccountType, Tag 581
func (m MassQuote) GetAccountType() (f field.AccountTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetAcctIDSource gets AcctIDSource, Tag 660
func (m MassQuote) GetAcctIDSource() (f field.AcctIDSourceField, err quickfix.MessageRejectError) {
err = m.Get(&f)
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(v float64) {
m.Set(field.NewUnderlyingRepurchaseRate(v))
}
//SetUnderlyingFactor sets UnderlyingFactor, Tag 246
func (m NoQuoteSets) SetUnderlyingFactor(v float64) {
m.Set(field.NewUnderlyingFactor(v))
}
//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(v float64) {
m.Set(field.NewUnderlyingStrikePrice(v))
}
//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(v float64) {
m.Set(field.NewUnderlyingContractMultiplier(v))
}
//SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435
func (m NoQuoteSets) SetUnderlyingCouponRate(v float64) {
m.Set(field.NewUnderlyingCouponRate(v))
}
//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(v float64) {
m.Set(field.NewUnderlyingQty(v))
}
//SetUnderlyingPx sets UnderlyingPx, Tag 810
func (m NoQuoteSets) SetUnderlyingPx(v float64) {
m.Set(field.NewUnderlyingPx(v))
}
//SetUnderlyingDirtyPrice sets UnderlyingDirtyPrice, Tag 882
func (m NoQuoteSets) SetUnderlyingDirtyPrice(v float64) {
m.Set(field.NewUnderlyingDirtyPrice(v))
}
//SetUnderlyingEndPrice sets UnderlyingEndPrice, Tag 883
func (m NoQuoteSets) SetUnderlyingEndPrice(v float64) {
m.Set(field.NewUnderlyingEndPrice(v))
}
//SetUnderlyingStartValue sets UnderlyingStartValue, Tag 884
func (m NoQuoteSets) SetUnderlyingStartValue(v float64) {
m.Set(field.NewUnderlyingStartValue(v))
}
//SetUnderlyingCurrentValue sets UnderlyingCurrentValue, Tag 885
func (m NoQuoteSets) SetUnderlyingCurrentValue(v float64) {
m.Set(field.NewUnderlyingCurrentValue(v))
}
//SetUnderlyingEndValue sets UnderlyingEndValue, Tag 886
func (m NoQuoteSets) SetUnderlyingEndValue(v float64) {
m.Set(field.NewUnderlyingEndValue(v))
}
//SetNoUnderlyingStips sets NoUnderlyingStips, Tag 887
func (m NoQuoteSets) SetNoUnderlyingStips(f NoUnderlyingStipsRepeatingGroup) {
m.SetGroup(f)
}
//SetUnderlyingAllocationPercent sets UnderlyingAllocationPercent, Tag 972
func (m NoQuoteSets) SetUnderlyingAllocationPercent(v float64) {
m.Set(field.NewUnderlyingAllocationPercent(v))
}
//SetUnderlyingSettlementType sets UnderlyingSettlementType, Tag 975
func (m NoQuoteSets) SetUnderlyingSettlementType(v int) {
m.Set(field.NewUnderlyingSettlementType(v))
}
//SetUnderlyingCashAmount sets UnderlyingCashAmount, Tag 973
func (m NoQuoteSets) SetUnderlyingCashAmount(v float64) {
m.Set(field.NewUnderlyingCashAmount(v))
}
//SetUnderlyingCashType sets UnderlyingCashType, Tag 974
func (m NoQuoteSets) SetUnderlyingCashType(v string) {
m.Set(field.NewUnderlyingCashType(v))
}
//SetUnderlyingUnitOfMeasure sets UnderlyingUnitOfMeasure, Tag 998
func (m NoQuoteSets) SetUnderlyingUnitOfMeasure(v string) {
m.Set(field.NewUnderlyingUnitOfMeasure(v))
}
//SetUnderlyingTimeUnit sets UnderlyingTimeUnit, Tag 1000
func (m NoQuoteSets) SetUnderlyingTimeUnit(v string) {
m.Set(field.NewUnderlyingTimeUnit(v))
}
//SetUnderlyingCapValue sets UnderlyingCapValue, Tag 1038
func (m NoQuoteSets) SetUnderlyingCapValue(v float64) {
m.Set(field.NewUnderlyingCapValue(v))
}
//SetNoUndlyInstrumentParties sets NoUndlyInstrumentParties, Tag 1058
func (m NoQuoteSets) SetNoUndlyInstrumentParties(f NoUndlyInstrumentPartiesRepeatingGroup) {
m.SetGroup(f)
}
//SetUnderlyingSettlMethod sets UnderlyingSettlMethod, Tag 1039
func (m NoQuoteSets) SetUnderlyingSettlMethod(v string) {
m.Set(field.NewUnderlyingSettlMethod(v))
}
//SetUnderlyingAdjustedQuantity sets UnderlyingAdjustedQuantity, Tag 1044
func (m NoQuoteSets) SetUnderlyingAdjustedQuantity(v float64) {
m.Set(field.NewUnderlyingAdjustedQuantity(v))
}
//SetUnderlyingFXRate sets UnderlyingFXRate, Tag 1045
func (m NoQuoteSets) SetUnderlyingFXRate(v float64) {
m.Set(field.NewUnderlyingFXRate(v))
}
//SetUnderlyingFXRateCalc sets UnderlyingFXRateCalc, Tag 1046
func (m NoQuoteSets) SetUnderlyingFXRateCalc(v string) {
m.Set(field.NewUnderlyingFXRateCalc(v))
}
//SetUnderlyingMaturityTime sets UnderlyingMaturityTime, Tag 1213
func (m NoQuoteSets) SetUnderlyingMaturityTime(v string) {
m.Set(field.NewUnderlyingMaturityTime(v))
}
//SetUnderlyingPutOrCall sets UnderlyingPutOrCall, Tag 315
func (m NoQuoteSets) SetUnderlyingPutOrCall(v int) {
m.Set(field.NewUnderlyingPutOrCall(v))
}
//SetUnderlyingExerciseStyle sets UnderlyingExerciseStyle, Tag 1419
func (m NoQuoteSets) SetUnderlyingExerciseStyle(v int) {
m.Set(field.NewUnderlyingExerciseStyle(v))
}
//SetUnderlyingUnitOfMeasureQty sets UnderlyingUnitOfMeasureQty, Tag 1423
func (m NoQuoteSets) SetUnderlyingUnitOfMeasureQty(v float64) {
m.Set(field.NewUnderlyingUnitOfMeasureQty(v))
}
//SetUnderlyingPriceUnitOfMeasure sets UnderlyingPriceUnitOfMeasure, Tag 1424
func (m NoQuoteSets) SetUnderlyingPriceUnitOfMeasure(v string) {
m.Set(field.NewUnderlyingPriceUnitOfMeasure(v))
}
//SetUnderlyingPriceUnitOfMeasureQty sets UnderlyingPriceUnitOfMeasureQty, Tag 1425
func (m NoQuoteSets) SetUnderlyingPriceUnitOfMeasureQty(v float64) {
m.Set(field.NewUnderlyingPriceUnitOfMeasureQty(v))
}
//SetUnderlyingContractMultiplierUnit sets UnderlyingContractMultiplierUnit, Tag 1437
func (m NoQuoteSets) SetUnderlyingContractMultiplierUnit(v int) {
m.Set(field.NewUnderlyingContractMultiplierUnit(v))
}
//SetUnderlyingFlowScheduleType sets UnderlyingFlowScheduleType, Tag 1441
func (m NoQuoteSets) SetUnderlyingFlowScheduleType(v int) {
m.Set(field.NewUnderlyingFlowScheduleType(v))
}
//SetUnderlyingRestructuringType sets UnderlyingRestructuringType, Tag 1453
func (m NoQuoteSets) SetUnderlyingRestructuringType(v string) {
m.Set(field.NewUnderlyingRestructuringType(v))
}
//SetUnderlyingSeniority sets UnderlyingSeniority, Tag 1454
func (m NoQuoteSets) SetUnderlyingSeniority(v string) {
m.Set(field.NewUnderlyingSeniority(v))
}
//SetUnderlyingNotionalPercentageOutstanding sets UnderlyingNotionalPercentageOutstanding, Tag 1455
func (m NoQuoteSets) SetUnderlyingNotionalPercentageOutstanding(v float64) {
m.Set(field.NewUnderlyingNotionalPercentageOutstanding(v))
}
//SetUnderlyingOriginalNotionalPercentageOutstanding sets UnderlyingOriginalNotionalPercentageOutstanding, Tag 1456
func (m NoQuoteSets) SetUnderlyingOriginalNotionalPercentageOutstanding(v float64) {
m.Set(field.NewUnderlyingOriginalNotionalPercentageOutstanding(v))
}
//SetUnderlyingAttachmentPoint sets UnderlyingAttachmentPoint, Tag 1459
func (m NoQuoteSets) SetUnderlyingAttachmentPoint(v float64) {
m.Set(field.NewUnderlyingAttachmentPoint(v))
}
//SetUnderlyingDetachmentPoint sets UnderlyingDetachmentPoint, Tag 1460
func (m NoQuoteSets) SetUnderlyingDetachmentPoint(v float64) {
m.Set(field.NewUnderlyingDetachmentPoint(v))
}
//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() (f field.QuoteSetIDField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311
func (m NoQuoteSets) GetUnderlyingSymbol() (f field.UnderlyingSymbolField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSymbolSfx gets UnderlyingSymbolSfx, Tag 312
func (m NoQuoteSets) GetUnderlyingSymbolSfx() (f field.UnderlyingSymbolSfxField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309
func (m NoQuoteSets) GetUnderlyingSecurityID() (f field.UnderlyingSecurityIDField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305
func (m NoQuoteSets) GetUnderlyingSecurityIDSource() (f field.UnderlyingSecurityIDSourceField, err quickfix.MessageRejectError) {
err = m.Get(&f)
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() (f field.UnderlyingProductField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCFICode gets UnderlyingCFICode, Tag 463
func (m NoQuoteSets) GetUnderlyingCFICode() (f field.UnderlyingCFICodeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310
func (m NoQuoteSets) GetUnderlyingSecurityType() (f field.UnderlyingSecurityTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSecuritySubType gets UnderlyingSecuritySubType, Tag 763
func (m NoQuoteSets) GetUnderlyingSecuritySubType() (f field.UnderlyingSecuritySubTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313
func (m NoQuoteSets) GetUnderlyingMaturityMonthYear() (f field.UnderlyingMaturityMonthYearField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542
func (m NoQuoteSets) GetUnderlyingMaturityDate() (f field.UnderlyingMaturityDateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241
func (m NoQuoteSets) GetUnderlyingCouponPaymentDate() (f field.UnderlyingCouponPaymentDateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingIssueDate gets UnderlyingIssueDate, Tag 242
func (m NoQuoteSets) GetUnderlyingIssueDate() (f field.UnderlyingIssueDateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingRepoCollateralSecurityType gets UnderlyingRepoCollateralSecurityType, Tag 243
func (m NoQuoteSets) GetUnderlyingRepoCollateralSecurityType() (f field.UnderlyingRepoCollateralSecurityTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingRepurchaseTerm gets UnderlyingRepurchaseTerm, Tag 244
func (m NoQuoteSets) GetUnderlyingRepurchaseTerm() (f field.UnderlyingRepurchaseTermField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingRepurchaseRate gets UnderlyingRepurchaseRate, Tag 245
func (m NoQuoteSets) GetUnderlyingRepurchaseRate() (f field.UnderlyingRepurchaseRateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingFactor gets UnderlyingFactor, Tag 246
func (m NoQuoteSets) GetUnderlyingFactor() (f field.UnderlyingFactorField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256
func (m NoQuoteSets) GetUnderlyingCreditRating() (f field.UnderlyingCreditRatingField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595
func (m NoQuoteSets) GetUnderlyingInstrRegistry() (f field.UnderlyingInstrRegistryField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592
func (m NoQuoteSets) GetUnderlyingCountryOfIssue() (f field.UnderlyingCountryOfIssueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingStateOrProvinceOfIssue gets UnderlyingStateOrProvinceOfIssue, Tag 593
func (m NoQuoteSets) GetUnderlyingStateOrProvinceOfIssue() (f field.UnderlyingStateOrProvinceOfIssueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingLocaleOfIssue gets UnderlyingLocaleOfIssue, Tag 594
func (m NoQuoteSets) GetUnderlyingLocaleOfIssue() (f field.UnderlyingLocaleOfIssueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247
func (m NoQuoteSets) GetUnderlyingRedemptionDate() (f field.UnderlyingRedemptionDateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316
func (m NoQuoteSets) GetUnderlyingStrikePrice() (f field.UnderlyingStrikePriceField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingStrikeCurrency gets UnderlyingStrikeCurrency, Tag 941
func (m NoQuoteSets) GetUnderlyingStrikeCurrency() (f field.UnderlyingStrikeCurrencyField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317
func (m NoQuoteSets) GetUnderlyingOptAttribute() (f field.UnderlyingOptAttributeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436
func (m NoQuoteSets) GetUnderlyingContractMultiplier() (f field.UnderlyingContractMultiplierField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435
func (m NoQuoteSets) GetUnderlyingCouponRate() (f field.UnderlyingCouponRateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308
func (m NoQuoteSets) GetUnderlyingSecurityExchange() (f field.UnderlyingSecurityExchangeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306
func (m NoQuoteSets) GetUnderlyingIssuer() (f field.UnderlyingIssuerField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362
func (m NoQuoteSets) GetEncodedUnderlyingIssuerLen() (f field.EncodedUnderlyingIssuerLenField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetEncodedUnderlyingIssuer gets EncodedUnderlyingIssuer, Tag 363
func (m NoQuoteSets) GetEncodedUnderlyingIssuer() (f field.EncodedUnderlyingIssuerField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307
func (m NoQuoteSets) GetUnderlyingSecurityDesc() (f field.UnderlyingSecurityDescField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364
func (m NoQuoteSets) GetEncodedUnderlyingSecurityDescLen() (f field.EncodedUnderlyingSecurityDescLenField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetEncodedUnderlyingSecurityDesc gets EncodedUnderlyingSecurityDesc, Tag 365
func (m NoQuoteSets) GetEncodedUnderlyingSecurityDesc() (f field.EncodedUnderlyingSecurityDescField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCPProgram gets UnderlyingCPProgram, Tag 877
func (m NoQuoteSets) GetUnderlyingCPProgram() (f field.UnderlyingCPProgramField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCPRegType gets UnderlyingCPRegType, Tag 878
func (m NoQuoteSets) GetUnderlyingCPRegType() (f field.UnderlyingCPRegTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCurrency gets UnderlyingCurrency, Tag 318
func (m NoQuoteSets) GetUnderlyingCurrency() (f field.UnderlyingCurrencyField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingQty gets UnderlyingQty, Tag 879
func (m NoQuoteSets) GetUnderlyingQty() (f field.UnderlyingQtyField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingPx gets UnderlyingPx, Tag 810
func (m NoQuoteSets) GetUnderlyingPx() (f field.UnderlyingPxField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingDirtyPrice gets UnderlyingDirtyPrice, Tag 882
func (m NoQuoteSets) GetUnderlyingDirtyPrice() (f field.UnderlyingDirtyPriceField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingEndPrice gets UnderlyingEndPrice, Tag 883
func (m NoQuoteSets) GetUnderlyingEndPrice() (f field.UnderlyingEndPriceField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingStartValue gets UnderlyingStartValue, Tag 884
func (m NoQuoteSets) GetUnderlyingStartValue() (f field.UnderlyingStartValueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCurrentValue gets UnderlyingCurrentValue, Tag 885
func (m NoQuoteSets) GetUnderlyingCurrentValue() (f field.UnderlyingCurrentValueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingEndValue gets UnderlyingEndValue, Tag 886
func (m NoQuoteSets) GetUnderlyingEndValue() (f field.UnderlyingEndValueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetNoUnderlyingStips gets NoUnderlyingStips, Tag 887
func (m NoQuoteSets) GetNoUnderlyingStips() (NoUnderlyingStipsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoUnderlyingStipsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetUnderlyingAllocationPercent gets UnderlyingAllocationPercent, Tag 972
func (m NoQuoteSets) GetUnderlyingAllocationPercent() (f field.UnderlyingAllocationPercentField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingSettlementType gets UnderlyingSettlementType, Tag 975
func (m NoQuoteSets) GetUnderlyingSettlementType() (f field.UnderlyingSettlementTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCashAmount gets UnderlyingCashAmount, Tag 973
func (m NoQuoteSets) GetUnderlyingCashAmount() (f field.UnderlyingCashAmountField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCashType gets UnderlyingCashType, Tag 974
func (m NoQuoteSets) GetUnderlyingCashType() (f field.UnderlyingCashTypeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingUnitOfMeasure gets UnderlyingUnitOfMeasure, Tag 998
func (m NoQuoteSets) GetUnderlyingUnitOfMeasure() (f field.UnderlyingUnitOfMeasureField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingTimeUnit gets UnderlyingTimeUnit, Tag 1000
func (m NoQuoteSets) GetUnderlyingTimeUnit() (f field.UnderlyingTimeUnitField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingCapValue gets UnderlyingCapValue, Tag 1038
func (m NoQuoteSets) GetUnderlyingCapValue() (f field.UnderlyingCapValueField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetNoUndlyInstrumentParties gets NoUndlyInstrumentParties, Tag 1058
func (m NoQuoteSets) GetNoUndlyInstrumentParties() (NoUndlyInstrumentPartiesRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoUndlyInstrumentPartiesRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetUnderlyingSettlMethod gets UnderlyingSettlMethod, Tag 1039
func (m NoQuoteSets) GetUnderlyingSettlMethod() (f field.UnderlyingSettlMethodField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingAdjustedQuantity gets UnderlyingAdjustedQuantity, Tag 1044
func (m NoQuoteSets) GetUnderlyingAdjustedQuantity() (f field.UnderlyingAdjustedQuantityField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingFXRate gets UnderlyingFXRate, Tag 1045
func (m NoQuoteSets) GetUnderlyingFXRate() (f field.UnderlyingFXRateField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingFXRateCalc gets UnderlyingFXRateCalc, Tag 1046
func (m NoQuoteSets) GetUnderlyingFXRateCalc() (f field.UnderlyingFXRateCalcField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingMaturityTime gets UnderlyingMaturityTime, Tag 1213
func (m NoQuoteSets) GetUnderlyingMaturityTime() (f field.UnderlyingMaturityTimeField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}
//GetUnderlyingPutOrCall gets UnderlyingPutOrCall, Tag 315
func (m NoQuoteSets) GetUnderlyingPutOrCall() (f field.UnderlyingPutOrCallField, err quickfix.MessageRejectError) {
err = m.Get(&f)
return
}