本文整理匯總了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
}