Skip to content
New issue

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

Switch Leverage V2 request - signature error #2

Open
hellseyfer opened this issue Mar 1, 2023 · 0 comments
Open

Switch Leverage V2 request - signature error #2

hellseyfer opened this issue Mar 1, 2023 · 0 comments

Comments

@hellseyfer
Copy link

I'm using perperual swap api V2

the request Switch Leverage is giving me signature error code despite beign correct.

I'm doing this:

signature = sign_hmac.get_signature(
bingx_secret, f'timestamp={timestamp}&leverage={leverage}&side={side}&symbol={symbol}&recvWindow=12000')

params = {'timestamp': timestamp, 'signature': signature, 'leverage': leverage,
'symbol': symbol, 'side': side, 'recvWindow': 12000}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant