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

NewTestNewOrder returns error code=-1102, msg=Mandatory parameter 'signature' was not sent #24

Closed
michelemendel opened this issue Mar 17, 2024 · 2 comments

Comments

@michelemendel
Copy link

This endpoint is "/api/v3/order/test", so I don't think there should be a signature.

Full error response:
code=-1102, msg=Mandatory parameter 'signature' was not sent, was empty/null, or malformed

@naughtybabyfirst
Copy link

You need to refer to the official documentation to see how to generate a signature and how to use it.

@alplabin
Copy link
Contributor

Since the endpoint security type is TRADE, a signature is required.

If you had like to test the function and learn how to add a signature, I recommend checking out the following example file: https://github.com/binance/binance-connector-go/blob/main/examples/account/TestNewOrder/TestNewOrder.go

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

3 participants