forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PositionQty.go
29 lines (25 loc) · 883 Bytes
/
PositionQty.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
package positionqty
import (
"github.com/quickfixgo/quickfix/fix50/nestedparties"
)
//NoPositions is a repeating group in PositionQty
type NoPositions struct {
//PosType is a non-required field for NoPositions.
PosType *string `fix:"703"`
//LongQty is a non-required field for NoPositions.
LongQty *float64 `fix:"704"`
//ShortQty is a non-required field for NoPositions.
ShortQty *float64 `fix:"705"`
//PosQtyStatus is a non-required field for NoPositions.
PosQtyStatus *int `fix:"706"`
//NestedParties Component
NestedParties nestedparties.Component
//QuantityDate is a non-required field for NoPositions.
QuantityDate *string `fix:"976"`
}
//Component is a fix50 PositionQty Component
type Component struct {
//NoPositions is a non-required field for PositionQty.
NoPositions []NoPositions `fix:"702,omitempty"`
}
func New() *Component { return new(Component) }