本文整理匯總了Golang中github.com/quickfixgo/quickfix/field.NewPrice函數的典型用法代碼示例。如果您正苦於以下問題:Golang NewPrice函數的具體用法?Golang NewPrice怎麽用?Golang NewPrice使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了NewPrice函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: SetPrice
//SetPrice sets Price, Tag 44
func (m IndicationofInterest) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
示例2: SetPrice
//SetPrice sets Price, Tag 44
func (m IndicationofInterest) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例3: SetPrice
//SetPrice sets Price, Tag 44
func (m ExecutionReport) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
示例4: SetPrice
//SetPrice sets Price, Tag 44
func (m NoStrikes) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例5: SetPrice
//SetPrice sets Price, Tag 44
func (m Advertisement) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
示例6: SetPrice
//SetPrice sets Price, Tag 44
func (m NoBidComponents) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例7: SetPrice
//SetPrice sets Price, Tag 44
func (m NoRelatedSym) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例8: SetPrice
//SetPrice sets Price, Tag 44
func (m Advertisement) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例9: SetPrice
//SetPrice sets Price, Tag 44
func (m NewOrderList) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例10: SetPrice
//SetPrice sets Price, Tag 44
func (m ExecutionReport) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例11: SetPrice
//SetPrice sets Price, Tag 44
func (m NoBidComponents) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
示例12: SetPrice
//SetPrice sets Price, Tag 44
func (m NoRelatedSym) SetPrice(value decimal.Decimal, scale int32) {
m.Set(field.NewPrice(value, scale))
}
示例13: SetPrice
//SetPrice sets Price, Tag 44
func (m NoOrders) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}
示例14: queryPrice
func queryPrice() field.PriceField {
return field.NewPrice(queryFloat("Price"))
}
示例15: SetPrice
//SetPrice sets Price, Tag 44
func (m OrderCancelReplaceRequest) SetPrice(v float64) {
m.Set(field.NewPrice(v))
}