本文整理汇总了Golang中github.com/quickfixgo/quickfix/fix/field.NewDefaultApplVerID函数的典型用法代码示例。如果您正苦于以下问题:Golang NewDefaultApplVerID函数的具体用法?Golang NewDefaultApplVerID怎么用?Golang NewDefaultApplVerID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NewDefaultApplVerID函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。
示例1: Builder
//Builder returns an initialized MessageBuilder with specified required fields for SecurityList.
func Builder() MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header().Set(field.NewMsgType("y"))
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:9,代码来源:SecurityList.go
示例2: Builder
//Builder returns an initialized MessageBuilder with specified required fields for OrderStatusRequest.
func Builder(
side *field.SideField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("H"))
builder.Body().Set(side)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:OrderStatusRequest.go
示例3: Builder
//Builder returns an initialized MessageBuilder with specified required fields for QuoteCancel.
func Builder(
quotecanceltype *field.QuoteCancelTypeField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("Z"))
builder.Body().Set(quotecanceltype)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:QuoteCancel.go
示例4: Builder
//Builder returns an initialized MessageBuilder with specified required fields for PartyDetailsListReport.
func Builder(
partydetailslistreportid *field.PartyDetailsListReportIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header().Set(field.NewMsgType("CG"))
builder.Body().Set(partydetailslistreportid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:PartyDetailsListReport.go
示例5: Builder
//Builder returns an initialized MessageBuilder with specified required fields for ApplicationMessageRequestAck.
func Builder(
applresponseid *field.ApplResponseIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("BX"))
builder.Body().Set(applresponseid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:ApplicationMessageRequestAck.go
示例6: Builder
//Builder returns an initialized MessageBuilder with specified required fields for TradingSessionList.
func Builder(
notradingsessions *field.NoTradingSessionsField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header().Set(field.NewMsgType("BJ"))
builder.Body().Set(notradingsessions)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:TradingSessionList.go
示例7: Builder
//Builder returns an initialized MessageBuilder with specified required fields for MassQuoteAcknowledgement.
func Builder(
quotestatus *field.QuoteStatusField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header().Set(field.NewMsgType("b"))
builder.Body().Set(quotestatus)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:MassQuoteAcknowledgement.go
示例8: Builder
//Builder returns an initialized MessageBuilder with specified required fields for MarketDataSnapshotFullRefresh.
func Builder(
nomdentries *field.NoMDEntriesField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header().Set(field.NewMsgType("W"))
builder.Body().Set(nomdentries)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:MarketDataSnapshotFullRefresh.go
示例9: Builder
//Builder returns an initialized MessageBuilder with specified required fields for ListStatusRequest.
func Builder(
listid *field.ListIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header().Set(field.NewMsgType("M"))
builder.Body().Set(listid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:ListStatusRequest.go
示例10: Builder
//Builder returns an initialized MessageBuilder with specified required fields for StreamAssignmentReport.
func Builder(
streamasgnrptid *field.StreamAsgnRptIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header().Set(field.NewMsgType("CD"))
builder.Body().Set(streamasgnrptid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:StreamAssignmentReport.go
示例11: Builder
//Builder returns an initialized MessageBuilder with specified required fields for MarketDataRequestReject.
func Builder(
mdreqid *field.MDReqIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header().Set(field.NewMsgType("Y"))
builder.Body().Set(mdreqid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:MarketDataRequestReject.go
示例12: Builder
//Builder returns an initialized MessageBuilder with specified required fields for BidResponse.
func Builder(
nobidcomponents *field.NoBidComponentsField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header().Set(field.NewMsgType("l"))
builder.Body().Set(nobidcomponents)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:11,代码来源:BidResponse.go
示例13: Builder
//Builder returns an initialized MessageBuilder with specified required fields for AllocationReportAck.
func Builder(
allocreportid *field.AllocReportIDField,
allocid *field.AllocIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("AT"))
builder.Body().Set(allocreportid)
builder.Body().Set(allocid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:AllocationReportAck.go
示例14: Builder
//Builder returns an initialized MessageBuilder with specified required fields for SettlementInstructionRequest.
func Builder(
settlinstreqid *field.SettlInstReqIDField,
transacttime *field.TransactTimeField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("AV"))
builder.Body().Set(settlinstreqid)
builder.Body().Set(transacttime)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:SettlementInstructionRequest.go
示例15: Builder
//Builder returns an initialized MessageBuilder with specified required fields for NetworkCounterpartySystemStatusRequest.
func Builder(
networkrequesttype *field.NetworkRequestTypeField,
networkrequestid *field.NetworkRequestIDField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header().Set(field.NewMsgType("BC"))
builder.Body().Set(networkrequesttype)
builder.Body().Set(networkrequestid)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:NetworkCounterpartySystemStatusRequest.go
示例16: Builder
//Builder returns an initialized MessageBuilder with specified required fields for UserResponse.
func Builder(
userrequestid *field.UserRequestIDField,
username *field.UsernameField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("BF"))
builder.Body().Set(userrequestid)
builder.Body().Set(username)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:UserResponse.go
示例17: Builder
//Builder returns an initialized MessageBuilder with specified required fields for MassQuote.
func Builder(
quoteid *field.QuoteIDField,
noquotesets *field.NoQuoteSetsField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("i"))
builder.Body().Set(quoteid)
builder.Body().Set(noquotesets)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:MassQuote.go
示例18: Builder
//Builder returns an initialized MessageBuilder with specified required fields for SettlementObligationReport.
func Builder(
settlobligmsgid *field.SettlObligMsgIDField,
settlobligmode *field.SettlObligModeField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header().Set(field.NewMsgType("BQ"))
builder.Body().Set(settlobligmsgid)
builder.Body().Set(settlobligmode)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:SettlementObligationReport.go
示例19: Builder
//Builder returns an initialized MessageBuilder with specified required fields for SecurityListRequest.
func Builder(
securityreqid *field.SecurityReqIDField,
securitylistrequesttype *field.SecurityListRequestTypeField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header().Set(field.NewMsgType("x"))
builder.Body().Set(securityreqid)
builder.Body().Set(securitylistrequesttype)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:SecurityListRequest.go
示例20: Builder
//Builder returns an initialized MessageBuilder with specified required fields for TradeCaptureReportRequest.
func Builder(
traderequestid *field.TradeRequestIDField,
traderequesttype *field.TradeRequestTypeField) MessageBuilder {
var builder MessageBuilder
builder.MessageBuilder = quickfix.NewMessageBuilder()
builder.Header().Set(field.NewBeginString(fix.BeginString_FIXT11))
builder.Header().Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header().Set(field.NewMsgType("AD"))
builder.Body().Set(traderequestid)
builder.Body().Set(traderequesttype)
return builder
}
开发者ID:jarlwolfganger,项目名称:quickfix,代码行数:13,代码来源:TradeCaptureReportRequest.go
注:本文中的github.com/quickfixgo/quickfix/fix/field.NewDefaultApplVerID函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论