Lean
$LEAN_TAG$
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
h
i
l
m
n
o
p
q
r
s
t
w
Functions
Enumerations
a
b
c
d
f
h
i
l
m
n
o
p
q
r
s
t
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Γ
Δ
Θ
ρ
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Γ
Δ
Θ
ρ
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
a
b
c
d
e
f
i
l
m
n
o
q
r
s
t
u
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
ISubscriptionDataSourceReader.cs
1
using
System;
2
using
System.Collections.Generic;
3
using
QuantConnect
.
Data
;
4
5
namespace
QuantConnect.Lean.Engine.DataFeeds
6
{
7
/// <summary>
8
/// Represents a type responsible for accepting an input <see cref="SubscriptionDataSource"/>
9
/// and returning an enumerable of the source's <see cref="BaseData"/>
10
/// </summary>
11
public
interface
ISubscriptionDataSourceReader
12
{
13
/// <summary>
14
/// Event fired when the specified source is considered invalid, this may
15
/// be from a missing file or failure to download a remote source
16
/// </summary>
17
event
EventHandler<InvalidSourceEventArgs>
InvalidSource
;
18
19
/// <summary>
20
/// Reads the specified <paramref name="source"/>
21
/// </summary>
22
/// <param name="source">The source to be read</param>
23
/// <returns>An <see cref="IEnumerable{BaseData}"/> that contains the data in the source</returns>
24
IEnumerable<BaseData>
Read
(
SubscriptionDataSource
source);
25
}
26
}
Engine
DataFeeds
ISubscriptionDataSourceReader.cs
Generated by
1.8.17