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