當前位置: 首頁>>代碼示例>>Golang>>正文


Golang field.NewSubscriptionRequestType函數代碼示例

本文整理匯總了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;未經允許,請勿轉載。