XChange
XChange copied to clipboard
Invalid Symbol Error with ByBit v5 API Integration
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:
Screenshot showing the attempted API call with the recommended symbol format:
Thanks!