本文整理汇总了Golang中github.com/quickfixgo/quickfix/fix/field.NewDefaultApplVerID函数的典型用法代码示例。如果您正苦于以下问题:Golang NewDefaultApplVerID函数的具体用法?Golang NewDefaultApplVerID怎么用?Golang NewDefaultApplVerID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NewDefaultApplVerID函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}