CreateStreamReaderErrorEventArgs
QuantConnect.Lean.Engine.DataFeeds.CreateStreamReaderErrorEventArgs
CreateStreamReaderErrorEventArgs(
date: Union[datetime, date],
source: SubscriptionDataSource,
)
Bases: EventArgs
Event arguments for the TextSubscriptionDataSourceReader's CreateStreamReader event
Initializes a new instance of the CreateStreamReaderErrorEventArgs class
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
date
|
Union[datetime, date]
|
The date of the source |
required |
source
|
SubscriptionDataSource
|
The source that cause the error |
required |
date
date: datetime
Gets the date of the source