Skip to content

GroupOrderManager

QuantConnect.Orders.GroupOrderManager

GroupOrderManager()
GroupOrderManager(
    id: int,
    leg_count: int,
    quantity: float,
    limit_price: float = 0,
)
GroupOrderManager(
    leg_count: int, quantity: float, limit_price: float = 0
)

Bases: Object

Manager of a group of orders

Signature descriptions:

  • Creates a new empty instance

  • Creates a new instance of GroupOrderManager

Parameters:

Name Type Description Default
id Optional[int]

This order group unique Id

None
leg_count Optional[int]

The order leg count

None
quantity Optional[float]

The group order quantity

None
limit_price Optional[float]

The limit price associated with this order group if any

0

id

id: int

The unique order group Id

quantity

quantity: float

The group order quantity

count

count: int

The total order count associated with this order group

limit_price

limit_price: float

The limit price associated with this order group if any

order_ids

order_ids: HashSet[int]

The order Ids in this group

direction

direction: OrderDirection

Order Direction Property based off Quantity.

absolute_quantity

absolute_quantity: float

Get the absolute quantity for this combo order