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

Warn if there is insufficient funds with the exchange during a buy operation #9

Open
hasanakyol opened this issue Jul 9, 2017 · 0 comments

Comments

@hasanakyol
Copy link

hasanakyol commented Jul 9, 2017

When trying to buy from any exchange, you get the best possible price - however, if you have insufficient funds at that address you receive an error:

(node:21547) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Invalid order: not enough exchange balance for 0.00837328 ETHBTC at 0.095131
(node:21547) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This should be replaced with: "Insufficient funds at the $exchange exchange, buy from the second most convenient $convenientExchange exchange?"

#12 can be invoked

@hasanakyol hasanakyol changed the title Warn if insufficient funds with the exchange when trying to buy Warn if there is insufficient funds with the exchange during a buy operation Jul 9, 2017
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