本文整理汇总了Golang中github.com/quickfixgo/quickfix/field.NewSubscriptionRequestType函数的典型用法代码示例。如果您正苦于以下问题:Golang NewSubscriptionRequestType函数的具体用法?Golang NewSubscriptionRequestType怎么用?Golang NewSubscriptionRequestType使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NewSubscriptionRequestType函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。
示例1: queryMarketDataRequest50
func queryMarketDataRequest50() fix50mdr.MarketDataRequest {
request := fix50mdr.New(field.NewMDReqID("MARKETDATAID"),
field.NewSubscriptionRequestType(enum.SubscriptionRequestType_SNAPSHOT),
field.NewMarketDepth(0),
)
entryTypes := fix50mdr.NewNoMDEntryTypesRepeatingGroup()
entryTypes.Add().SetMDEntryType(enum.MDEntryType_BID)
request.SetNoMDEntryTypes(entryTypes)
relatedSym := fix50mdr.NewNoRelatedSymRepeatingGroup()
relatedSym.Add().SetSymbol("LNUX")
request.SetNoRelatedSym(relatedSym)
queryHeader(request.Header)
return request
}
开发者ID:quickfixgo,项目名称:examples,代码行数:17,代码来源:console.go
示例2: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m MarketDataRequest) SetSubscriptionRequestType(v string) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:MarketDataRequest.generated.go
示例3: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m TradingSessionStatusRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:TradingSessionStatusRequest.generated.go
示例4: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m TradingSessionListRequest) SetSubscriptionRequestType(v string) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:TradingSessionListRequest.generated.go
示例5: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m SecurityTypes) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:SecurityTypes.generated.go
示例6: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m TradeCaptureReportRequest) SetSubscriptionRequestType(v string) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:TradeCaptureReportRequest.generated.go
示例7: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m SecurityTypes) SetSubscriptionRequestType(v string) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:SecurityTypes.generated.go
示例8: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m MarketDefinitionRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:MarketDefinitionRequest.generated.go
示例9: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m DerivativeSecurityListRequest) SetSubscriptionRequestType(v string) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:DerivativeSecurityListRequest.generated.go
示例10: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m QuoteStatusRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:QuoteStatusRequest.generated.go
示例11: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m PartyDetailsListRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:PartyDetailsListRequest.generated.go
示例12: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m RFQRequest) SetSubscriptionRequestType(v string) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:4,代码来源:RFQRequest.generated.go
示例13: SetSubscriptionRequestType
//SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263
func (m RFQRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
m.Set(field.NewSubscriptionRequestType(v))
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:4,代码来源:RFQRequest.generated.go
注:本文中的github.com/quickfixgo/quickfix/field.NewSubscriptionRequestType函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论