Lean
$LEAN_TAG$
|
Represents a subscription channel More...
Public Member Functions | |
Channel (string channelName, Symbol symbol) | |
Creates an instance of subscription channel More... | |
bool | Equals (Channel 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 object is equal to the current object. More... | |
override int | GetHashCode () |
Serves as the default hash function. More... | |
Static Public Attributes | |
static string | Single = "common" |
Represents an internal channel name for all brokerage channels in case we don't differentiate them More... | |
Properties | |
string | Name [get] |
The name of the channel More... | |
Symbol | Symbol [get] |
The ticker symbol of the channel More... | |
Represents a subscription channel
Definition at line 24 of file Channel.cs.
QuantConnect.Data.Channel.Channel | ( | string | channelName, |
Symbol | symbol | ||
) |
Creates an instance of subscription channel
channelName | Socket channel name |
symbol | Associated symbol |
Definition at line 47 of file Channel.cs.
bool QuantConnect.Data.Channel.Equals | ( | Channel | 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 70 of file Channel.cs.
override bool QuantConnect.Data.Channel.Equals | ( | object | obj | ) |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
Definition at line 84 of file Channel.cs.
override int QuantConnect.Data.Channel.GetHashCode | ( | ) |
Serves as the default hash function.
Definition at line 95 of file Channel.cs.
|
static |
Represents an internal channel name for all brokerage channels in case we don't differentiate them
Definition at line 30 of file Channel.cs.
|
get |
The name of the channel
Definition at line 35 of file Channel.cs.
|
get |
The ticker symbol of the channel
Definition at line 40 of file Channel.cs.