コード例 #1
0
//GetOrderPercent gets OrderPercent, Tag 516
func (m DontKnowTrade) GetOrderPercent() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.OrderPercentField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}
コード例 #2
0
//GetOrderPercent gets OrderPercent, Tag 516
func (m OrderCancelRequest) GetOrderPercent() (v decimal.Decimal, err quickfix.MessageRejectError) {
	var f field.OrderPercentField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}