Skip to content

IStreamReader

QuantConnect.Interfaces.IStreamReader

Bases: IDisposable

Defines a transport mechanism for data from its source into various reader methods

transport_medium

transport_medium: SubscriptionTransportMedium

Gets the transport medium of this stream reader

end_of_stream

end_of_stream: bool

Gets whether or not there's more data to be read in the stream

stream_reader

stream_reader: StreamReader

Direct access to the StreamReader instance

should_be_rate_limited

should_be_rate_limited: bool

Gets whether or not this stream reader should be rate limited

read_line

read_line() -> str

Gets the next line/batch of content from the stream