IQFeedMessageAdapter
The messages adapter for IQFeed.
Наследует: MessageAdapter
Реализует: ILoginPasswordAdapter
Конструкторы
IQFeedMessageAdapter(IdGenerator)
Initializes a new instance of the IQFeedMessageAdapter.
- transactionIdGenerator
- Transaction id generator.
Свойства
AdminAddress : EndPoint
Address for obtaining service data.
AllTimeFrames : IEnumerable<TimeSpan>
Possible time-frames.
DerivativeAddress : EndPoint
Address for obtaining derivative data.
ExtraSetup : bool
The adapter requires extra setup.
FeatureName : string
Feature name.
IsDownloadSecurityFromSite : bool
Whether to load instruments from the archive of the IQFeed site. The default is off.
IsSupportOrderBookIncrements : bool
Adapter translates incremental order books.
Level1Address : EndPoint
Address for obtaining data on Level1.
Level1ColumnRegistry : IQFeedLevel1ColumnRegistry
The list of all available IQFeedLevel1Column.
Level1Columns : IEnumerable<IQFeedLevel1Column>
All IQFeedLevel1Column to be transmit.
Level2Address : EndPoint
Address for obtaining data on Level2.
LookupAddress : EndPoint
Address for obtaining history data.
Password : SecureString
Password.
SecuritiesFile : string
Path to file with IQFeed list of securities, downloaded from the website. If path is specified, then secondary download from website does not occur, and only the local copy gets parsed.
Методы
CreateOrderLogMarketDepthBuilder(SecurityId) : IOrderLogMarketDepthBuilder
Create market depth builder.
- securityId
- Security ID.
Возвращает: Order log to market depth builder.
IsAllDownloadingSupported(DataType) : bool
Is for the specified all securities downloading enabled.
- dataType
- Data type info.
Возвращает: Check result.
IsSupportCandlesUpdates(MarketDataMessage) : bool
Support candles subscription and live updates.
- subscription
- MarketDataMessage
Возвращает: Check result.
OnLevel1SubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask
Handles subscription request for level1 data. Override to provide implementation for level1 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.
OnMarketDepthSubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask
Handles subscription request for market depth data. Override to provide implementation for market depth 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.
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.
OnOrderLogSubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask
Handles subscription request for order log (trades/transactions) data. Override to provide implementation for order log 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.
OnTFCandlesSubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask
Handles subscription request for time-frame candles (TF candles) data. Override to provide implementation for TF candles 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.
OnTicksSubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask
Handles subscription request for ticks data. Override to provide implementation for ticks 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.
Поля
DefaultVersion : Version
Default value for Version.