Lean  $LEAN_TAG$
QuantConnect.Brokerages.IBrokerageMessageHandler Interface Reference

Provides an plugin point to allow algorithms to directly handle the messages that come from their brokerage More...

Inheritance diagram for QuantConnect.Brokerages.IBrokerageMessageHandler:
[legend]

Public Member Functions

void HandleMessage (BrokerageMessageEvent message)
 Handles the message More...
 
bool HandleOrder (NewBrokerageOrderNotificationEventArgs eventArgs)
 Handles a new order placed manually in the brokerage side More...
 

Detailed Description

Provides an plugin point to allow algorithms to directly handle the messages that come from their brokerage

Definition at line 22 of file IBrokerageMessageHandler.cs.

Member Function Documentation

◆ HandleMessage()

void QuantConnect.Brokerages.IBrokerageMessageHandler.HandleMessage ( BrokerageMessageEvent  message)

◆ HandleOrder()

bool QuantConnect.Brokerages.IBrokerageMessageHandler.HandleOrder ( NewBrokerageOrderNotificationEventArgs  eventArgs)

Handles a new order placed manually in the brokerage side

Parameters
eventArgsThe new order event
Returns
Whether the order should be added to the transaction handler

Implemented in QuantConnect.Brokerages.DefaultBrokerageMessageHandler, QuantConnect.Brokerages.DowngradeErrorCodeToWarningBrokerageMessageHandler, and QuantConnect.Python.BrokerageMessageHandlerPythonWrapper.


The documentation for this interface was generated from the following file: