HuobiMessageAdapter
StockSharp.Huobi
The message adapter for Huobi.
Inherits: MessageAdapter
Implements: IKeySecretAdapter, IAddressAdapter<string>
Constructors
HuobiMessageAdapter(IdGenerator)
Initializes a new instance of the HuobiMessageAdapter.
- transactionIdGenerator
- Transaction id generator.
Properties
AllTimeFrames : IEnumerable<TimeSpan>
Possible time-frames.
AssociatedBoards : string[]
The adapter can process subscription only with instruments associated with the specified board.
FeatureName : string
Feature name.
IsSupportOrderBookIncrements : bool
Adapter translates incremental order books.
Key : SecureString
Key.
Secret : SecureString
Secret.
Section : HuobiSections
Section.
SupportedOrderBookDepths : IEnumerable<int>
Available options for MaxDepth.
Methods
IsAllDownloadingSupported(DataType) : bool
Is for the specified all securities downloading enabled.
- dataType
- Data type info.
Returns: Check result.
IsSupportCandlesUpdates(MarketDataMessage) : bool
Support candles subscription and live updates.
- subscription
- MarketDataMessage
Returns: Check result.
SendInMessageAsync(Message, CancellationToken) : ValueTask
Processes a generic message asynchronously.
- message
- The message to process.
- cancellationToken
- CancellationToken