Skip to content

DataChannelProvider

QuantConnect.Lean.Engine.DataFeeds.DataChannelProvider

Bases: Object, IDataChannelProvider

Specifies data channel settings

initialize

initialize(packet: AlgorithmNodePacket) -> None

Initializes the instance with an algorithm node packet

Parameters:

Name Type Description Default
packet AlgorithmNodePacket

Algorithm node packet

required

is_streaming_type

is_streaming_type(
    configuration: SubscriptionDataConfig,
) -> bool

Returns true if the data type for the given subscription configuration supports streaming

This codeEntityType is protected.

should_stream_subscription

should_stream_subscription(
    config: SubscriptionDataConfig,
) -> bool

True if this subscription request should be streamed