本文整理汇总了Golang中github.com/quickfixgo/quickfix/field.NewTransactTime函数的典型用法代码示例。如果您正苦于以下问题:Golang NewTransactTime函数的具体用法?Golang NewTransactTime怎么用?Golang NewTransactTime使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NewTransactTime函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。
示例1: queryOrderCancelRequest50
func queryOrderCancelRequest50() (msg quickfix.Message) {
cancel := fix50cxl.New(queryOrigClOrdID(), queryClOrdID(), querySide(), field.NewTransactTime(time.Now()))
cancel.Set(querySymbol())
cancel.Set(queryOrderQty())
msg = cancel.ToMessage()
queryHeader(msg.Header)
return
}
开发者ID:quickfixgo,项目名称:examples,代码行数:8,代码来源:console.go
示例2: queryNewOrderSingle43
func queryNewOrderSingle43() (msg quickfix.Message) {
var ordType field.OrdTypeField
order := fix43nos.New(queryClOrdID(), field.NewHandlInst("1"), querySide(), field.NewTransactTime(time.Now()), queryOrdType(&ordType))
order.Set(querySymbol())
order.Set(queryOrderQty())
switch ordType.Value() {
case enum.OrdType_LIMIT, enum.OrdType_STOP_LIMIT:
order.Set(queryPrice())
}
switch ordType.Value() {
case enum.OrdType_STOP, enum.OrdType_STOP_LIMIT:
order.Set(queryStopPx())
}
order.Set(queryTimeInForce())
msg = order.ToMessage()
queryHeader(msg.Header)
return
}
开发者ID:quickfixgo,项目名称:examples,代码行数:22,代码来源:console.go
示例3: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoOrders) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:NewOrderList.generated.go
示例4: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationACK) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:AllocationACK.generated.go
示例5: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m Quote) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:Quote.generated.go
示例6: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m ConfirmationRequest) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:ConfirmationRequest.generated.go
示例7: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationReportAck) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:AllocationReportAck.generated.go
示例8: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m ListExecute) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:ListExecute.generated.go
示例9: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m IndicationofInterest) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:IndicationofInterest.generated.go
示例10: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m OrderCancelReject) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:OrderCancelReject.generated.go
示例11: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoSecurityTypes) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:SecurityTypes.generated.go
示例12: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m ListStatus) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:ListStatus.generated.go
示例13: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m MarketDefinition) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:MarketDefinition.generated.go
示例14: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoDates) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:TradeCaptureReportRequest.generated.go
示例15: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m Advertisement) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:Advertisement.generated.go
示例16: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m SettlementInstructionRequest) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:SettlementInstructionRequest.generated.go
示例17: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m MarketDefinitionUpdateReport) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:MarketDefinitionUpdateReport.generated.go
示例18: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m IOI) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:IOI.generated.go
示例19: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoQuoteEntries) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:MassQuote.generated.go
示例20: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m SecurityStatus) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:SecurityStatus.generated.go
注:本文中的github.com/quickfixgo/quickfix/field.NewTransactTime函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论