Hello "enter`name`here", I'm struggling to get authenticated using Kraken API, I saw your messages on the forum. Do you mind if I ask you some questions?
I use to succeed to connect to bitfinex api and do a simple trading bot, but with kraken they doesn't give much infos on how to get authenticated.
HTTP header: API-Key = API key API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 decoded secret API key
POST data: nonce = always increasing unsigned 64 bit integer otp = two-factor password (if two-factor enabled, otherwise not required)
Regarding base64 decoded secret api: Do you decode it using ASCII or UTF-8 ?
From what I understood, usualy the post message is broken down in 3 part : the header, the payload and the signature.
In the kraken doc, it seems that you put everthing in the header : the api key, the signature, the endpoint(getBalance, order...). So if you pass an order, where do you put the details :in the header too? Or do you create a payload?
I'm writing my program in nodejs, I don't know if it's an important info... If you could help even just a bit that would be so appreciated
Take care, Mac Lovin
|