forked from quickfixgo/quickfix
/
MarketDataIncrementalRefresh.generated.go
5274 lines (4427 loc) · 165 KB
/
MarketDataIncrementalRefresh.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 marketdataincrementalrefresh
import (
"github.com/shopspring/decimal"
"time"
"github.com/quickfixgo/quickfix"
"github.com/quickfixgo/quickfix/enum"
"github.com/quickfixgo/quickfix/field"
"github.com/quickfixgo/quickfix/fixt11"
"github.com/quickfixgo/quickfix/tag"
)
//MarketDataIncrementalRefresh is the fix50 MarketDataIncrementalRefresh type, MsgType = X
type MarketDataIncrementalRefresh struct {
fixt11.Header
*quickfix.Body
fixt11.Trailer
Message *quickfix.Message
}
//FromMessage creates a MarketDataIncrementalRefresh from a quickfix.Message instance
func FromMessage(m *quickfix.Message) MarketDataIncrementalRefresh {
return MarketDataIncrementalRefresh{
Header: fixt11.Header{&m.Header},
Body: &m.Body,
Trailer: fixt11.Trailer{&m.Trailer},
Message: m,
}
}
//ToMessage returns a quickfix.Message instance
func (m MarketDataIncrementalRefresh) ToMessage() *quickfix.Message {
return m.Message
}
//New returns a MarketDataIncrementalRefresh initialized with the required fields for MarketDataIncrementalRefresh
func New() (m MarketDataIncrementalRefresh) {
m.Message = quickfix.NewMessage()
m.Header = fixt11.NewHeader(&m.Message.Header)
m.Body = &m.Message.Body
m.Trailer.Trailer = &m.Message.Trailer
m.Header.Set(field.NewMsgType("X"))
return
}
//A RouteOut is the callback type that should be implemented for routing Message
type RouteOut func(msg MarketDataIncrementalRefresh, 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 "7", "X", r
}
//SetTradeDate sets TradeDate, Tag 75
func (m MarketDataIncrementalRefresh) SetTradeDate(v string) {
m.Set(field.NewTradeDate(v))
}
//SetNoRoutingIDs sets NoRoutingIDs, Tag 215
func (m MarketDataIncrementalRefresh) SetNoRoutingIDs(f NoRoutingIDsRepeatingGroup) {
m.SetGroup(f)
}
//SetMDReqID sets MDReqID, Tag 262
func (m MarketDataIncrementalRefresh) SetMDReqID(v string) {
m.Set(field.NewMDReqID(v))
}
//SetNoMDEntries sets NoMDEntries, Tag 268
func (m MarketDataIncrementalRefresh) SetNoMDEntries(f NoMDEntriesRepeatingGroup) {
m.SetGroup(f)
}
//SetApplQueueDepth sets ApplQueueDepth, Tag 813
func (m MarketDataIncrementalRefresh) SetApplQueueDepth(v int) {
m.Set(field.NewApplQueueDepth(v))
}
//SetApplQueueResolution sets ApplQueueResolution, Tag 814
func (m MarketDataIncrementalRefresh) SetApplQueueResolution(v enum.ApplQueueResolution) {
m.Set(field.NewApplQueueResolution(v))
}
//SetMDBookType sets MDBookType, Tag 1021
func (m MarketDataIncrementalRefresh) SetMDBookType(v enum.MDBookType) {
m.Set(field.NewMDBookType(v))
}
//SetMDFeedType sets MDFeedType, Tag 1022
func (m MarketDataIncrementalRefresh) SetMDFeedType(v string) {
m.Set(field.NewMDFeedType(v))
}
//GetTradeDate gets TradeDate, Tag 75
func (m MarketDataIncrementalRefresh) GetTradeDate() (v string, err quickfix.MessageRejectError) {
var f field.TradeDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoRoutingIDs gets NoRoutingIDs, Tag 215
func (m MarketDataIncrementalRefresh) GetNoRoutingIDs() (NoRoutingIDsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoRoutingIDsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetMDReqID gets MDReqID, Tag 262
func (m MarketDataIncrementalRefresh) GetMDReqID() (v string, err quickfix.MessageRejectError) {
var f field.MDReqIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoMDEntries gets NoMDEntries, Tag 268
func (m MarketDataIncrementalRefresh) GetNoMDEntries() (NoMDEntriesRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoMDEntriesRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetApplQueueDepth gets ApplQueueDepth, Tag 813
func (m MarketDataIncrementalRefresh) GetApplQueueDepth() (v int, err quickfix.MessageRejectError) {
var f field.ApplQueueDepthField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetApplQueueResolution gets ApplQueueResolution, Tag 814
func (m MarketDataIncrementalRefresh) GetApplQueueResolution() (v enum.ApplQueueResolution, err quickfix.MessageRejectError) {
var f field.ApplQueueResolutionField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMDBookType gets MDBookType, Tag 1021
func (m MarketDataIncrementalRefresh) GetMDBookType() (v enum.MDBookType, err quickfix.MessageRejectError) {
var f field.MDBookTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMDFeedType gets MDFeedType, Tag 1022
func (m MarketDataIncrementalRefresh) GetMDFeedType() (v string, err quickfix.MessageRejectError) {
var f field.MDFeedTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//HasTradeDate returns true if TradeDate is present, Tag 75
func (m MarketDataIncrementalRefresh) HasTradeDate() bool {
return m.Has(tag.TradeDate)
}
//HasNoRoutingIDs returns true if NoRoutingIDs is present, Tag 215
func (m MarketDataIncrementalRefresh) HasNoRoutingIDs() bool {
return m.Has(tag.NoRoutingIDs)
}
//HasMDReqID returns true if MDReqID is present, Tag 262
func (m MarketDataIncrementalRefresh) HasMDReqID() bool {
return m.Has(tag.MDReqID)
}
//HasNoMDEntries returns true if NoMDEntries is present, Tag 268
func (m MarketDataIncrementalRefresh) HasNoMDEntries() bool {
return m.Has(tag.NoMDEntries)
}
//HasApplQueueDepth returns true if ApplQueueDepth is present, Tag 813
func (m MarketDataIncrementalRefresh) HasApplQueueDepth() bool {
return m.Has(tag.ApplQueueDepth)
}
//HasApplQueueResolution returns true if ApplQueueResolution is present, Tag 814
func (m MarketDataIncrementalRefresh) HasApplQueueResolution() bool {
return m.Has(tag.ApplQueueResolution)
}
//HasMDBookType returns true if MDBookType is present, Tag 1021
func (m MarketDataIncrementalRefresh) HasMDBookType() bool {
return m.Has(tag.MDBookType)
}
//HasMDFeedType returns true if MDFeedType is present, Tag 1022
func (m MarketDataIncrementalRefresh) HasMDFeedType() bool {
return m.Has(tag.MDFeedType)
}
//NoRoutingIDs is a repeating group element, Tag 215
type NoRoutingIDs struct {
*quickfix.Group
}
//SetRoutingType sets RoutingType, Tag 216
func (m NoRoutingIDs) SetRoutingType(v enum.RoutingType) {
m.Set(field.NewRoutingType(v))
}
//SetRoutingID sets RoutingID, Tag 217
func (m NoRoutingIDs) SetRoutingID(v string) {
m.Set(field.NewRoutingID(v))
}
//GetRoutingType gets RoutingType, Tag 216
func (m NoRoutingIDs) GetRoutingType() (v enum.RoutingType, err quickfix.MessageRejectError) {
var f field.RoutingTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetRoutingID gets RoutingID, Tag 217
func (m NoRoutingIDs) GetRoutingID() (v string, err quickfix.MessageRejectError) {
var f field.RoutingIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//HasRoutingType returns true if RoutingType is present, Tag 216
func (m NoRoutingIDs) HasRoutingType() bool {
return m.Has(tag.RoutingType)
}
//HasRoutingID returns true if RoutingID is present, Tag 217
func (m NoRoutingIDs) HasRoutingID() bool {
return m.Has(tag.RoutingID)
}
//NoRoutingIDsRepeatingGroup is a repeating group, Tag 215
type NoRoutingIDsRepeatingGroup struct {
*quickfix.RepeatingGroup
}
//NewNoRoutingIDsRepeatingGroup returns an initialized, NoRoutingIDsRepeatingGroup
func NewNoRoutingIDsRepeatingGroup() NoRoutingIDsRepeatingGroup {
return NoRoutingIDsRepeatingGroup{
quickfix.NewRepeatingGroup(tag.NoRoutingIDs,
quickfix.GroupTemplate{quickfix.GroupElement(tag.RoutingType), quickfix.GroupElement(tag.RoutingID)})}
}
//Add create and append a new NoRoutingIDs to this group
func (m NoRoutingIDsRepeatingGroup) Add() NoRoutingIDs {
g := m.RepeatingGroup.Add()
return NoRoutingIDs{g}
}
//Get returns the ith NoRoutingIDs in the NoRoutingIDsRepeatinGroup
func (m NoRoutingIDsRepeatingGroup) Get(i int) NoRoutingIDs {
return NoRoutingIDs{m.RepeatingGroup.Get(i)}
}
//NoMDEntries is a repeating group element, Tag 268
type NoMDEntries struct {
*quickfix.Group
}
//SetMDUpdateAction sets MDUpdateAction, Tag 279
func (m NoMDEntries) SetMDUpdateAction(v enum.MDUpdateAction) {
m.Set(field.NewMDUpdateAction(v))
}
//SetDeleteReason sets DeleteReason, Tag 285
func (m NoMDEntries) SetDeleteReason(v enum.DeleteReason) {
m.Set(field.NewDeleteReason(v))
}
//SetMDEntryType sets MDEntryType, Tag 269
func (m NoMDEntries) SetMDEntryType(v enum.MDEntryType) {
m.Set(field.NewMDEntryType(v))
}
//SetMDEntryID sets MDEntryID, Tag 278
func (m NoMDEntries) SetMDEntryID(v string) {
m.Set(field.NewMDEntryID(v))
}
//SetMDEntryRefID sets MDEntryRefID, Tag 280
func (m NoMDEntries) SetMDEntryRefID(v string) {
m.Set(field.NewMDEntryRefID(v))
}
//SetSymbol sets Symbol, Tag 55
func (m NoMDEntries) SetSymbol(v string) {
m.Set(field.NewSymbol(v))
}
//SetSymbolSfx sets SymbolSfx, Tag 65
func (m NoMDEntries) SetSymbolSfx(v enum.SymbolSfx) {
m.Set(field.NewSymbolSfx(v))
}
//SetSecurityID sets SecurityID, Tag 48
func (m NoMDEntries) SetSecurityID(v string) {
m.Set(field.NewSecurityID(v))
}
//SetSecurityIDSource sets SecurityIDSource, Tag 22
func (m NoMDEntries) SetSecurityIDSource(v enum.SecurityIDSource) {
m.Set(field.NewSecurityIDSource(v))
}
//SetNoSecurityAltID sets NoSecurityAltID, Tag 454
func (m NoMDEntries) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
//SetProduct sets Product, Tag 460
func (m NoMDEntries) SetProduct(v enum.Product) {
m.Set(field.NewProduct(v))
}
//SetCFICode sets CFICode, Tag 461
func (m NoMDEntries) SetCFICode(v string) {
m.Set(field.NewCFICode(v))
}
//SetSecurityType sets SecurityType, Tag 167
func (m NoMDEntries) SetSecurityType(v enum.SecurityType) {
m.Set(field.NewSecurityType(v))
}
//SetSecuritySubType sets SecuritySubType, Tag 762
func (m NoMDEntries) SetSecuritySubType(v string) {
m.Set(field.NewSecuritySubType(v))
}
//SetMaturityMonthYear sets MaturityMonthYear, Tag 200
func (m NoMDEntries) SetMaturityMonthYear(v string) {
m.Set(field.NewMaturityMonthYear(v))
}
//SetMaturityDate sets MaturityDate, Tag 541
func (m NoMDEntries) SetMaturityDate(v string) {
m.Set(field.NewMaturityDate(v))
}
//SetCouponPaymentDate sets CouponPaymentDate, Tag 224
func (m NoMDEntries) SetCouponPaymentDate(v string) {
m.Set(field.NewCouponPaymentDate(v))
}
//SetIssueDate sets IssueDate, Tag 225
func (m NoMDEntries) SetIssueDate(v string) {
m.Set(field.NewIssueDate(v))
}
//SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239
func (m NoMDEntries) SetRepoCollateralSecurityType(v int) {
m.Set(field.NewRepoCollateralSecurityType(v))
}
//SetRepurchaseTerm sets RepurchaseTerm, Tag 226
func (m NoMDEntries) SetRepurchaseTerm(v int) {
m.Set(field.NewRepurchaseTerm(v))
}
//SetRepurchaseRate sets RepurchaseRate, Tag 227
func (m NoMDEntries) SetRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewRepurchaseRate(value, scale))
}
//SetFactor sets Factor, Tag 228
func (m NoMDEntries) SetFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewFactor(value, scale))
}
//SetCreditRating sets CreditRating, Tag 255
func (m NoMDEntries) SetCreditRating(v string) {
m.Set(field.NewCreditRating(v))
}
//SetInstrRegistry sets InstrRegistry, Tag 543
func (m NoMDEntries) SetInstrRegistry(v enum.InstrRegistry) {
m.Set(field.NewInstrRegistry(v))
}
//SetCountryOfIssue sets CountryOfIssue, Tag 470
func (m NoMDEntries) SetCountryOfIssue(v string) {
m.Set(field.NewCountryOfIssue(v))
}
//SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471
func (m NoMDEntries) SetStateOrProvinceOfIssue(v string) {
m.Set(field.NewStateOrProvinceOfIssue(v))
}
//SetLocaleOfIssue sets LocaleOfIssue, Tag 472
func (m NoMDEntries) SetLocaleOfIssue(v string) {
m.Set(field.NewLocaleOfIssue(v))
}
//SetRedemptionDate sets RedemptionDate, Tag 240
func (m NoMDEntries) SetRedemptionDate(v string) {
m.Set(field.NewRedemptionDate(v))
}
//SetStrikePrice sets StrikePrice, Tag 202
func (m NoMDEntries) SetStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikePrice(value, scale))
}
//SetStrikeCurrency sets StrikeCurrency, Tag 947
func (m NoMDEntries) SetStrikeCurrency(v string) {
m.Set(field.NewStrikeCurrency(v))
}
//SetOptAttribute sets OptAttribute, Tag 206
func (m NoMDEntries) SetOptAttribute(v string) {
m.Set(field.NewOptAttribute(v))
}
//SetContractMultiplier sets ContractMultiplier, Tag 231
func (m NoMDEntries) SetContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewContractMultiplier(value, scale))
}
//SetCouponRate sets CouponRate, Tag 223
func (m NoMDEntries) SetCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewCouponRate(value, scale))
}
//SetSecurityExchange sets SecurityExchange, Tag 207
func (m NoMDEntries) SetSecurityExchange(v string) {
m.Set(field.NewSecurityExchange(v))
}
//SetIssuer sets Issuer, Tag 106
func (m NoMDEntries) SetIssuer(v string) {
m.Set(field.NewIssuer(v))
}
//SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348
func (m NoMDEntries) SetEncodedIssuerLen(v int) {
m.Set(field.NewEncodedIssuerLen(v))
}
//SetEncodedIssuer sets EncodedIssuer, Tag 349
func (m NoMDEntries) SetEncodedIssuer(v string) {
m.Set(field.NewEncodedIssuer(v))
}
//SetSecurityDesc sets SecurityDesc, Tag 107
func (m NoMDEntries) SetSecurityDesc(v string) {
m.Set(field.NewSecurityDesc(v))
}
//SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350
func (m NoMDEntries) SetEncodedSecurityDescLen(v int) {
m.Set(field.NewEncodedSecurityDescLen(v))
}
//SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351
func (m NoMDEntries) SetEncodedSecurityDesc(v string) {
m.Set(field.NewEncodedSecurityDesc(v))
}
//SetPool sets Pool, Tag 691
func (m NoMDEntries) SetPool(v string) {
m.Set(field.NewPool(v))
}
//SetContractSettlMonth sets ContractSettlMonth, Tag 667
func (m NoMDEntries) SetContractSettlMonth(v string) {
m.Set(field.NewContractSettlMonth(v))
}
//SetCPProgram sets CPProgram, Tag 875
func (m NoMDEntries) SetCPProgram(v enum.CPProgram) {
m.Set(field.NewCPProgram(v))
}
//SetCPRegType sets CPRegType, Tag 876
func (m NoMDEntries) SetCPRegType(v string) {
m.Set(field.NewCPRegType(v))
}
//SetNoEvents sets NoEvents, Tag 864
func (m NoMDEntries) SetNoEvents(f NoEventsRepeatingGroup) {
m.SetGroup(f)
}
//SetDatedDate sets DatedDate, Tag 873
func (m NoMDEntries) SetDatedDate(v string) {
m.Set(field.NewDatedDate(v))
}
//SetInterestAccrualDate sets InterestAccrualDate, Tag 874
func (m NoMDEntries) SetInterestAccrualDate(v string) {
m.Set(field.NewInterestAccrualDate(v))
}
//SetSecurityStatus sets SecurityStatus, Tag 965
func (m NoMDEntries) SetSecurityStatus(v enum.SecurityStatus) {
m.Set(field.NewSecurityStatus(v))
}
//SetSettleOnOpenFlag sets SettleOnOpenFlag, Tag 966
func (m NoMDEntries) SetSettleOnOpenFlag(v string) {
m.Set(field.NewSettleOnOpenFlag(v))
}
//SetInstrmtAssignmentMethod sets InstrmtAssignmentMethod, Tag 1049
func (m NoMDEntries) SetInstrmtAssignmentMethod(v string) {
m.Set(field.NewInstrmtAssignmentMethod(v))
}
//SetStrikeMultiplier sets StrikeMultiplier, Tag 967
func (m NoMDEntries) SetStrikeMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikeMultiplier(value, scale))
}
//SetStrikeValue sets StrikeValue, Tag 968
func (m NoMDEntries) SetStrikeValue(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikeValue(value, scale))
}
//SetMinPriceIncrement sets MinPriceIncrement, Tag 969
func (m NoMDEntries) SetMinPriceIncrement(value decimal.Decimal, scale int32) {
m.Set(field.NewMinPriceIncrement(value, scale))
}
//SetPositionLimit sets PositionLimit, Tag 970
func (m NoMDEntries) SetPositionLimit(v int) {
m.Set(field.NewPositionLimit(v))
}
//SetNTPositionLimit sets NTPositionLimit, Tag 971
func (m NoMDEntries) SetNTPositionLimit(v int) {
m.Set(field.NewNTPositionLimit(v))
}
//SetNoInstrumentParties sets NoInstrumentParties, Tag 1018
func (m NoMDEntries) SetNoInstrumentParties(f NoInstrumentPartiesRepeatingGroup) {
m.SetGroup(f)
}
//SetUnitOfMeasure sets UnitOfMeasure, Tag 996
func (m NoMDEntries) SetUnitOfMeasure(v enum.UnitOfMeasure) {
m.Set(field.NewUnitOfMeasure(v))
}
//SetTimeUnit sets TimeUnit, Tag 997
func (m NoMDEntries) SetTimeUnit(v enum.TimeUnit) {
m.Set(field.NewTimeUnit(v))
}
//SetMaturityTime sets MaturityTime, Tag 1079
func (m NoMDEntries) SetMaturityTime(v string) {
m.Set(field.NewMaturityTime(v))
}
//SetNoUnderlyings sets NoUnderlyings, Tag 711
func (m NoMDEntries) SetNoUnderlyings(f NoUnderlyingsRepeatingGroup) {
m.SetGroup(f)
}
//SetNoLegs sets NoLegs, Tag 555
func (m NoMDEntries) SetNoLegs(f NoLegsRepeatingGroup) {
m.SetGroup(f)
}
//SetFinancialStatus sets FinancialStatus, Tag 291
func (m NoMDEntries) SetFinancialStatus(v enum.FinancialStatus) {
m.Set(field.NewFinancialStatus(v))
}
//SetCorporateAction sets CorporateAction, Tag 292
func (m NoMDEntries) SetCorporateAction(v enum.CorporateAction) {
m.Set(field.NewCorporateAction(v))
}
//SetMDEntryPx sets MDEntryPx, Tag 270
func (m NoMDEntries) SetMDEntryPx(value decimal.Decimal, scale int32) {
m.Set(field.NewMDEntryPx(value, scale))
}
//SetCurrency sets Currency, Tag 15
func (m NoMDEntries) SetCurrency(v string) {
m.Set(field.NewCurrency(v))
}
//SetMDEntrySize sets MDEntrySize, Tag 271
func (m NoMDEntries) SetMDEntrySize(value decimal.Decimal, scale int32) {
m.Set(field.NewMDEntrySize(value, scale))
}
//SetMDEntryDate sets MDEntryDate, Tag 272
func (m NoMDEntries) SetMDEntryDate(v string) {
m.Set(field.NewMDEntryDate(v))
}
//SetMDEntryTime sets MDEntryTime, Tag 273
func (m NoMDEntries) SetMDEntryTime(v string) {
m.Set(field.NewMDEntryTime(v))
}
//SetTickDirection sets TickDirection, Tag 274
func (m NoMDEntries) SetTickDirection(v enum.TickDirection) {
m.Set(field.NewTickDirection(v))
}
//SetMDMkt sets MDMkt, Tag 275
func (m NoMDEntries) SetMDMkt(v string) {
m.Set(field.NewMDMkt(v))
}
//SetTradingSessionID sets TradingSessionID, Tag 336
func (m NoMDEntries) SetTradingSessionID(v enum.TradingSessionID) {
m.Set(field.NewTradingSessionID(v))
}
//SetTradingSessionSubID sets TradingSessionSubID, Tag 625
func (m NoMDEntries) SetTradingSessionSubID(v enum.TradingSessionSubID) {
m.Set(field.NewTradingSessionSubID(v))
}
//SetQuoteCondition sets QuoteCondition, Tag 276
func (m NoMDEntries) SetQuoteCondition(v enum.QuoteCondition) {
m.Set(field.NewQuoteCondition(v))
}
//SetTradeCondition sets TradeCondition, Tag 277
func (m NoMDEntries) SetTradeCondition(v enum.TradeCondition) {
m.Set(field.NewTradeCondition(v))
}
//SetMDEntryOriginator sets MDEntryOriginator, Tag 282
func (m NoMDEntries) SetMDEntryOriginator(v string) {
m.Set(field.NewMDEntryOriginator(v))
}
//SetLocationID sets LocationID, Tag 283
func (m NoMDEntries) SetLocationID(v string) {
m.Set(field.NewLocationID(v))
}
//SetDeskID sets DeskID, Tag 284
func (m NoMDEntries) SetDeskID(v string) {
m.Set(field.NewDeskID(v))
}
//SetOpenCloseSettlFlag sets OpenCloseSettlFlag, Tag 286
func (m NoMDEntries) SetOpenCloseSettlFlag(v enum.OpenCloseSettlFlag) {
m.Set(field.NewOpenCloseSettlFlag(v))
}
//SetTimeInForce sets TimeInForce, Tag 59
func (m NoMDEntries) SetTimeInForce(v enum.TimeInForce) {
m.Set(field.NewTimeInForce(v))
}
//SetExpireDate sets ExpireDate, Tag 432
func (m NoMDEntries) SetExpireDate(v string) {
m.Set(field.NewExpireDate(v))
}
//SetExpireTime sets ExpireTime, Tag 126
func (m NoMDEntries) SetExpireTime(v time.Time) {
m.Set(field.NewExpireTime(v))
}
//SetMinQty sets MinQty, Tag 110
func (m NoMDEntries) SetMinQty(value decimal.Decimal, scale int32) {
m.Set(field.NewMinQty(value, scale))
}
//SetExecInst sets ExecInst, Tag 18
func (m NoMDEntries) SetExecInst(v enum.ExecInst) {
m.Set(field.NewExecInst(v))
}
//SetSellerDays sets SellerDays, Tag 287
func (m NoMDEntries) SetSellerDays(v int) {
m.Set(field.NewSellerDays(v))
}
//SetOrderID sets OrderID, Tag 37
func (m NoMDEntries) SetOrderID(v string) {
m.Set(field.NewOrderID(v))
}
//SetQuoteEntryID sets QuoteEntryID, Tag 299
func (m NoMDEntries) SetQuoteEntryID(v string) {
m.Set(field.NewQuoteEntryID(v))
}
//SetMDEntryBuyer sets MDEntryBuyer, Tag 288
func (m NoMDEntries) SetMDEntryBuyer(v string) {
m.Set(field.NewMDEntryBuyer(v))
}
//SetMDEntrySeller sets MDEntrySeller, Tag 289
func (m NoMDEntries) SetMDEntrySeller(v string) {
m.Set(field.NewMDEntrySeller(v))
}
//SetNumberOfOrders sets NumberOfOrders, Tag 346
func (m NoMDEntries) SetNumberOfOrders(v int) {
m.Set(field.NewNumberOfOrders(v))
}
//SetMDEntryPositionNo sets MDEntryPositionNo, Tag 290
func (m NoMDEntries) SetMDEntryPositionNo(v int) {
m.Set(field.NewMDEntryPositionNo(v))
}
//SetScope sets Scope, Tag 546
func (m NoMDEntries) SetScope(v enum.Scope) {
m.Set(field.NewScope(v))
}
//SetPriceDelta sets PriceDelta, Tag 811
func (m NoMDEntries) SetPriceDelta(value decimal.Decimal, scale int32) {
m.Set(field.NewPriceDelta(value, scale))
}
//SetNetChgPrevDay sets NetChgPrevDay, Tag 451
func (m NoMDEntries) SetNetChgPrevDay(value decimal.Decimal, scale int32) {
m.Set(field.NewNetChgPrevDay(value, scale))
}
//SetText sets Text, Tag 58
func (m NoMDEntries) SetText(v string) {
m.Set(field.NewText(v))
}
//SetEncodedTextLen sets EncodedTextLen, Tag 354
func (m NoMDEntries) SetEncodedTextLen(v int) {
m.Set(field.NewEncodedTextLen(v))
}
//SetEncodedText sets EncodedText, Tag 355
func (m NoMDEntries) SetEncodedText(v string) {
m.Set(field.NewEncodedText(v))
}
//SetOrderCapacity sets OrderCapacity, Tag 528
func (m NoMDEntries) SetOrderCapacity(v enum.OrderCapacity) {
m.Set(field.NewOrderCapacity(v))
}
//SetMDOriginType sets MDOriginType, Tag 1024
func (m NoMDEntries) SetMDOriginType(v enum.MDOriginType) {
m.Set(field.NewMDOriginType(v))
}
//SetHighPx sets HighPx, Tag 332
func (m NoMDEntries) SetHighPx(value decimal.Decimal, scale int32) {
m.Set(field.NewHighPx(value, scale))
}
//SetLowPx sets LowPx, Tag 333
func (m NoMDEntries) SetLowPx(value decimal.Decimal, scale int32) {
m.Set(field.NewLowPx(value, scale))
}
//SetTradeVolume sets TradeVolume, Tag 1020
func (m NoMDEntries) SetTradeVolume(value decimal.Decimal, scale int32) {
m.Set(field.NewTradeVolume(value, scale))
}
//SetSettlType sets SettlType, Tag 63
func (m NoMDEntries) SetSettlType(v enum.SettlType) {
m.Set(field.NewSettlType(v))
}
//SetSettlDate sets SettlDate, Tag 64
func (m NoMDEntries) SetSettlDate(v string) {
m.Set(field.NewSettlDate(v))
}
//SetMDQuoteType sets MDQuoteType, Tag 1070
func (m NoMDEntries) SetMDQuoteType(v enum.MDQuoteType) {
m.Set(field.NewMDQuoteType(v))
}
//SetRptSeq sets RptSeq, Tag 83
func (m NoMDEntries) SetRptSeq(v int) {
m.Set(field.NewRptSeq(v))
}
//SetDealingCapacity sets DealingCapacity, Tag 1048
func (m NoMDEntries) SetDealingCapacity(v enum.DealingCapacity) {
m.Set(field.NewDealingCapacity(v))
}
//SetMDEntrySpotRate sets MDEntrySpotRate, Tag 1026
func (m NoMDEntries) SetMDEntrySpotRate(value decimal.Decimal, scale int32) {
m.Set(field.NewMDEntrySpotRate(value, scale))
}
//SetMDEntryForwardPoints sets MDEntryForwardPoints, Tag 1027
func (m NoMDEntries) SetMDEntryForwardPoints(value decimal.Decimal, scale int32) {
m.Set(field.NewMDEntryForwardPoints(value, scale))
}
//SetMDPriceLevel sets MDPriceLevel, Tag 1023
func (m NoMDEntries) SetMDPriceLevel(v int) {
m.Set(field.NewMDPriceLevel(v))
}
//SetNoPartyIDs sets NoPartyIDs, Tag 453
func (m NoMDEntries) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
m.SetGroup(f)
}
//SetSecondaryOrderID sets SecondaryOrderID, Tag 198
func (m NoMDEntries) SetSecondaryOrderID(v string) {
m.Set(field.NewSecondaryOrderID(v))
}
//SetOrdType sets OrdType, Tag 40
func (m NoMDEntries) SetOrdType(v enum.OrdType) {
m.Set(field.NewOrdType(v))
}
//GetMDUpdateAction gets MDUpdateAction, Tag 279
func (m NoMDEntries) GetMDUpdateAction() (v enum.MDUpdateAction, err quickfix.MessageRejectError) {
var f field.MDUpdateActionField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetDeleteReason gets DeleteReason, Tag 285
func (m NoMDEntries) GetDeleteReason() (v enum.DeleteReason, err quickfix.MessageRejectError) {
var f field.DeleteReasonField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMDEntryType gets MDEntryType, Tag 269
func (m NoMDEntries) GetMDEntryType() (v enum.MDEntryType, err quickfix.MessageRejectError) {
var f field.MDEntryTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMDEntryID gets MDEntryID, Tag 278
func (m NoMDEntries) GetMDEntryID() (v string, err quickfix.MessageRejectError) {
var f field.MDEntryIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMDEntryRefID gets MDEntryRefID, Tag 280
func (m NoMDEntries) GetMDEntryRefID() (v string, err quickfix.MessageRejectError) {
var f field.MDEntryRefIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSymbol gets Symbol, Tag 55
func (m NoMDEntries) GetSymbol() (v string, err quickfix.MessageRejectError) {
var f field.SymbolField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSymbolSfx gets SymbolSfx, Tag 65
func (m NoMDEntries) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
var f field.SymbolSfxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityID gets SecurityID, Tag 48
func (m NoMDEntries) GetSecurityID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityIDSource gets SecurityIDSource, Tag 22
func (m NoMDEntries) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
var f field.SecurityIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoSecurityAltID gets NoSecurityAltID, Tag 454
func (m NoMDEntries) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoSecurityAltIDRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetProduct gets Product, Tag 460
func (m NoMDEntries) GetProduct() (v enum.Product, err quickfix.MessageRejectError) {
var f field.ProductField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetCFICode gets CFICode, Tag 461
func (m NoMDEntries) GetCFICode() (v string, err quickfix.MessageRejectError) {
var f field.CFICodeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityType gets SecurityType, Tag 167
func (m NoMDEntries) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
var f field.SecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecuritySubType gets SecuritySubType, Tag 762
func (m NoMDEntries) GetSecuritySubType() (v string, err quickfix.MessageRejectError) {
var f field.SecuritySubTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMaturityMonthYear gets MaturityMonthYear, Tag 200
func (m NoMDEntries) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
var f field.MaturityMonthYearField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMaturityDate gets MaturityDate, Tag 541
func (m NoMDEntries) GetMaturityDate() (v string, err quickfix.MessageRejectError) {
var f field.MaturityDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetCouponPaymentDate gets CouponPaymentDate, Tag 224
func (m NoMDEntries) GetCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
var f field.CouponPaymentDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetIssueDate gets IssueDate, Tag 225
func (m NoMDEntries) GetIssueDate() (v string, err quickfix.MessageRejectError) {
var f field.IssueDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239
func (m NoMDEntries) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {