Receiving Completed Orders

View as MarkdownOpen in Claude

EWrapper.completedOrders(

contract: Contract. The order’s Contract.
order: Order. The currently active Order.
orderState: OrderState. The order’s OrderState
)

1def completedOrder(self, orderId: OrderId, contract: Contract, order: Order, orderState: OrderState):
2 print(orderId, contract, order, orderState)