is there a way to stay comfortable out of range of the orderIDs generated by manual orders?
for example, if manual orderIDs start from 1 and i know that i won't have 100 manual orders, I'll start the API orderIDs at 500 and start incrementing up from there.
the problem with nextvalid id is that it doesn't generate ids fast enough. it seems like if i request the id right before the order, the order will get sent before it retrieved the id from nextvalidid.
reqIds(1) // then the id is saved into a variable
placeOrder(...) //this order gets sent before the new id comes in
but if i just increment the orderID by 1 right before sending the order, it works fine.
orderID++;
placeOrder(...)