Click or drag to resize

ConnectorSubscribeNews Method

Subscribe on news.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public Subscription SubscribeNews(
	Security security = null,
	Nullable<DateTimeOffset> from = null,
	Nullable<DateTimeOffset> to = null,
	Nullable<long> count = null,
	IMessageAdapter adapter = null
)

Parameters

security (Optional)
Type: StockSharp.BusinessEntitiesSecurity
Security for subscription.
from (Optional)
Type: SystemNullableDateTimeOffset
The initial date from which you need to get data.
to (Optional)
Type: SystemNullableDateTimeOffset
The final date by which you need to get data.
count (Optional)
Type: SystemNullableInt64
Max count.
adapter (Optional)
Type: StockSharp.MessagesIMessageAdapter
Target adapter. Can be .

Return Value

Type: Subscription
Subscription.

Implements

IMarketDataProviderExSubscribeNews(Security, NullableDateTimeOffset, NullableDateTimeOffset, NullableInt64, IMessageAdapter)
See Also