forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LegQuotGrp.go
80 lines (73 loc) · 3.45 KB
/
LegQuotGrp.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
package legquotgrp
import (
"github.com/quickfixgo/quickfix/fix50sp2/instrumentleg"
"github.com/quickfixgo/quickfix/fix50sp2/legbenchmarkcurvedata"
"github.com/quickfixgo/quickfix/fix50sp2/legstipulations"
"github.com/quickfixgo/quickfix/fix50sp2/nestedparties"
)
//New returns an initialized LegQuotGrp instance
func New() *LegQuotGrp {
var m LegQuotGrp
return &m
}
//NoLegs is a repeating group in LegQuotGrp
type NoLegs struct {
//InstrumentLeg is a non-required component for NoLegs.
InstrumentLeg *instrumentleg.InstrumentLeg
//LegQty is a non-required field for NoLegs.
LegQty *float64 `fix:"687"`
//LegSwapType is a non-required field for NoLegs.
LegSwapType *int `fix:"690"`
//LegSettlType is a non-required field for NoLegs.
LegSettlType *string `fix:"587"`
//LegSettlDate is a non-required field for NoLegs.
LegSettlDate *string `fix:"588"`
//LegStipulations is a non-required component for NoLegs.
LegStipulations *legstipulations.LegStipulations
//NestedParties is a non-required component for NoLegs.
NestedParties *nestedparties.NestedParties
//LegPriceType is a non-required field for NoLegs.
LegPriceType *int `fix:"686"`
//LegBidPx is a non-required field for NoLegs.
LegBidPx *float64 `fix:"681"`
//LegOfferPx is a non-required field for NoLegs.
LegOfferPx *float64 `fix:"684"`
//LegBenchmarkCurveData is a non-required component for NoLegs.
LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData
//LegOrderQty is a non-required field for NoLegs.
LegOrderQty *float64 `fix:"685"`
//LegRefID is a non-required field for NoLegs.
LegRefID *string `fix:"654"`
//LegBidForwardPoints is a non-required field for NoLegs.
LegBidForwardPoints *float64 `fix:"1067"`
//LegOfferForwardPoints is a non-required field for NoLegs.
LegOfferForwardPoints *float64 `fix:"1068"`
}
//NewNoLegs returns an initialized NoLegs instance
func NewNoLegs() *NoLegs {
var m NoLegs
return &m
}
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v }
func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v }
func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v }
func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v }
func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v }
func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v }
func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v }
func (m *NoLegs) SetLegPriceType(v int) { m.LegPriceType = &v }
func (m *NoLegs) SetLegBidPx(v float64) { m.LegBidPx = &v }
func (m *NoLegs) SetLegOfferPx(v float64) { m.LegOfferPx = &v }
func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) {
m.LegBenchmarkCurveData = &v
}
func (m *NoLegs) SetLegOrderQty(v float64) { m.LegOrderQty = &v }
func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v }
func (m *NoLegs) SetLegBidForwardPoints(v float64) { m.LegBidForwardPoints = &v }
func (m *NoLegs) SetLegOfferForwardPoints(v float64) { m.LegOfferForwardPoints = &v }
//LegQuotGrp is a fix50sp2 Component
type LegQuotGrp struct {
//NoLegs is a non-required field for LegQuotGrp.
NoLegs []NoLegs `fix:"555,omitempty"`
}
func (m *LegQuotGrp) SetNoLegs(v []NoLegs) { m.NoLegs = v }