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

APISIGN_NOT_PROVIDED #113

Open
SonerAbay opened this issue Dec 24, 2017 · 3 comments
Open

APISIGN_NOT_PROVIDED #113

SonerAbay opened this issue Dec 24, 2017 · 3 comments

Comments

@SonerAbay
Copy link

SonerAbay commented Dec 24, 2017

I'm having this problem when I call limit buy method. I'm using bittrex API through python-bittrex.

buylimit(market, amount, price)

My script supposed to buy the coin saved in a .txt file. It checks every second whether something saved or not if yes, it should buy that coin via Bittrex API. It can get the latest price of the coing via api but limit buy doesn't work. No error etc. It just doesn't work. I gave proper permissions to my API on bittrex. And set up everything(key etc.) correctly. How can I solve this?

@pigslayer12
Copy link

its buy_limit not buylimit, hope it works now

@Super-Fly
Copy link

Super-Fly commented Jan 31, 2018

You can get this error when you even pass wrong parameters to the API, for example:

If you provide to amount param the number of BTC that you want to spend, not the amount of the currency that you want to buy, it will give you the APISIGN_NOT_PROVIDED error.

Maybe we have to mention that type of error in the readme file?

@tarun1475
Copy link

Look at this function it is working fine for me and tested.

function calculateSign(url){
var sign=crypto.createHmac('sha512',constants.bittrexCredentials.SECRET);

sign = sign.update(url,'ascii');
sign = sign.digest('hex');
return sign;

}
Full Implementation repo : https://github.com/tarun1475/Nodejs-Bittrex-Client

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

4 participants