本文整理汇总了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"))
}