Lean
$LEAN_TAG$
|
Provides an implementation of IBrokerageMessageHandler that converts specified error codes into warnings More...
Public Member Functions | |
DowngradeErrorCodeToWarningBrokerageMessageHandler (IBrokerageMessageHandler brokerageMessageHandler, string[] errorCodesToIgnore) | |
Initializes a new instance of the DowngradeErrorCodeToWarningBrokerageMessageHandler class More... | |
void | HandleMessage (BrokerageMessageEvent message) |
Handles the message More... | |
bool | HandleOrder (NewBrokerageOrderNotificationEventArgs eventArgs) |
Handles a new order placed manually in the brokerage side More... | |
Provides an implementation of IBrokerageMessageHandler that converts specified error codes into warnings
Definition at line 24 of file DowngradeErrorCodeToWarningBrokerageMessageHandler.cs.
QuantConnect.Brokerages.DowngradeErrorCodeToWarningBrokerageMessageHandler.DowngradeErrorCodeToWarningBrokerageMessageHandler | ( | IBrokerageMessageHandler | brokerageMessageHandler, |
string[] | errorCodesToIgnore | ||
) |
Initializes a new instance of the DowngradeErrorCodeToWarningBrokerageMessageHandler class
brokerageMessageHandler | The brokerage message handler to be wrapped |
errorCodesToIgnore | The error codes to convert to warning messages |
Definition at line 34 of file DowngradeErrorCodeToWarningBrokerageMessageHandler.cs.
void QuantConnect.Brokerages.DowngradeErrorCodeToWarningBrokerageMessageHandler.HandleMessage | ( | BrokerageMessageEvent | message | ) |
Handles the message
message | The message to be handled |
Implements QuantConnect.Brokerages.IBrokerageMessageHandler.
Definition at line 44 of file DowngradeErrorCodeToWarningBrokerageMessageHandler.cs.
bool QuantConnect.Brokerages.DowngradeErrorCodeToWarningBrokerageMessageHandler.HandleOrder | ( | NewBrokerageOrderNotificationEventArgs | eventArgs | ) |
Handles a new order placed manually in the brokerage side
eventArgs | The new order event |
Implements QuantConnect.Brokerages.IBrokerageMessageHandler.
Definition at line 60 of file DowngradeErrorCodeToWarningBrokerageMessageHandler.cs.