本文整理汇总了Golang中github.com/quickfixgo/quickfix/field.NewDefaultApplVerID函数的典型用法代码示例。如果您正苦于以下问题:Golang NewDefaultApplVerID函数的具体用法?Golang NewDefaultApplVerID怎么用?Golang NewDefaultApplVerID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NewDefaultApplVerID函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。
示例1: New
//New returns an initialized Message with specified required fields for SecurityStatus.
func New() Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header.Set(field.NewMsgType("f"))
return builder
}
示例2: New
//New returns an initialized Message with specified required fields for TradingSessionListUpdateReport.
func New(
notradingsessions *field.NoTradingSessionsField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("BS"))
builder.Body.Set(notradingsessions)
return builder
}
示例3: New
//New returns an initialized Message with specified required fields for AllocationReportAck.
func New(
allocreportid *field.AllocReportIDField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("AT"))
builder.Body.Set(allocreportid)
return builder
}
示例4: New
//New returns an initialized Message with specified required fields for UserNotification.
func New(
userstatus *field.UserStatusField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("CB"))
builder.Body.Set(userstatus)
return builder
}
示例5: New
//New returns an initialized Message with specified required fields for StreamAssignmentReport.
func New(
streamasgnrptid *field.StreamAsgnRptIDField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("CD"))
builder.Body.Set(streamasgnrptid)
return builder
}
示例6: New
//New returns an initialized Message with specified required fields for OrderStatusRequest.
func New(
side *field.SideField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("H"))
builder.Body.Set(side)
return builder
}
示例7: New
//New returns an initialized Message with specified required fields for MarketDataSnapshotFullRefresh.
func New(
nomdentries *field.NoMDEntriesField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP1))
builder.Header.Set(field.NewMsgType("W"))
builder.Body.Set(nomdentries)
return builder
}
示例8: New
//New returns an initialized Message with specified required fields for QuoteCancel.
func New(
quotecanceltype *field.QuoteCancelTypeField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("Z"))
builder.Body.Set(quotecanceltype)
return builder
}
示例9: New
//New returns an initialized Message with specified required fields for MassQuoteAcknowledgement.
func New(
quotestatus *field.QuoteStatusField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header.Set(field.NewMsgType("b"))
builder.Body.Set(quotestatus)
return builder
}
示例10: New
//New returns an initialized Message with specified required fields for ListStatusRequest.
func New(
listid *field.ListIDField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header.Set(field.NewMsgType("M"))
builder.Body.Set(listid)
return builder
}
示例11: New
//New returns an initialized Message with specified required fields for PartyDetailsListReport.
func New(
partydetailslistreportid *field.PartyDetailsListReportIDField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("CG"))
builder.Body.Set(partydetailslistreportid)
return builder
}
示例12: New
//New returns an initialized Message with specified required fields for BidResponse.
func New(
nobidcomponents *field.NoBidComponentsField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header.Set(field.NewMsgType("l"))
builder.Body.Set(nobidcomponents)
return builder
}
示例13: New
//New returns an initialized Message with specified required fields for SecurityTypeRequest.
func New(
securityreqid *field.SecurityReqIDField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50))
builder.Header.Set(field.NewMsgType("v"))
builder.Body.Set(securityreqid)
return builder
}
示例14: New
//New returns an initialized Message with specified required fields for ApplicationMessageRequestAck.
func New(
applresponseid *field.ApplResponseIDField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("BX"))
builder.Body.Set(applresponseid)
return builder
}
示例15: New
//New returns an initialized Message with specified required fields for RFQRequest.
func New(
rfqreqid *field.RFQReqIDField,
norelatedsym *field.NoRelatedSymField) Message {
builder := Message{Message: quickfix.NewMessage()}
builder.Header.Set(field.NewBeginString(enum.BeginStringFIXT11))
builder.Header.Set(field.NewDefaultApplVerID(enum.ApplVerID_FIX50SP2))
builder.Header.Set(field.NewMsgType("AH"))
builder.Body.Set(rfqreqid)
builder.Body.Set(norelatedsym)
return builder
}