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
)

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