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

Execution failed Code: -2010 #165

Closed
BenePhetes opened this issue May 11, 2021 · 8 comments
Closed

Execution failed Code: -2010 #165

BenePhetes opened this issue May 11, 2021 · 8 comments
Labels
question Further information is requested

Comments

@BenePhetes
Copy link

Hi to All,
I was trying to find what is the meaning of Code: -2010?

Stop price would trigger immediately.Stack:Error: Stop price would trigger immediately.
at /srv/node_modules/binance-api-node/dist/http-client.js:93:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async execute (/srv/dist/server.js:1:18904)
at async execute (/srv/dist/server.js:1:5317)
at async CronJob. (/srv/dist/server.js:1:22789)

@BenePhetes BenePhetes added the question Further information is requested label May 11, 2021
@chrisleekr
Copy link
Owner

That means exactly as said. Are you testing in the testnet?
I often see that message in the testnet, not in live.

@BenePhetes
Copy link
Author

I'm on live, and I made one buy order successfully.
Then when it triggers to sell order then the error came out.

@chrisleekr
Copy link
Owner

Ok, then what is your configuration?

@BenePhetes
Copy link
Author

Candle
Interval: 1m
Limit: 60

Sell
Trigger: 1.3
Stop: 1.25
Limit: 1.24

@chrisleekr
Copy link
Owner

@itjwd-works
Your sell configuration is wrong. Read README again, please - https://github.com/chrisleekr/binance-trading-bot#sell-signal

@BenePhetes
Copy link
Author

I see, sorry for that - just a noob here... 😅

@chrisleekr
Copy link
Owner

chrisleekr commented May 11, 2021

This will be a good issue for others when they have the same issue. :)
And I think I should add validation on the setting screen.

If you can, please add to Wiki, so others can refer your story - https://github.com/chrisleekr/binance-trading-bot/wiki/Troubleshooting

Thanks!

@BenePhetes
Copy link
Author

Sure, will do that.

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

No branches or pull requests

2 participants