RssMessageAdapter

StockSharp.Rss

The market-data message adapter for RSS.

継承元: HistoricalMessageAdapter

実装: IAddressAdapter<string>

コンストラクター

RssMessageAdapter(IdGenerator)

Initializes a new instance of the RssMessageAdapter.

transactionIdGenerator
Transaction id generator.

プロパティ

Address : string

RSS feed address.

CustomDateFormat : string

Dates format. Required to be filled if RSS stream format is different from ddd, dd MMM yyyy HH:mm:ss zzzz.

メソッド

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnNewsSubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask

Handles subscription request for news data. Override to provide implementation for news subscription processing. The default implementation throws NotSupported.

mdMsg
Market data subscription message.
cancellationToken
Cancellation token to cancel the operation.

戻り値: A ValueTask representing the asynchronous operation.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

戻り値: Строковое представление.