• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Golang field.NewDefaultApplVerID函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Golang中github.com/quickfixgo/quickfix/field.NewDefaultApplVerID函数的典型用法代码示例。如果您正苦于以下问题:Golang NewDefaultApplVerID函数的具体用法?Golang NewDefaultApplVerID怎么用?Golang NewDefaultApplVerID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了NewDefaultApplVerID函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:8,代码来源:SecurityStatus.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:TradingSessionListUpdateReport.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:AllocationReportAck.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:UserNotification.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:StreamAssignmentReport.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:OrderStatusRequest.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:MarketDataSnapshotFullRefresh.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:QuoteCancel.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:MassQuoteAcknowledgement.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:ListStatusRequest.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:PartyDetailsListReport.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:BidResponse.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:SecurityTypeRequest.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:10,代码来源:ApplicationMessageRequestAck.go


示例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
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:12,代码来源:RFQRequest.go


示例16: New

//New returns an initialized Message with specified required fields for TradeCaptureReportRequest.
func New(
	traderequestid *field.TradeRequestIDField,
	traderequesttype *field.TradeRequestTypeField) 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("AD"))
	builder.Body.Set(traderequestid)
	builder.Body.Set(traderequesttype)
	return builder
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:12,代码来源:TradeCaptureReportRequest.go


示例17: New

//New returns an initialized Message with specified required fields for ApplicationMessageReport.
func New(
	applreportid *field.ApplReportIDField,
	applreporttype *field.ApplReportTypeField) 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("BY"))
	builder.Body.Set(applreportid)
	builder.Body.Set(applreporttype)
	return builder
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:12,代码来源:ApplicationMessageReport.go


示例18: New

//New returns an initialized Message with specified required fields for AllocationInstructionAck.
func New(
	allocid *field.AllocIDField,
	allocstatus *field.AllocStatusField) 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("P"))
	builder.Body.Set(allocid)
	builder.Body.Set(allocstatus)
	return builder
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:12,代码来源:AllocationInstructionAck.go


示例19: New

//New returns an initialized Message with specified required fields for NetworkCounterpartySystemStatusRequest.
func New(
	networkrequesttype *field.NetworkRequestTypeField,
	networkrequestid *field.NetworkRequestIDField) 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("BC"))
	builder.Body.Set(networkrequesttype)
	builder.Body.Set(networkrequestid)
	return builder
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:12,代码来源:NetworkCounterpartySystemStatusRequest.go


示例20: New

//New returns an initialized Message with specified required fields for SettlementInstructionRequest.
func New(
	settlinstreqid *field.SettlInstReqIDField,
	transacttime *field.TransactTimeField) 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("AV"))
	builder.Body.Set(settlinstreqid)
	builder.Body.Set(transacttime)
	return builder
}
开发者ID:jfyuen,项目名称:quickfix,代码行数:12,代码来源:SettlementInstructionRequest.go



注:本文中的github.com/quickfixgo/quickfix/field.NewDefaultApplVerID函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Golang field.NewEffectiveTime函数代码示例发布时间:2022-05-28
下一篇:
Golang field.NewCurrency函数代码示例发布时间:2022-05-28
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap