forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NewOrderList.generated.go
3055 lines (2566 loc) · 88.2 KB
/
NewOrderList.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 neworderlist
import (
"github.com/shopspring/decimal"
"time"
"github.com/Boklazhenko/quickfix"
"github.com/Boklazhenko/quickfix/gen/enum"
"github.com/Boklazhenko/quickfix/gen/field"
"github.com/Boklazhenko/quickfix/gen/fix43"
"github.com/Boklazhenko/quickfix/gen/tag"
)
// NewOrderList is the fix43 NewOrderList type, MsgType = E.
type NewOrderList struct {
fix43.Header
*quickfix.Body
fix43.Trailer
Message *quickfix.Message
}
// FromMessage creates a NewOrderList from a quickfix.Message instance.
func FromMessage(m *quickfix.Message) NewOrderList {
return NewOrderList{
Header: fix43.Header{&m.Header},
Body: &m.Body,
Trailer: fix43.Trailer{&m.Trailer},
Message: m,
}
}
// ToMessage returns a quickfix.Message instance.
func (m NewOrderList) ToMessage() *quickfix.Message {
return m.Message
}
// New returns a NewOrderList initialized with the required fields for NewOrderList.
func New(listid field.ListIDField, bidtype field.BidTypeField, totnoorders field.TotNoOrdersField) (m NewOrderList) {
m.Message = quickfix.NewMessage()
m.Header = fix43.NewHeader(&m.Message.Header)
m.Body = &m.Message.Body
m.Trailer.Trailer = &m.Message.Trailer
m.Header.Set(field.NewMsgType("E"))
m.Set(listid)
m.Set(bidtype)
m.Set(totnoorders)
return
}
// A RouteOut is the callback type that should be implemented for routing Message.
type RouteOut func(msg NewOrderList, 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.3", "E", r
}
// SetListID sets ListID, Tag 66.
func (m NewOrderList) SetListID(v string) {
m.Set(field.NewListID(v))
}
// SetTotNoOrders sets TotNoOrders, Tag 68.
func (m NewOrderList) SetTotNoOrders(v int) {
m.Set(field.NewTotNoOrders(v))
}
// SetListExecInst sets ListExecInst, Tag 69.
func (m NewOrderList) SetListExecInst(v string) {
m.Set(field.NewListExecInst(v))
}
// SetNoOrders sets NoOrders, Tag 73.
func (m NewOrderList) SetNoOrders(f NoOrdersRepeatingGroup) {
m.SetGroup(f)
}
// SetEncodedListExecInstLen sets EncodedListExecInstLen, Tag 352.
func (m NewOrderList) SetEncodedListExecInstLen(v int) {
m.Set(field.NewEncodedListExecInstLen(v))
}
// SetEncodedListExecInst sets EncodedListExecInst, Tag 353.
func (m NewOrderList) SetEncodedListExecInst(v string) {
m.Set(field.NewEncodedListExecInst(v))
}
// SetBidID sets BidID, Tag 390.
func (m NewOrderList) SetBidID(v string) {
m.Set(field.NewBidID(v))
}
// SetClientBidID sets ClientBidID, Tag 391.
func (m NewOrderList) SetClientBidID(v string) {
m.Set(field.NewClientBidID(v))
}
// SetBidType sets BidType, Tag 394.
func (m NewOrderList) SetBidType(v enum.BidType) {
m.Set(field.NewBidType(v))
}
// SetProgRptReqs sets ProgRptReqs, Tag 414.
func (m NewOrderList) SetProgRptReqs(v enum.ProgRptReqs) {
m.Set(field.NewProgRptReqs(v))
}
// SetProgPeriodInterval sets ProgPeriodInterval, Tag 415.
func (m NewOrderList) SetProgPeriodInterval(v int) {
m.Set(field.NewProgPeriodInterval(v))
}
// SetListExecInstType sets ListExecInstType, Tag 433.
func (m NewOrderList) SetListExecInstType(v enum.ListExecInstType) {
m.Set(field.NewListExecInstType(v))
}
// SetCancellationRights sets CancellationRights, Tag 480.
func (m NewOrderList) SetCancellationRights(v enum.CancellationRights) {
m.Set(field.NewCancellationRights(v))
}
// SetMoneyLaunderingStatus sets MoneyLaunderingStatus, Tag 481.
func (m NewOrderList) SetMoneyLaunderingStatus(v enum.MoneyLaunderingStatus) {
m.Set(field.NewMoneyLaunderingStatus(v))
}
// SetRegistID sets RegistID, Tag 513.
func (m NewOrderList) SetRegistID(v string) {
m.Set(field.NewRegistID(v))
}
// GetListID gets ListID, Tag 66.
func (m NewOrderList) GetListID() (v string, err quickfix.MessageRejectError) {
var f field.ListIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetTotNoOrders gets TotNoOrders, Tag 68.
func (m NewOrderList) GetTotNoOrders() (v int, err quickfix.MessageRejectError) {
var f field.TotNoOrdersField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetListExecInst gets ListExecInst, Tag 69.
func (m NewOrderList) GetListExecInst() (v string, err quickfix.MessageRejectError) {
var f field.ListExecInstField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoOrders gets NoOrders, Tag 73.
func (m NewOrderList) GetNoOrders() (NoOrdersRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoOrdersRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// GetEncodedListExecInstLen gets EncodedListExecInstLen, Tag 352.
func (m NewOrderList) GetEncodedListExecInstLen() (v int, err quickfix.MessageRejectError) {
var f field.EncodedListExecInstLenField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetEncodedListExecInst gets EncodedListExecInst, Tag 353.
func (m NewOrderList) GetEncodedListExecInst() (v string, err quickfix.MessageRejectError) {
var f field.EncodedListExecInstField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetBidID gets BidID, Tag 390.
func (m NewOrderList) GetBidID() (v string, err quickfix.MessageRejectError) {
var f field.BidIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetClientBidID gets ClientBidID, Tag 391.
func (m NewOrderList) GetClientBidID() (v string, err quickfix.MessageRejectError) {
var f field.ClientBidIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetBidType gets BidType, Tag 394.
func (m NewOrderList) GetBidType() (v enum.BidType, err quickfix.MessageRejectError) {
var f field.BidTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetProgRptReqs gets ProgRptReqs, Tag 414.
func (m NewOrderList) GetProgRptReqs() (v enum.ProgRptReqs, err quickfix.MessageRejectError) {
var f field.ProgRptReqsField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetProgPeriodInterval gets ProgPeriodInterval, Tag 415.
func (m NewOrderList) GetProgPeriodInterval() (v int, err quickfix.MessageRejectError) {
var f field.ProgPeriodIntervalField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetListExecInstType gets ListExecInstType, Tag 433.
func (m NewOrderList) GetListExecInstType() (v enum.ListExecInstType, err quickfix.MessageRejectError) {
var f field.ListExecInstTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetCancellationRights gets CancellationRights, Tag 480.
func (m NewOrderList) GetCancellationRights() (v enum.CancellationRights, err quickfix.MessageRejectError) {
var f field.CancellationRightsField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetMoneyLaunderingStatus gets MoneyLaunderingStatus, Tag 481.
func (m NewOrderList) GetMoneyLaunderingStatus() (v enum.MoneyLaunderingStatus, err quickfix.MessageRejectError) {
var f field.MoneyLaunderingStatusField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetRegistID gets RegistID, Tag 513.
func (m NewOrderList) GetRegistID() (v string, err quickfix.MessageRejectError) {
var f field.RegistIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// HasListID returns true if ListID is present, Tag 66.
func (m NewOrderList) HasListID() bool {
return m.Has(tag.ListID)
}
// HasTotNoOrders returns true if TotNoOrders is present, Tag 68.
func (m NewOrderList) HasTotNoOrders() bool {
return m.Has(tag.TotNoOrders)
}
// HasListExecInst returns true if ListExecInst is present, Tag 69.
func (m NewOrderList) HasListExecInst() bool {
return m.Has(tag.ListExecInst)
}
// HasNoOrders returns true if NoOrders is present, Tag 73.
func (m NewOrderList) HasNoOrders() bool {
return m.Has(tag.NoOrders)
}
// HasEncodedListExecInstLen returns true if EncodedListExecInstLen is present, Tag 352.
func (m NewOrderList) HasEncodedListExecInstLen() bool {
return m.Has(tag.EncodedListExecInstLen)
}
// HasEncodedListExecInst returns true if EncodedListExecInst is present, Tag 353.
func (m NewOrderList) HasEncodedListExecInst() bool {
return m.Has(tag.EncodedListExecInst)
}
// HasBidID returns true if BidID is present, Tag 390.
func (m NewOrderList) HasBidID() bool {
return m.Has(tag.BidID)
}
// HasClientBidID returns true if ClientBidID is present, Tag 391.
func (m NewOrderList) HasClientBidID() bool {
return m.Has(tag.ClientBidID)
}
// HasBidType returns true if BidType is present, Tag 394.
func (m NewOrderList) HasBidType() bool {
return m.Has(tag.BidType)
}
// HasProgRptReqs returns true if ProgRptReqs is present, Tag 414.
func (m NewOrderList) HasProgRptReqs() bool {
return m.Has(tag.ProgRptReqs)
}
// HasProgPeriodInterval returns true if ProgPeriodInterval is present, Tag 415.
func (m NewOrderList) HasProgPeriodInterval() bool {
return m.Has(tag.ProgPeriodInterval)
}
// HasListExecInstType returns true if ListExecInstType is present, Tag 433.
func (m NewOrderList) HasListExecInstType() bool {
return m.Has(tag.ListExecInstType)
}
// HasCancellationRights returns true if CancellationRights is present, Tag 480.
func (m NewOrderList) HasCancellationRights() bool {
return m.Has(tag.CancellationRights)
}
// HasMoneyLaunderingStatus returns true if MoneyLaunderingStatus is present, Tag 481.
func (m NewOrderList) HasMoneyLaunderingStatus() bool {
return m.Has(tag.MoneyLaunderingStatus)
}
// HasRegistID returns true if RegistID is present, Tag 513.
func (m NewOrderList) HasRegistID() bool {
return m.Has(tag.RegistID)
}
// NoOrders is a repeating group element, Tag 73.
type NoOrders struct {
*quickfix.Group
}
// SetClOrdID sets ClOrdID, Tag 11.
func (m NoOrders) SetClOrdID(v string) {
m.Set(field.NewClOrdID(v))
}
// SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.
func (m NoOrders) SetSecondaryClOrdID(v string) {
m.Set(field.NewSecondaryClOrdID(v))
}
// SetListSeqNo sets ListSeqNo, Tag 67.
func (m NoOrders) SetListSeqNo(v int) {
m.Set(field.NewListSeqNo(v))
}
// SetClOrdLinkID sets ClOrdLinkID, Tag 583.
func (m NoOrders) SetClOrdLinkID(v string) {
m.Set(field.NewClOrdLinkID(v))
}
// SetSettlInstMode sets SettlInstMode, Tag 160.
func (m NoOrders) SetSettlInstMode(v enum.SettlInstMode) {
m.Set(field.NewSettlInstMode(v))
}
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
func (m NoOrders) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
m.SetGroup(f)
}
// SetTradeOriginationDate sets TradeOriginationDate, Tag 229.
func (m NoOrders) SetTradeOriginationDate(v string) {
m.Set(field.NewTradeOriginationDate(v))
}
// SetAccount sets Account, Tag 1.
func (m NoOrders) SetAccount(v string) {
m.Set(field.NewAccount(v))
}
// SetAccountType sets AccountType, Tag 581.
func (m NoOrders) SetAccountType(v enum.AccountType) {
m.Set(field.NewAccountType(v))
}
// SetDayBookingInst sets DayBookingInst, Tag 589.
func (m NoOrders) SetDayBookingInst(v enum.DayBookingInst) {
m.Set(field.NewDayBookingInst(v))
}
// SetBookingUnit sets BookingUnit, Tag 590.
func (m NoOrders) SetBookingUnit(v enum.BookingUnit) {
m.Set(field.NewBookingUnit(v))
}
// SetPreallocMethod sets PreallocMethod, Tag 591.
func (m NoOrders) SetPreallocMethod(v enum.PreallocMethod) {
m.Set(field.NewPreallocMethod(v))
}
// SetNoAllocs sets NoAllocs, Tag 78.
func (m NoOrders) SetNoAllocs(f NoAllocsRepeatingGroup) {
m.SetGroup(f)
}
// SetSettlmntTyp sets SettlmntTyp, Tag 63.
func (m NoOrders) SetSettlmntTyp(v enum.SettlmntTyp) {
m.Set(field.NewSettlmntTyp(v))
}
// SetFutSettDate sets FutSettDate, Tag 64.
func (m NoOrders) SetFutSettDate(v string) {
m.Set(field.NewFutSettDate(v))
}
// SetCashMargin sets CashMargin, Tag 544.
func (m NoOrders) SetCashMargin(v enum.CashMargin) {
m.Set(field.NewCashMargin(v))
}
// SetClearingFeeIndicator sets ClearingFeeIndicator, Tag 635.
func (m NoOrders) SetClearingFeeIndicator(v enum.ClearingFeeIndicator) {
m.Set(field.NewClearingFeeIndicator(v))
}
// SetHandlInst sets HandlInst, Tag 21.
func (m NoOrders) SetHandlInst(v enum.HandlInst) {
m.Set(field.NewHandlInst(v))
}
// SetExecInst sets ExecInst, Tag 18.
func (m NoOrders) SetExecInst(v enum.ExecInst) {
m.Set(field.NewExecInst(v))
}
// SetMinQty sets MinQty, Tag 110.
func (m NoOrders) SetMinQty(value decimal.Decimal, scale int32) {
m.Set(field.NewMinQty(value, scale))
}
// SetMaxFloor sets MaxFloor, Tag 111.
func (m NoOrders) SetMaxFloor(value decimal.Decimal, scale int32) {
m.Set(field.NewMaxFloor(value, scale))
}
// SetExDestination sets ExDestination, Tag 100.
func (m NoOrders) SetExDestination(v enum.ExDestination) {
m.Set(field.NewExDestination(v))
}
// SetNoTradingSessions sets NoTradingSessions, Tag 386.
func (m NoOrders) SetNoTradingSessions(f NoTradingSessionsRepeatingGroup) {
m.SetGroup(f)
}
// SetProcessCode sets ProcessCode, Tag 81.
func (m NoOrders) SetProcessCode(v enum.ProcessCode) {
m.Set(field.NewProcessCode(v))
}
// SetSymbol sets Symbol, Tag 55.
func (m NoOrders) SetSymbol(v string) {
m.Set(field.NewSymbol(v))
}
// SetSymbolSfx sets SymbolSfx, Tag 65.
func (m NoOrders) SetSymbolSfx(v enum.SymbolSfx) {
m.Set(field.NewSymbolSfx(v))
}
// SetSecurityID sets SecurityID, Tag 48.
func (m NoOrders) SetSecurityID(v string) {
m.Set(field.NewSecurityID(v))
}
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
func (m NoOrders) SetSecurityIDSource(v enum.SecurityIDSource) {
m.Set(field.NewSecurityIDSource(v))
}
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
func (m NoOrders) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
// SetProduct sets Product, Tag 460.
func (m NoOrders) SetProduct(v enum.Product) {
m.Set(field.NewProduct(v))
}
// SetCFICode sets CFICode, Tag 461.
func (m NoOrders) SetCFICode(v string) {
m.Set(field.NewCFICode(v))
}
// SetSecurityType sets SecurityType, Tag 167.
func (m NoOrders) SetSecurityType(v enum.SecurityType) {
m.Set(field.NewSecurityType(v))
}
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
func (m NoOrders) SetMaturityMonthYear(v string) {
m.Set(field.NewMaturityMonthYear(v))
}
// SetMaturityDate sets MaturityDate, Tag 541.
func (m NoOrders) SetMaturityDate(v string) {
m.Set(field.NewMaturityDate(v))
}
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
func (m NoOrders) SetCouponPaymentDate(v string) {
m.Set(field.NewCouponPaymentDate(v))
}
// SetIssueDate sets IssueDate, Tag 225.
func (m NoOrders) SetIssueDate(v string) {
m.Set(field.NewIssueDate(v))
}
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
func (m NoOrders) SetRepoCollateralSecurityType(v int) {
m.Set(field.NewRepoCollateralSecurityType(v))
}
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
func (m NoOrders) SetRepurchaseTerm(v int) {
m.Set(field.NewRepurchaseTerm(v))
}
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
func (m NoOrders) SetRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewRepurchaseRate(value, scale))
}
// SetFactor sets Factor, Tag 228.
func (m NoOrders) SetFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewFactor(value, scale))
}
// SetCreditRating sets CreditRating, Tag 255.
func (m NoOrders) SetCreditRating(v string) {
m.Set(field.NewCreditRating(v))
}
// SetInstrRegistry sets InstrRegistry, Tag 543.
func (m NoOrders) SetInstrRegistry(v enum.InstrRegistry) {
m.Set(field.NewInstrRegistry(v))
}
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
func (m NoOrders) SetCountryOfIssue(v string) {
m.Set(field.NewCountryOfIssue(v))
}
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
func (m NoOrders) SetStateOrProvinceOfIssue(v string) {
m.Set(field.NewStateOrProvinceOfIssue(v))
}
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
func (m NoOrders) SetLocaleOfIssue(v string) {
m.Set(field.NewLocaleOfIssue(v))
}
// SetRedemptionDate sets RedemptionDate, Tag 240.
func (m NoOrders) SetRedemptionDate(v string) {
m.Set(field.NewRedemptionDate(v))
}
// SetStrikePrice sets StrikePrice, Tag 202.
func (m NoOrders) SetStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikePrice(value, scale))
}
// SetOptAttribute sets OptAttribute, Tag 206.
func (m NoOrders) SetOptAttribute(v string) {
m.Set(field.NewOptAttribute(v))
}
// SetContractMultiplier sets ContractMultiplier, Tag 231.
func (m NoOrders) SetContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewContractMultiplier(value, scale))
}
// SetCouponRate sets CouponRate, Tag 223.
func (m NoOrders) SetCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewCouponRate(value, scale))
}
// SetSecurityExchange sets SecurityExchange, Tag 207.
func (m NoOrders) SetSecurityExchange(v string) {
m.Set(field.NewSecurityExchange(v))
}
// SetIssuer sets Issuer, Tag 106.
func (m NoOrders) SetIssuer(v string) {
m.Set(field.NewIssuer(v))
}
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
func (m NoOrders) SetEncodedIssuerLen(v int) {
m.Set(field.NewEncodedIssuerLen(v))
}
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
func (m NoOrders) SetEncodedIssuer(v string) {
m.Set(field.NewEncodedIssuer(v))
}
// SetSecurityDesc sets SecurityDesc, Tag 107.
func (m NoOrders) SetSecurityDesc(v string) {
m.Set(field.NewSecurityDesc(v))
}
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
func (m NoOrders) SetEncodedSecurityDescLen(v int) {
m.Set(field.NewEncodedSecurityDescLen(v))
}
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
func (m NoOrders) SetEncodedSecurityDesc(v string) {
m.Set(field.NewEncodedSecurityDesc(v))
}
// SetPrevClosePx sets PrevClosePx, Tag 140.
func (m NoOrders) SetPrevClosePx(value decimal.Decimal, scale int32) {
m.Set(field.NewPrevClosePx(value, scale))
}
// SetSide sets Side, Tag 54.
func (m NoOrders) SetSide(v enum.Side) {
m.Set(field.NewSide(v))
}
// SetSideValueInd sets SideValueInd, Tag 401.
func (m NoOrders) SetSideValueInd(v enum.SideValueInd) {
m.Set(field.NewSideValueInd(v))
}
// SetLocateReqd sets LocateReqd, Tag 114.
func (m NoOrders) SetLocateReqd(v bool) {
m.Set(field.NewLocateReqd(v))
}
// SetTransactTime sets TransactTime, Tag 60.
func (m NoOrders) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
// SetNoStipulations sets NoStipulations, Tag 232.
func (m NoOrders) SetNoStipulations(f NoStipulationsRepeatingGroup) {
m.SetGroup(f)
}
// SetQuantityType sets QuantityType, Tag 465.
func (m NoOrders) SetQuantityType(v enum.QuantityType) {
m.Set(field.NewQuantityType(v))
}
// SetOrderQty sets OrderQty, Tag 38.
func (m NoOrders) SetOrderQty(value decimal.Decimal, scale int32) {
m.Set(field.NewOrderQty(value, scale))
}
// SetCashOrderQty sets CashOrderQty, Tag 152.
func (m NoOrders) SetCashOrderQty(value decimal.Decimal, scale int32) {
m.Set(field.NewCashOrderQty(value, scale))
}
// SetOrderPercent sets OrderPercent, Tag 516.
func (m NoOrders) SetOrderPercent(value decimal.Decimal, scale int32) {
m.Set(field.NewOrderPercent(value, scale))
}
// SetRoundingDirection sets RoundingDirection, Tag 468.
func (m NoOrders) SetRoundingDirection(v enum.RoundingDirection) {
m.Set(field.NewRoundingDirection(v))
}
// SetRoundingModulus sets RoundingModulus, Tag 469.
func (m NoOrders) SetRoundingModulus(value decimal.Decimal, scale int32) {
m.Set(field.NewRoundingModulus(value, scale))
}
// SetOrdType sets OrdType, Tag 40.
func (m NoOrders) SetOrdType(v enum.OrdType) {
m.Set(field.NewOrdType(v))
}
// SetPriceType sets PriceType, Tag 423.
func (m NoOrders) SetPriceType(v enum.PriceType) {
m.Set(field.NewPriceType(v))
}
// SetPrice sets Price, Tag 44.
func (m NoOrders) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
// SetStopPx sets StopPx, Tag 99.
func (m NoOrders) SetStopPx(value decimal.Decimal, scale int32) {
m.Set(field.NewStopPx(value, scale))
}
// SetSpread sets Spread, Tag 218.
func (m NoOrders) SetSpread(value decimal.Decimal, scale int32) {
m.Set(field.NewSpread(value, scale))
}
// SetBenchmarkCurveCurrency sets BenchmarkCurveCurrency, Tag 220.
func (m NoOrders) SetBenchmarkCurveCurrency(v string) {
m.Set(field.NewBenchmarkCurveCurrency(v))
}
// SetBenchmarkCurveName sets BenchmarkCurveName, Tag 221.
func (m NoOrders) SetBenchmarkCurveName(v enum.BenchmarkCurveName) {
m.Set(field.NewBenchmarkCurveName(v))
}
// SetBenchmarkCurvePoint sets BenchmarkCurvePoint, Tag 222.
func (m NoOrders) SetBenchmarkCurvePoint(v string) {
m.Set(field.NewBenchmarkCurvePoint(v))
}
// SetYieldType sets YieldType, Tag 235.
func (m NoOrders) SetYieldType(v enum.YieldType) {
m.Set(field.NewYieldType(v))
}
// SetYield sets Yield, Tag 236.
func (m NoOrders) SetYield(value decimal.Decimal, scale int32) {
m.Set(field.NewYield(value, scale))
}
// SetCurrency sets Currency, Tag 15.
func (m NoOrders) SetCurrency(v string) {
m.Set(field.NewCurrency(v))
}
// SetComplianceID sets ComplianceID, Tag 376.
func (m NoOrders) SetComplianceID(v string) {
m.Set(field.NewComplianceID(v))
}
// SetSolicitedFlag sets SolicitedFlag, Tag 377.
func (m NoOrders) SetSolicitedFlag(v bool) {
m.Set(field.NewSolicitedFlag(v))
}
// SetIOIid sets IOIid, Tag 23.
func (m NoOrders) SetIOIid(v string) {
m.Set(field.NewIOIid(v))
}
// SetQuoteID sets QuoteID, Tag 117.
func (m NoOrders) SetQuoteID(v string) {
m.Set(field.NewQuoteID(v))
}
// SetTimeInForce sets TimeInForce, Tag 59.
func (m NoOrders) SetTimeInForce(v enum.TimeInForce) {
m.Set(field.NewTimeInForce(v))
}
// SetEffectiveTime sets EffectiveTime, Tag 168.
func (m NoOrders) SetEffectiveTime(v time.Time) {
m.Set(field.NewEffectiveTime(v))
}
// SetExpireDate sets ExpireDate, Tag 432.
func (m NoOrders) SetExpireDate(v string) {
m.Set(field.NewExpireDate(v))
}
// SetExpireTime sets ExpireTime, Tag 126.
func (m NoOrders) SetExpireTime(v time.Time) {
m.Set(field.NewExpireTime(v))
}
// SetGTBookingInst sets GTBookingInst, Tag 427.
func (m NoOrders) SetGTBookingInst(v enum.GTBookingInst) {
m.Set(field.NewGTBookingInst(v))
}
// SetCommission sets Commission, Tag 12.
func (m NoOrders) SetCommission(value decimal.Decimal, scale int32) {
m.Set(field.NewCommission(value, scale))
}
// SetCommType sets CommType, Tag 13.
func (m NoOrders) SetCommType(v enum.CommType) {
m.Set(field.NewCommType(v))
}
// SetCommCurrency sets CommCurrency, Tag 479.
func (m NoOrders) SetCommCurrency(v string) {
m.Set(field.NewCommCurrency(v))
}
// SetFundRenewWaiv sets FundRenewWaiv, Tag 497.
func (m NoOrders) SetFundRenewWaiv(v enum.FundRenewWaiv) {
m.Set(field.NewFundRenewWaiv(v))
}
// SetOrderCapacity sets OrderCapacity, Tag 528.
func (m NoOrders) SetOrderCapacity(v enum.OrderCapacity) {
m.Set(field.NewOrderCapacity(v))
}
// SetOrderRestrictions sets OrderRestrictions, Tag 529.
func (m NoOrders) SetOrderRestrictions(v enum.OrderRestrictions) {
m.Set(field.NewOrderRestrictions(v))
}
// SetCustOrderCapacity sets CustOrderCapacity, Tag 582.
func (m NoOrders) SetCustOrderCapacity(v enum.CustOrderCapacity) {
m.Set(field.NewCustOrderCapacity(v))
}
// SetRule80A sets Rule80A, Tag 47.
func (m NoOrders) SetRule80A(v enum.Rule80A) {
m.Set(field.NewRule80A(v))
}
// SetForexReq sets ForexReq, Tag 121.
func (m NoOrders) SetForexReq(v bool) {
m.Set(field.NewForexReq(v))
}
// SetSettlCurrency sets SettlCurrency, Tag 120.
func (m NoOrders) SetSettlCurrency(v string) {
m.Set(field.NewSettlCurrency(v))
}
// SetText sets Text, Tag 58.
func (m NoOrders) SetText(v string) {
m.Set(field.NewText(v))
}
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
func (m NoOrders) SetEncodedTextLen(v int) {
m.Set(field.NewEncodedTextLen(v))
}
// SetEncodedText sets EncodedText, Tag 355.
func (m NoOrders) SetEncodedText(v string) {
m.Set(field.NewEncodedText(v))
}
// SetFutSettDate2 sets FutSettDate2, Tag 193.
func (m NoOrders) SetFutSettDate2(v string) {
m.Set(field.NewFutSettDate2(v))
}
// SetOrderQty2 sets OrderQty2, Tag 192.
func (m NoOrders) SetOrderQty2(value decimal.Decimal, scale int32) {
m.Set(field.NewOrderQty2(value, scale))
}
// SetPrice2 sets Price2, Tag 640.
func (m NoOrders) SetPrice2(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice2(value, scale))
}
// SetPositionEffect sets PositionEffect, Tag 77.
func (m NoOrders) SetPositionEffect(v enum.PositionEffect) {
m.Set(field.NewPositionEffect(v))
}
// SetCoveredOrUncovered sets CoveredOrUncovered, Tag 203.
func (m NoOrders) SetCoveredOrUncovered(v enum.CoveredOrUncovered) {
m.Set(field.NewCoveredOrUncovered(v))
}
// SetMaxShow sets MaxShow, Tag 210.
func (m NoOrders) SetMaxShow(value decimal.Decimal, scale int32) {
m.Set(field.NewMaxShow(value, scale))
}
// SetPegDifference sets PegDifference, Tag 211.
func (m NoOrders) SetPegDifference(value decimal.Decimal, scale int32) {
m.Set(field.NewPegDifference(value, scale))
}
// SetDiscretionInst sets DiscretionInst, Tag 388.
func (m NoOrders) SetDiscretionInst(v enum.DiscretionInst) {
m.Set(field.NewDiscretionInst(v))
}
// SetDiscretionOffset sets DiscretionOffset, Tag 389.
func (m NoOrders) SetDiscretionOffset(value decimal.Decimal, scale int32) {
m.Set(field.NewDiscretionOffset(value, scale))
}
// SetDesignation sets Designation, Tag 494.
func (m NoOrders) SetDesignation(v string) {
m.Set(field.NewDesignation(v))
}
// SetAccruedInterestRate sets AccruedInterestRate, Tag 158.
func (m NoOrders) SetAccruedInterestRate(value decimal.Decimal, scale int32) {
m.Set(field.NewAccruedInterestRate(value, scale))
}
// SetAccruedInterestAmt sets AccruedInterestAmt, Tag 159.
func (m NoOrders) SetAccruedInterestAmt(value decimal.Decimal, scale int32) {
m.Set(field.NewAccruedInterestAmt(value, scale))
}
// SetNetMoney sets NetMoney, Tag 118.
func (m NoOrders) SetNetMoney(value decimal.Decimal, scale int32) {
m.Set(field.NewNetMoney(value, scale))
}
// GetClOrdID gets ClOrdID, Tag 11.
func (m NoOrders) GetClOrdID() (v string, err quickfix.MessageRejectError) {
var f field.ClOrdIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.
func (m NoOrders) GetSecondaryClOrdID() (v string, err quickfix.MessageRejectError) {
var f field.SecondaryClOrdIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetListSeqNo gets ListSeqNo, Tag 67.
func (m NoOrders) GetListSeqNo() (v int, err quickfix.MessageRejectError) {
var f field.ListSeqNoField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetClOrdLinkID gets ClOrdLinkID, Tag 583.
func (m NoOrders) GetClOrdLinkID() (v string, err quickfix.MessageRejectError) {
var f field.ClOrdLinkIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetSettlInstMode gets SettlInstMode, Tag 160.
func (m NoOrders) GetSettlInstMode() (v enum.SettlInstMode, err quickfix.MessageRejectError) {
var f field.SettlInstModeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
func (m NoOrders) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoPartyIDsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
// GetTradeOriginationDate gets TradeOriginationDate, Tag 229.
func (m NoOrders) GetTradeOriginationDate() (v string, err quickfix.MessageRejectError) {
var f field.TradeOriginationDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetAccount gets Account, Tag 1.
func (m NoOrders) GetAccount() (v string, err quickfix.MessageRejectError) {
var f field.AccountField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
// GetAccountType gets AccountType, Tag 581.
func (m NoOrders) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
var f field.AccountTypeField
if err = m.Get(&f); err == nil {
v = f.Value()