OrderId
The Order ID is a client-managed identifier used to track, modify, and cancel orders. As a result, it must be strictly increasing.
The nextValidId() callback function receives the next valid order ID. This function is called once upon initial connection.
The reqIds() function can be used to request the next valid ID, which is returned via the nextValidId() callback function.
Python

