开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Issue with order.orderId Returning 0 in reqCompletedOrders(true)


 

Hello Folks,

I am encountering an issue where order.orderId is consistently returning 0 when making the following request:
reqCompletedOrders(true);


I'm currently using Paper Trading account.

This occurs specifically in the completedOrder(const Contract& contract, const Order& order, const OrderState& orderState) callback response.

Has anyone else experienced a similar issue or found a solution for this behavior?

Looking forward to your insights.



Join [email protected] to automatically receive all group messages.