Lean
$LEAN_TAG$
|
Represents the source location and transport medium for a subscription More...
Public Member Functions | |
SubscriptionDataSource (string source) | |
Initializes a new instance of the SubscriptionDataSource class. More... | |
SubscriptionDataSource (string source, SubscriptionTransportMedium transportMedium) | |
Initializes a new instance of the SubscriptionDataSource class. More... | |
SubscriptionDataSource (string source, SubscriptionTransportMedium transportMedium, FileFormat format) | |
Initializes a new instance of the SubscriptionDataSource class. More... | |
SubscriptionDataSource (string source, SubscriptionTransportMedium transportMedium, FileFormat format, IEnumerable< KeyValuePair< string, string >> headers) | |
Initializes a new instance of the SubscriptionDataSource class with SubscriptionTransportMedium.Rest including the specified header values More... | |
bool | Equals (SubscriptionDataSource other) |
Indicates whether the current object is equal to another object of the same type. More... | |
override bool | Equals (object obj) |
Determines whether the specified instance is equal to the current instance. More... | |
override int | GetHashCode () |
Serves as a hash function for a particular type. More... | |
override string | ToString () |
Returns a string that represents the current object. More... | |
Static Public Member Functions | |
static bool | operator== (SubscriptionDataSource left, SubscriptionDataSource right) |
Indicates whether the current object is equal to another object of the same type. More... | |
static bool | operator!= (SubscriptionDataSource left, SubscriptionDataSource right) |
Indicates whether the current object is not equal to another object of the same type. More... | |
Public Attributes | |
readonly string | Source |
Identifies where to get the subscription's data from More... | |
readonly FileFormat | Format |
Identifies the format of the data within the source More... | |
readonly SubscriptionTransportMedium | TransportMedium |
Identifies the transport medium used to access the data, such as a local or remote file, or a polling rest API More... | |
readonly IReadOnlyList< KeyValuePair< string, string > > | Headers |
Gets the header values to be used in the web request. More... | |
Represents the source location and transport medium for a subscription
Definition at line 26 of file SubscriptionDataSource.cs.
QuantConnect.Data.SubscriptionDataSource.SubscriptionDataSource | ( | string | source | ) |
Initializes a new instance of the SubscriptionDataSource class.
source | The subscription's data source location |
Definition at line 54 of file SubscriptionDataSource.cs.
QuantConnect.Data.SubscriptionDataSource.SubscriptionDataSource | ( | string | source, |
SubscriptionTransportMedium | transportMedium | ||
) |
Initializes a new instance of the SubscriptionDataSource class.
source | The subscription's data source location |
transportMedium | The transport medium to be used to retrieve the subscription's data from the source |
Definition at line 64 of file SubscriptionDataSource.cs.
QuantConnect.Data.SubscriptionDataSource.SubscriptionDataSource | ( | string | source, |
SubscriptionTransportMedium | transportMedium, | ||
FileFormat | format | ||
) |
Initializes a new instance of the SubscriptionDataSource class.
source | The subscription's data source location |
transportMedium | The transport medium to be used to retrieve the subscription's data from the source |
format | The format of the data within the source |
Definition at line 75 of file SubscriptionDataSource.cs.
QuantConnect.Data.SubscriptionDataSource.SubscriptionDataSource | ( | string | source, |
SubscriptionTransportMedium | transportMedium, | ||
FileFormat | format, | ||
IEnumerable< KeyValuePair< string, string >> | headers | ||
) |
Initializes a new instance of the SubscriptionDataSource class with SubscriptionTransportMedium.Rest including the specified header values
source | The subscription's data source location |
transportMedium | The transport medium to be used to retrieve the subscription's data from the source |
format | The format of the data within the source |
headers | The headers to be used for this source |
Definition at line 88 of file SubscriptionDataSource.cs.
bool QuantConnect.Data.SubscriptionDataSource.Equals | ( | SubscriptionDataSource | other | ) |
Indicates whether the current object is equal to another object of the same type.
other | An object to compare with this object. |
Definition at line 103 of file SubscriptionDataSource.cs.
override bool QuantConnect.Data.SubscriptionDataSource.Equals | ( | object | obj | ) |
Determines whether the specified instance is equal to the current instance.
obj | The object to compare with the current object. |
<filterpriority>2</filterpriority>
Definition at line 119 of file SubscriptionDataSource.cs.
override int QuantConnect.Data.SubscriptionDataSource.GetHashCode | ( | ) |
Serves as a hash function for a particular type.
<filterpriority>2</filterpriority>
Definition at line 134 of file SubscriptionDataSource.cs.
|
static |
Indicates whether the current object is equal to another object of the same type.
left | The SubscriptionDataSource instance on the left of the operator |
right | The SubscriptionDataSource instance on the right of the operator |
Definition at line 148 of file SubscriptionDataSource.cs.
|
static |
Indicates whether the current object is not equal to another object of the same type.
left | The SubscriptionDataSource instance on the left of the operator |
right | The SubscriptionDataSource instance on the right of the operator |
Definition at line 159 of file SubscriptionDataSource.cs.
override string QuantConnect.Data.SubscriptionDataSource.ToString | ( | ) |
Returns a string that represents the current object.
<filterpriority>2</filterpriority>
Definition at line 171 of file SubscriptionDataSource.cs.
readonly string QuantConnect.Data.SubscriptionDataSource.Source |
Identifies where to get the subscription's data from
Definition at line 33 of file SubscriptionDataSource.cs.
readonly FileFormat QuantConnect.Data.SubscriptionDataSource.Format |
Identifies the format of the data within the source
Definition at line 38 of file SubscriptionDataSource.cs.
readonly SubscriptionTransportMedium QuantConnect.Data.SubscriptionDataSource.TransportMedium |
Identifies the transport medium used to access the data, such as a local or remote file, or a polling rest API
Definition at line 43 of file SubscriptionDataSource.cs.
readonly IReadOnlyList<KeyValuePair<string, string> > QuantConnect.Data.SubscriptionDataSource.Headers |
Gets the header values to be used in the web request.
Definition at line 48 of file SubscriptionDataSource.cs.