We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In last hour I started receiving above mentioned error during order create. I have checked the length of orderIdLink and it looks like this:
orderLinkId: long_nclose31214610-0b3f-44e1-8c51-683af44d81bc
I have changed line 192 in exchanges/bybit.py from: "orderLinkId": order["custom_id"] + str(uuid4()),
"orderLinkId": order["custom_id"] + str(uuid4()),
to: "orderLinkId": str(uuid4()),
"orderLinkId": str(uuid4()),
and it works now.
No idea what has changed ... maybe Bybit changed the max allowed field length ?
The text was updated successfully, but these errors were encountered:
According to https://bybit-exchange.github.io/docs/v5/order/create-order:
orderLinkId: User customised order ID. A max of 36 characters.
str(uuid4()) returns exactly 36 chars long ID
Sorry, something went wrong.
No branches or pull requests
In last hour I started receiving above mentioned error during order create. I have checked the length of orderIdLink and it looks like this:
I have changed line 192 in exchanges/bybit.py
from:
"orderLinkId": order["custom_id"] + str(uuid4()),
to:
"orderLinkId": str(uuid4()),
and it works now.
No idea what has changed ... maybe Bybit changed the max allowed field length ?
The text was updated successfully, but these errors were encountered: