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

Gate.prototype.sell #1

Closed
roderickObrist opened this issue Feb 21, 2018 · 1 comment
Closed

Gate.prototype.sell #1

roderickObrist opened this issue Feb 21, 2018 · 1 comment

Comments

@roderickObrist
Copy link

Hey mate,

Just a heads up, you have API_URL + BUY_URL.

Gate.prototype.sell = function (currencyPair, rate, amount, callback) {
    let form = {currencyPair: currencyPair, rate: rate, amount: amount};
    let header = {};
    header.KEY = this.key;
    header.SIGN = this.getSign(querystring.stringify(form));
    Request(
        {method: "POST", url: API_URL + SELL_URL, headers: header, form: form},
        callback
    );
};
@bhusalb
Copy link
Owner

bhusalb commented Feb 21, 2018

Thanks for pointing out, I will fix it ASAP.

@bhusalb bhusalb closed this as completed Feb 21, 2018
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

2 participants