Repository navigation
Unique order IDs #151
Unanswered
brigoraoul
asked this question in
Q&A
Replies: 1 comment
|
You don't need to touch So the simplest correct pattern is: build a fresh "Duplicate Order ID" almost always means one of:
If you genuinely need the id up front (to log/track before placing), pull it from the same source ib_async uses: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi :)
What is the correct way to generate a unique order ID for each order object? If I simply create and place the order, I sometimes get a "Duplicate Order ID" error. All info I can find online is about the nextValidId callback from the underlying ibapi. Does ib_async provide a simpler to use abstraction of that?
All reactions