forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NewOrderCross.generated.go
2792 lines (2345 loc) · 78.5 KB
/
NewOrderCross.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 newordercross
import (
"github.com/shopspring/decimal"
"time"
"github.com/quickfixgo/quickfix"
"github.com/quickfixgo/quickfix/enum"
"github.com/quickfixgo/quickfix/field"
"github.com/quickfixgo/quickfix/fix43"
"github.com/quickfixgo/quickfix/tag"
)
//NewOrderCross is the fix43 NewOrderCross type, MsgType = s
type NewOrderCross struct {
fix43.Header
*quickfix.Body
fix43.Trailer
Message *quickfix.Message
}
//FromMessage creates a NewOrderCross from a quickfix.Message instance
func FromMessage(m *quickfix.Message) NewOrderCross {
return NewOrderCross{
Header: fix43.Header{&m.Header},
Body: &m.Body,
Trailer: fix43.Trailer{&m.Trailer},
Message: m,
}
}
//ToMessage returns a quickfix.Message instance
func (m NewOrderCross) ToMessage() *quickfix.Message {
return m.Message
}
//New returns a NewOrderCross initialized with the required fields for NewOrderCross
func New(crossid field.CrossIDField, crosstype field.CrossTypeField, crossprioritization field.CrossPrioritizationField, handlinst field.HandlInstField, transacttime field.TransactTimeField, ordtype field.OrdTypeField) (m NewOrderCross) {
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("s"))
m.Set(crossid)
m.Set(crosstype)
m.Set(crossprioritization)
m.Set(handlinst)
m.Set(transacttime)
m.Set(ordtype)
return
}
//A RouteOut is the callback type that should be implemented for routing Message
type RouteOut func(msg NewOrderCross, 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", "s", r
}
//SetCurrency sets Currency, Tag 15
func (m NewOrderCross) SetCurrency(v string) {
m.Set(field.NewCurrency(v))
}
//SetExecInst sets ExecInst, Tag 18
func (m NewOrderCross) SetExecInst(v enum.ExecInst) {
m.Set(field.NewExecInst(v))
}
//SetHandlInst sets HandlInst, Tag 21
func (m NewOrderCross) SetHandlInst(v enum.HandlInst) {
m.Set(field.NewHandlInst(v))
}
//SetSecurityIDSource sets SecurityIDSource, Tag 22
func (m NewOrderCross) SetSecurityIDSource(v enum.SecurityIDSource) {
m.Set(field.NewSecurityIDSource(v))
}
//SetIOIid sets IOIid, Tag 23
func (m NewOrderCross) SetIOIid(v string) {
m.Set(field.NewIOIid(v))
}
//SetOrdType sets OrdType, Tag 40
func (m NewOrderCross) SetOrdType(v enum.OrdType) {
m.Set(field.NewOrdType(v))
}
//SetPrice sets Price, Tag 44
func (m NewOrderCross) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
//SetSecurityID sets SecurityID, Tag 48
func (m NewOrderCross) SetSecurityID(v string) {
m.Set(field.NewSecurityID(v))
}
//SetSymbol sets Symbol, Tag 55
func (m NewOrderCross) SetSymbol(v string) {
m.Set(field.NewSymbol(v))
}
//SetTimeInForce sets TimeInForce, Tag 59
func (m NewOrderCross) SetTimeInForce(v enum.TimeInForce) {
m.Set(field.NewTimeInForce(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m NewOrderCross) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
//SetSettlmntTyp sets SettlmntTyp, Tag 63
func (m NewOrderCross) SetSettlmntTyp(v enum.SettlmntTyp) {
m.Set(field.NewSettlmntTyp(v))
}
//SetFutSettDate sets FutSettDate, Tag 64
func (m NewOrderCross) SetFutSettDate(v string) {
m.Set(field.NewFutSettDate(v))
}
//SetSymbolSfx sets SymbolSfx, Tag 65
func (m NewOrderCross) SetSymbolSfx(v enum.SymbolSfx) {
m.Set(field.NewSymbolSfx(v))
}
//SetProcessCode sets ProcessCode, Tag 81
func (m NewOrderCross) SetProcessCode(v enum.ProcessCode) {
m.Set(field.NewProcessCode(v))
}
//SetStopPx sets StopPx, Tag 99
func (m NewOrderCross) SetStopPx(value decimal.Decimal, scale int32) {
m.Set(field.NewStopPx(value, scale))
}
//SetExDestination sets ExDestination, Tag 100
func (m NewOrderCross) SetExDestination(v enum.ExDestination) {
m.Set(field.NewExDestination(v))
}
//SetIssuer sets Issuer, Tag 106
func (m NewOrderCross) SetIssuer(v string) {
m.Set(field.NewIssuer(v))
}
//SetSecurityDesc sets SecurityDesc, Tag 107
func (m NewOrderCross) SetSecurityDesc(v string) {
m.Set(field.NewSecurityDesc(v))
}
//SetMinQty sets MinQty, Tag 110
func (m NewOrderCross) SetMinQty(value decimal.Decimal, scale int32) {
m.Set(field.NewMinQty(value, scale))
}
//SetMaxFloor sets MaxFloor, Tag 111
func (m NewOrderCross) SetMaxFloor(value decimal.Decimal, scale int32) {
m.Set(field.NewMaxFloor(value, scale))
}
//SetLocateReqd sets LocateReqd, Tag 114
func (m NewOrderCross) SetLocateReqd(v bool) {
m.Set(field.NewLocateReqd(v))
}
//SetQuoteID sets QuoteID, Tag 117
func (m NewOrderCross) SetQuoteID(v string) {
m.Set(field.NewQuoteID(v))
}
//SetNetMoney sets NetMoney, Tag 118
func (m NewOrderCross) SetNetMoney(value decimal.Decimal, scale int32) {
m.Set(field.NewNetMoney(value, scale))
}
//SetExpireTime sets ExpireTime, Tag 126
func (m NewOrderCross) SetExpireTime(v time.Time) {
m.Set(field.NewExpireTime(v))
}
//SetPrevClosePx sets PrevClosePx, Tag 140
func (m NewOrderCross) SetPrevClosePx(value decimal.Decimal, scale int32) {
m.Set(field.NewPrevClosePx(value, scale))
}
//SetAccruedInterestRate sets AccruedInterestRate, Tag 158
func (m NewOrderCross) SetAccruedInterestRate(value decimal.Decimal, scale int32) {
m.Set(field.NewAccruedInterestRate(value, scale))
}
//SetAccruedInterestAmt sets AccruedInterestAmt, Tag 159
func (m NewOrderCross) SetAccruedInterestAmt(value decimal.Decimal, scale int32) {
m.Set(field.NewAccruedInterestAmt(value, scale))
}
//SetSecurityType sets SecurityType, Tag 167
func (m NewOrderCross) SetSecurityType(v enum.SecurityType) {
m.Set(field.NewSecurityType(v))
}
//SetEffectiveTime sets EffectiveTime, Tag 168
func (m NewOrderCross) SetEffectiveTime(v time.Time) {
m.Set(field.NewEffectiveTime(v))
}
//SetMaturityMonthYear sets MaturityMonthYear, Tag 200
func (m NewOrderCross) SetMaturityMonthYear(v string) {
m.Set(field.NewMaturityMonthYear(v))
}
//SetStrikePrice sets StrikePrice, Tag 202
func (m NewOrderCross) SetStrikePrice(value decimal.Decimal, scale int32) {
m.Set(field.NewStrikePrice(value, scale))
}
//SetOptAttribute sets OptAttribute, Tag 206
func (m NewOrderCross) SetOptAttribute(v string) {
m.Set(field.NewOptAttribute(v))
}
//SetSecurityExchange sets SecurityExchange, Tag 207
func (m NewOrderCross) SetSecurityExchange(v string) {
m.Set(field.NewSecurityExchange(v))
}
//SetMaxShow sets MaxShow, Tag 210
func (m NewOrderCross) SetMaxShow(value decimal.Decimal, scale int32) {
m.Set(field.NewMaxShow(value, scale))
}
//SetPegDifference sets PegDifference, Tag 211
func (m NewOrderCross) SetPegDifference(value decimal.Decimal, scale int32) {
m.Set(field.NewPegDifference(value, scale))
}
//SetSpread sets Spread, Tag 218
func (m NewOrderCross) SetSpread(value decimal.Decimal, scale int32) {
m.Set(field.NewSpread(value, scale))
}
//SetBenchmarkCurveCurrency sets BenchmarkCurveCurrency, Tag 220
func (m NewOrderCross) SetBenchmarkCurveCurrency(v string) {
m.Set(field.NewBenchmarkCurveCurrency(v))
}
//SetBenchmarkCurveName sets BenchmarkCurveName, Tag 221
func (m NewOrderCross) SetBenchmarkCurveName(v enum.BenchmarkCurveName) {
m.Set(field.NewBenchmarkCurveName(v))
}
//SetBenchmarkCurvePoint sets BenchmarkCurvePoint, Tag 222
func (m NewOrderCross) SetBenchmarkCurvePoint(v string) {
m.Set(field.NewBenchmarkCurvePoint(v))
}
//SetCouponRate sets CouponRate, Tag 223
func (m NewOrderCross) SetCouponRate(value decimal.Decimal, scale int32) {
m.Set(field.NewCouponRate(value, scale))
}
//SetCouponPaymentDate sets CouponPaymentDate, Tag 224
func (m NewOrderCross) SetCouponPaymentDate(v string) {
m.Set(field.NewCouponPaymentDate(v))
}
//SetIssueDate sets IssueDate, Tag 225
func (m NewOrderCross) SetIssueDate(v string) {
m.Set(field.NewIssueDate(v))
}
//SetRepurchaseTerm sets RepurchaseTerm, Tag 226
func (m NewOrderCross) SetRepurchaseTerm(v int) {
m.Set(field.NewRepurchaseTerm(v))
}
//SetRepurchaseRate sets RepurchaseRate, Tag 227
func (m NewOrderCross) SetRepurchaseRate(value decimal.Decimal, scale int32) {
m.Set(field.NewRepurchaseRate(value, scale))
}
//SetFactor sets Factor, Tag 228
func (m NewOrderCross) SetFactor(value decimal.Decimal, scale int32) {
m.Set(field.NewFactor(value, scale))
}
//SetContractMultiplier sets ContractMultiplier, Tag 231
func (m NewOrderCross) SetContractMultiplier(value decimal.Decimal, scale int32) {
m.Set(field.NewContractMultiplier(value, scale))
}
//SetNoStipulations sets NoStipulations, Tag 232
func (m NewOrderCross) SetNoStipulations(f NoStipulationsRepeatingGroup) {
m.SetGroup(f)
}
//SetYieldType sets YieldType, Tag 235
func (m NewOrderCross) SetYieldType(v enum.YieldType) {
m.Set(field.NewYieldType(v))
}
//SetYield sets Yield, Tag 236
func (m NewOrderCross) SetYield(value decimal.Decimal, scale int32) {
m.Set(field.NewYield(value, scale))
}
//SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239
func (m NewOrderCross) SetRepoCollateralSecurityType(v int) {
m.Set(field.NewRepoCollateralSecurityType(v))
}
//SetRedemptionDate sets RedemptionDate, Tag 240
func (m NewOrderCross) SetRedemptionDate(v string) {
m.Set(field.NewRedemptionDate(v))
}
//SetCreditRating sets CreditRating, Tag 255
func (m NewOrderCross) SetCreditRating(v string) {
m.Set(field.NewCreditRating(v))
}
//SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348
func (m NewOrderCross) SetEncodedIssuerLen(v int) {
m.Set(field.NewEncodedIssuerLen(v))
}
//SetEncodedIssuer sets EncodedIssuer, Tag 349
func (m NewOrderCross) SetEncodedIssuer(v string) {
m.Set(field.NewEncodedIssuer(v))
}
//SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350
func (m NewOrderCross) SetEncodedSecurityDescLen(v int) {
m.Set(field.NewEncodedSecurityDescLen(v))
}
//SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351
func (m NewOrderCross) SetEncodedSecurityDesc(v string) {
m.Set(field.NewEncodedSecurityDesc(v))
}
//SetComplianceID sets ComplianceID, Tag 376
func (m NewOrderCross) SetComplianceID(v string) {
m.Set(field.NewComplianceID(v))
}
//SetNoTradingSessions sets NoTradingSessions, Tag 386
func (m NewOrderCross) SetNoTradingSessions(f NoTradingSessionsRepeatingGroup) {
m.SetGroup(f)
}
//SetDiscretionInst sets DiscretionInst, Tag 388
func (m NewOrderCross) SetDiscretionInst(v enum.DiscretionInst) {
m.Set(field.NewDiscretionInst(v))
}
//SetDiscretionOffset sets DiscretionOffset, Tag 389
func (m NewOrderCross) SetDiscretionOffset(value decimal.Decimal, scale int32) {
m.Set(field.NewDiscretionOffset(value, scale))
}
//SetPriceType sets PriceType, Tag 423
func (m NewOrderCross) SetPriceType(v enum.PriceType) {
m.Set(field.NewPriceType(v))
}
//SetGTBookingInst sets GTBookingInst, Tag 427
func (m NewOrderCross) SetGTBookingInst(v enum.GTBookingInst) {
m.Set(field.NewGTBookingInst(v))
}
//SetExpireDate sets ExpireDate, Tag 432
func (m NewOrderCross) SetExpireDate(v string) {
m.Set(field.NewExpireDate(v))
}
//SetNoSecurityAltID sets NoSecurityAltID, Tag 454
func (m NewOrderCross) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
m.SetGroup(f)
}
//SetProduct sets Product, Tag 460
func (m NewOrderCross) SetProduct(v enum.Product) {
m.Set(field.NewProduct(v))
}
//SetCFICode sets CFICode, Tag 461
func (m NewOrderCross) SetCFICode(v string) {
m.Set(field.NewCFICode(v))
}
//SetCountryOfIssue sets CountryOfIssue, Tag 470
func (m NewOrderCross) SetCountryOfIssue(v string) {
m.Set(field.NewCountryOfIssue(v))
}
//SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471
func (m NewOrderCross) SetStateOrProvinceOfIssue(v string) {
m.Set(field.NewStateOrProvinceOfIssue(v))
}
//SetLocaleOfIssue sets LocaleOfIssue, Tag 472
func (m NewOrderCross) SetLocaleOfIssue(v string) {
m.Set(field.NewLocaleOfIssue(v))
}
//SetCancellationRights sets CancellationRights, Tag 480
func (m NewOrderCross) SetCancellationRights(v enum.CancellationRights) {
m.Set(field.NewCancellationRights(v))
}
//SetMoneyLaunderingStatus sets MoneyLaunderingStatus, Tag 481
func (m NewOrderCross) SetMoneyLaunderingStatus(v enum.MoneyLaunderingStatus) {
m.Set(field.NewMoneyLaunderingStatus(v))
}
//SetDesignation sets Designation, Tag 494
func (m NewOrderCross) SetDesignation(v string) {
m.Set(field.NewDesignation(v))
}
//SetRegistID sets RegistID, Tag 513
func (m NewOrderCross) SetRegistID(v string) {
m.Set(field.NewRegistID(v))
}
//SetMaturityDate sets MaturityDate, Tag 541
func (m NewOrderCross) SetMaturityDate(v string) {
m.Set(field.NewMaturityDate(v))
}
//SetInstrRegistry sets InstrRegistry, Tag 543
func (m NewOrderCross) SetInstrRegistry(v enum.InstrRegistry) {
m.Set(field.NewInstrRegistry(v))
}
//SetCrossID sets CrossID, Tag 548
func (m NewOrderCross) SetCrossID(v string) {
m.Set(field.NewCrossID(v))
}
//SetCrossType sets CrossType, Tag 549
func (m NewOrderCross) SetCrossType(v enum.CrossType) {
m.Set(field.NewCrossType(v))
}
//SetCrossPrioritization sets CrossPrioritization, Tag 550
func (m NewOrderCross) SetCrossPrioritization(v enum.CrossPrioritization) {
m.Set(field.NewCrossPrioritization(v))
}
//SetNoSides sets NoSides, Tag 552
func (m NewOrderCross) SetNoSides(f NoSidesRepeatingGroup) {
m.SetGroup(f)
}
//GetCurrency gets Currency, Tag 15
func (m NewOrderCross) GetCurrency() (v string, err quickfix.MessageRejectError) {
var f field.CurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetExecInst gets ExecInst, Tag 18
func (m NewOrderCross) GetExecInst() (v enum.ExecInst, err quickfix.MessageRejectError) {
var f field.ExecInstField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetHandlInst gets HandlInst, Tag 21
func (m NewOrderCross) GetHandlInst() (v enum.HandlInst, err quickfix.MessageRejectError) {
var f field.HandlInstField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityIDSource gets SecurityIDSource, Tag 22
func (m NewOrderCross) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
var f field.SecurityIDSourceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetIOIid gets IOIid, Tag 23
func (m NewOrderCross) GetIOIid() (v string, err quickfix.MessageRejectError) {
var f field.IOIidField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetOrdType gets OrdType, Tag 40
func (m NewOrderCross) GetOrdType() (v enum.OrdType, err quickfix.MessageRejectError) {
var f field.OrdTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetPrice gets Price, Tag 44
func (m NewOrderCross) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.PriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityID gets SecurityID, Tag 48
func (m NewOrderCross) GetSecurityID() (v string, err quickfix.MessageRejectError) {
var f field.SecurityIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSymbol gets Symbol, Tag 55
func (m NewOrderCross) GetSymbol() (v string, err quickfix.MessageRejectError) {
var f field.SymbolField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetTimeInForce gets TimeInForce, Tag 59
func (m NewOrderCross) GetTimeInForce() (v enum.TimeInForce, err quickfix.MessageRejectError) {
var f field.TimeInForceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetTransactTime gets TransactTime, Tag 60
func (m NewOrderCross) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
var f field.TransactTimeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSettlmntTyp gets SettlmntTyp, Tag 63
func (m NewOrderCross) GetSettlmntTyp() (v enum.SettlmntTyp, err quickfix.MessageRejectError) {
var f field.SettlmntTypField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetFutSettDate gets FutSettDate, Tag 64
func (m NewOrderCross) GetFutSettDate() (v string, err quickfix.MessageRejectError) {
var f field.FutSettDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSymbolSfx gets SymbolSfx, Tag 65
func (m NewOrderCross) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
var f field.SymbolSfxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetProcessCode gets ProcessCode, Tag 81
func (m NewOrderCross) GetProcessCode() (v enum.ProcessCode, err quickfix.MessageRejectError) {
var f field.ProcessCodeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetStopPx gets StopPx, Tag 99
func (m NewOrderCross) GetStopPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.StopPxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetExDestination gets ExDestination, Tag 100
func (m NewOrderCross) GetExDestination() (v enum.ExDestination, err quickfix.MessageRejectError) {
var f field.ExDestinationField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetIssuer gets Issuer, Tag 106
func (m NewOrderCross) GetIssuer() (v string, err quickfix.MessageRejectError) {
var f field.IssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityDesc gets SecurityDesc, Tag 107
func (m NewOrderCross) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.SecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMinQty gets MinQty, Tag 110
func (m NewOrderCross) GetMinQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.MinQtyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMaxFloor gets MaxFloor, Tag 111
func (m NewOrderCross) GetMaxFloor() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.MaxFloorField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetLocateReqd gets LocateReqd, Tag 114
func (m NewOrderCross) GetLocateReqd() (v bool, err quickfix.MessageRejectError) {
var f field.LocateReqdField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetQuoteID gets QuoteID, Tag 117
func (m NewOrderCross) GetQuoteID() (v string, err quickfix.MessageRejectError) {
var f field.QuoteIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNetMoney gets NetMoney, Tag 118
func (m NewOrderCross) GetNetMoney() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.NetMoneyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetExpireTime gets ExpireTime, Tag 126
func (m NewOrderCross) GetExpireTime() (v time.Time, err quickfix.MessageRejectError) {
var f field.ExpireTimeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetPrevClosePx gets PrevClosePx, Tag 140
func (m NewOrderCross) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.PrevClosePxField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetAccruedInterestRate gets AccruedInterestRate, Tag 158
func (m NewOrderCross) GetAccruedInterestRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.AccruedInterestRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetAccruedInterestAmt gets AccruedInterestAmt, Tag 159
func (m NewOrderCross) GetAccruedInterestAmt() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.AccruedInterestAmtField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityType gets SecurityType, Tag 167
func (m NewOrderCross) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
var f field.SecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEffectiveTime gets EffectiveTime, Tag 168
func (m NewOrderCross) GetEffectiveTime() (v time.Time, err quickfix.MessageRejectError) {
var f field.EffectiveTimeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMaturityMonthYear gets MaturityMonthYear, Tag 200
func (m NewOrderCross) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
var f field.MaturityMonthYearField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetStrikePrice gets StrikePrice, Tag 202
func (m NewOrderCross) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.StrikePriceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetOptAttribute gets OptAttribute, Tag 206
func (m NewOrderCross) GetOptAttribute() (v string, err quickfix.MessageRejectError) {
var f field.OptAttributeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSecurityExchange gets SecurityExchange, Tag 207
func (m NewOrderCross) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
var f field.SecurityExchangeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetMaxShow gets MaxShow, Tag 210
func (m NewOrderCross) GetMaxShow() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.MaxShowField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetPegDifference gets PegDifference, Tag 211
func (m NewOrderCross) GetPegDifference() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.PegDifferenceField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetSpread gets Spread, Tag 218
func (m NewOrderCross) GetSpread() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.SpreadField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetBenchmarkCurveCurrency gets BenchmarkCurveCurrency, Tag 220
func (m NewOrderCross) GetBenchmarkCurveCurrency() (v string, err quickfix.MessageRejectError) {
var f field.BenchmarkCurveCurrencyField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetBenchmarkCurveName gets BenchmarkCurveName, Tag 221
func (m NewOrderCross) GetBenchmarkCurveName() (v enum.BenchmarkCurveName, err quickfix.MessageRejectError) {
var f field.BenchmarkCurveNameField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetBenchmarkCurvePoint gets BenchmarkCurvePoint, Tag 222
func (m NewOrderCross) GetBenchmarkCurvePoint() (v string, err quickfix.MessageRejectError) {
var f field.BenchmarkCurvePointField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetCouponRate gets CouponRate, Tag 223
func (m NewOrderCross) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.CouponRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetCouponPaymentDate gets CouponPaymentDate, Tag 224
func (m NewOrderCross) 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 NewOrderCross) GetIssueDate() (v string, err quickfix.MessageRejectError) {
var f field.IssueDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetRepurchaseTerm gets RepurchaseTerm, Tag 226
func (m NewOrderCross) GetRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
var f field.RepurchaseTermField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetRepurchaseRate gets RepurchaseRate, Tag 227
func (m NewOrderCross) GetRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.RepurchaseRateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetFactor gets Factor, Tag 228
func (m NewOrderCross) GetFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.FactorField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetContractMultiplier gets ContractMultiplier, Tag 231
func (m NewOrderCross) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.ContractMultiplierField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoStipulations gets NoStipulations, Tag 232
func (m NewOrderCross) GetNoStipulations() (NoStipulationsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoStipulationsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetYieldType gets YieldType, Tag 235
func (m NewOrderCross) GetYieldType() (v enum.YieldType, err quickfix.MessageRejectError) {
var f field.YieldTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetYield gets Yield, Tag 236
func (m NewOrderCross) GetYield() (v decimal.Decimal, err quickfix.MessageRejectError) {
var f field.YieldField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239
func (m NewOrderCross) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
var f field.RepoCollateralSecurityTypeField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetRedemptionDate gets RedemptionDate, Tag 240
func (m NewOrderCross) GetRedemptionDate() (v string, err quickfix.MessageRejectError) {
var f field.RedemptionDateField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetCreditRating gets CreditRating, Tag 255
func (m NewOrderCross) GetCreditRating() (v string, err quickfix.MessageRejectError) {
var f field.CreditRatingField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348
func (m NewOrderCross) GetEncodedIssuerLen() (v int, err quickfix.MessageRejectError) {
var f field.EncodedIssuerLenField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedIssuer gets EncodedIssuer, Tag 349
func (m NewOrderCross) GetEncodedIssuer() (v string, err quickfix.MessageRejectError) {
var f field.EncodedIssuerField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350
func (m NewOrderCross) GetEncodedSecurityDescLen() (v int, err quickfix.MessageRejectError) {
var f field.EncodedSecurityDescLenField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351
func (m NewOrderCross) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
var f field.EncodedSecurityDescField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetComplianceID gets ComplianceID, Tag 376
func (m NewOrderCross) GetComplianceID() (v string, err quickfix.MessageRejectError) {
var f field.ComplianceIDField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}
//GetNoTradingSessions gets NoTradingSessions, Tag 386
func (m NewOrderCross) GetNoTradingSessions() (NoTradingSessionsRepeatingGroup, quickfix.MessageRejectError) {
f := NewNoTradingSessionsRepeatingGroup()
err := m.GetGroup(f)
return f, err
}
//GetDiscretionInst gets DiscretionInst, Tag 388
func (m NewOrderCross) GetDiscretionInst() (v enum.DiscretionInst, err quickfix.MessageRejectError) {
var f field.DiscretionInstField
if err = m.Get(&f); err == nil {
v = f.Value()
}
return
}