Click or drag to resize

StrategySubscribeMarketData Method (Security, MarketDataMessage)

To subscribe to get market data by the instrument.

Namespace:  StockSharp.Algo.Strategies
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public Subscription SubscribeMarketData(
	Security security,
	MarketDataMessage message
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
The instrument by which new information getting should be started.
message
Type: StockSharp.MessagesMarketDataMessage
The message that contain subscribe info.

Return Value

Type: Subscription
Subscription.

Implements

IMarketDataProviderExSubscribeMarketData(Security, MarketDataMessage)
See Also