Hi
I was playing around with IB api - it seems every time you have a new order you must have a new orderID? if you use the same orderID you get "duplicate orderid"!?
even after restarting you get the same error unless you change the orderid.
does the api allow you to easily get the last orderID in the system? so you can easily increment that, or do you have to handle it yourself?
thanks
I was playing around with IB api - it seems every time you have a new order you must have a new orderID? if you use the same orderID you get "duplicate orderid"!?
even after restarting you get the same error unless you change the orderid.
does the api allow you to easily get the last orderID in the system? so you can easily increment that, or do you have to handle it yourself?
thanks

