Lean
$LEAN_TAG$
|
Represents a message received from a brokerage More...
Public Member Functions | |
BrokerageMessageEvent (BrokerageMessageType type, int code, string message) | |
Initializes a new instance of the BrokerageMessageEvent class More... | |
BrokerageMessageEvent (BrokerageMessageType type, string code, string message) | |
Initializes a new instance of the BrokerageMessageEvent class More... | |
override string | ToString () |
Returns a string that represents the current object. More... | |
Static Public Member Functions | |
static BrokerageMessageEvent | Disconnected (string message) |
Creates a new BrokerageMessageEvent to represent a disconnect message More... | |
static BrokerageMessageEvent | Reconnected (string message) |
Creates a new BrokerageMessageEvent to represent a reconnect message More... | |
Properties | |
BrokerageMessageType | Type [get] |
Gets the type of brokerage message More... | |
string | Code [get] |
Gets the brokerage specific code for this message, zero if no code was specified More... | |
string | Message [get] |
Gets the message text received from the brokerage More... | |
Represents a message received from a brokerage
Definition at line 21 of file BrokerageMessageEvent.cs.
QuantConnect.Brokerages.BrokerageMessageEvent.BrokerageMessageEvent | ( | BrokerageMessageType | type, |
int | code, | ||
string | message | ||
) |
Initializes a new instance of the BrokerageMessageEvent class
type | The type of brokerage message |
code | The brokerage specific code |
message | The message text received from the brokerage |
Definition at line 44 of file BrokerageMessageEvent.cs.
QuantConnect.Brokerages.BrokerageMessageEvent.BrokerageMessageEvent | ( | BrokerageMessageType | type, |
string | code, | ||
string | message | ||
) |
Initializes a new instance of the BrokerageMessageEvent class
type | The type of brokerage message |
code | The brokerage specific code |
message | The message text received from the brokerage |
Definition at line 57 of file BrokerageMessageEvent.cs.
|
static |
Creates a new BrokerageMessageEvent to represent a disconnect message
message | The message from the brokerage |
Definition at line 69 of file BrokerageMessageEvent.cs.
|
static |
Creates a new BrokerageMessageEvent to represent a reconnect message
message | The message from the brokerage |
Definition at line 79 of file BrokerageMessageEvent.cs.
override string QuantConnect.Brokerages.BrokerageMessageEvent.ToString | ( | ) |
Returns a string that represents the current object.
<filterpriority>2</filterpriority>
Definition at line 91 of file BrokerageMessageEvent.cs.
|
get |
Gets the type of brokerage message
Definition at line 26 of file BrokerageMessageEvent.cs.
|
get |
Gets the brokerage specific code for this message, zero if no code was specified
Definition at line 31 of file BrokerageMessageEvent.cs.
|
get |
Gets the message text received from the brokerage
Definition at line 36 of file BrokerageMessageEvent.cs.