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