Lean  $LEAN_TAG$
QuantConnect.Securities.OrderProviderExtensions Class Reference

Provides extension methods for the IOrderProvider interface More...

Static Public Member Functions

static List< OrderGetOrdersByBrokerageId (this IOrderProvider orderProvider, long brokerageId)
 Gets the order by its brokerage id More...
 
static List< OrderGetOrdersByBrokerageId (this IOrderProvider orderProvider, int brokerageId)
 Gets the order by its brokerage id More...
 

Detailed Description

Provides extension methods for the IOrderProvider interface

Definition at line 87 of file IOrderProvider.cs.

Member Function Documentation

◆ GetOrdersByBrokerageId() [1/2]

static List<Order> QuantConnect.Securities.OrderProviderExtensions.GetOrdersByBrokerageId ( this IOrderProvider  orderProvider,
long  brokerageId 
)
static

Gets the order by its brokerage id

Parameters
orderProviderThe order provider to search
brokerageIdThe brokerage id to fetch
Returns
The first order matching the brokerage id, or null if no match is found

Definition at line 95 of file IOrderProvider.cs.

Here is the call graph for this function:

◆ GetOrdersByBrokerageId() [2/2]

static List<Order> QuantConnect.Securities.OrderProviderExtensions.GetOrdersByBrokerageId ( this IOrderProvider  orderProvider,
int  brokerageId 
)
static

Gets the order by its brokerage id

Parameters
orderProviderThe order provider to search
brokerageIdThe brokerage id to fetch
Returns
The first order matching the brokerage id, or null if no match is found

Definition at line 106 of file IOrderProvider.cs.

Here is the call graph for this function:

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