コード例 #1
0
//GetDiscretionOffset gets DiscretionOffset, Tag 389
func (m NewOrderSingle) GetDiscretionOffset() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.DiscretionOffsetField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}
コード例 #2
0
//GetDiscretionOffset gets DiscretionOffset, Tag 389
func (m OrderCancelReplaceRequest) GetDiscretionOffset() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.DiscretionOffsetField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}