Closed obergaba closed 4 months ago
Is it a good idea to 'hardcode' the parameter "category=spot" inside the convertRequestForRest function? I think it is OK.
:tada: This PR is included in version 6.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
The 2 commented target links were not used.
Is it a good idea to 'hardcode' the parameter "category=spot" inside the convertRequestForRest function? I believe it's intrinsic that when the user specifies the exchange as 'bybit' in the request constructor in the main, rather than 'bybit-derivatives', their intention is to operate within the spot market. Previously, this wasn't an issue because we had different endpoints for spot and derivatives.
Now for every request the user needs to remember to add it like this in the main: