Lean  $LEAN_TAG$
QuantConnect.Orders.GroupOrderCacheManager Class Reference

Provides a thread-safe service for caching and managing original orders when they are part of a group. More...

Public Member Functions

bool TryGetGroupCachedOrders (Order order, out List< Order > orders)
 Attempts to retrieve all the orders in the combo group from the cache. More...
 

Detailed Description

Provides a thread-safe service for caching and managing original orders when they are part of a group.

Definition at line 24 of file GroupOrderCacheManager.cs.

Member Function Documentation

◆ TryGetGroupCachedOrders()

bool QuantConnect.Orders.GroupOrderCacheManager.TryGetGroupCachedOrders ( Order  order,
out List< Order orders 
)

Attempts to retrieve all the orders in the combo group from the cache.

Parameters
orderTarget order, which can be any of the legs of the combo
ordersList of orders in the combo
Returns
true if all the orders in the combo group were successfully retrieved from the cache; otherwise, false. If the retrieval fails, the target order is cached for future retrieval.

Definition at line 45 of file GroupOrderCacheManager.cs.


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