XChange icon indicating copy to clipboard operation
XChange copied to clipboard

Invalid Symbol Error with ByBit v5 API Integration

Open marcelv3612 opened this issue 1 year ago • 4 comments

Description: The recent integration of ByBit v5 API support, as introduced in Pull Request #4771, appears to have a critical bug affecting symbol validation. Despite following the symbol format guidelines provided in ByBit's official API documentation, requests to create orders are failing with a "params error: symbol invalid" message. This issue has been identified and corroborated by multiple users, including @damiano1996.

Steps to Reproduce:

Implement a call to ByBit's v5 API for creating an order using the XChange library post-integration of PR #4771. Ensure the symbol format adheres to the specifications in ByBit's official documentation. Execute the call. Expected Result: The order is successfully created without errors, recognizing the symbol as valid.

Actual Result: The call fails with the following error message: "params error: symbol invalid". This error persists even when using symbols that are clearly valid according to ByBit's official documentation.

Screenshots:

Screenshot demonstrating the error message:

image

Screenshot showing the attempted API call with the recommended symbol format:

image

Thanks!

marcelv3612 avatar Feb 08 '24 15:02 marcelv3612