Kraken Bitcoin exchange platform
Questions tagged [kraken.com]
63 questions
0
votes
1 answer
getting 'SeriesGroupBy' object has no attribute 'high' in pandas resample of crypto data
So when loading kraken.com historical datafeed into pandas to convert from tick data (time and sales) to OHLC (Open,High,Low,Close) data I run into an issue where I am not able to resample for 'high' & 'low' as they throw errors, but 'first',…

jamason1983
- 419
- 1
- 3
- 11
0
votes
0 answers
Writing API information to CSV misses information
I wrote a simple program that gets Bitcoin data from Kraken and writes it to a CSV file every 10 seconds. I timestamped the data so I know when it's coming in. The issue I'm having is that here and there the program will cut out for an hour or two…

jcm42
- 1
0
votes
0 answers
Generate python UNIX timestamp
I am working with the kraken and binance APIs. The binance API returns a time like this: 1612722603026 inside of the API response. The kraken API does not return a time for the API response so I am trying to generate a timestamp to match the one…

Alfie Danger
- 377
- 5
- 23
0
votes
1 answer
PyKrakenAPI KeyError on pd.DataFrame(res['result'][pair])
This problem exists in pykrakenapi version 0.1.8, but is fixed in 0.1.9
When using Kraken's REST API together with pykrakenapi, some trading pairs (such as the very popular XBTUSD) produce a KeyError, even though the pair exists in Kraken's Asset…

Tim Stack
- 3,209
- 3
- 18
- 39
0
votes
1 answer
Valid YubiKey configuration for kraken.com?
I am getting "Bad OTP" and "Bad Data" when trying to set my YubiKey as 2FA option on https://www.kraken.com.
How to configure the YubiKey token so it is accepted as valid 2FA device?

Jan Kapciar
- 21
- 2
0
votes
2 answers
Cast a json in a properly struct instead of use an interface
i'm struggling to create a data structure for unmarshal the following json:
{
"asks": [
["2.049720", "183.556", 1576323009],
["2.049750", "555.125", 1576323009],
["2.049760", "393.580", 1576323008],
["2.049980",…

alessiosavi
- 2,753
- 2
- 19
- 38
0
votes
1 answer
Deserialise a Kraken JSON in C#
I used to be loading data from Cryptocompare's API.
This post got me what I wanted for Cryptocompare.
Parsing Cryptocompare API Json data in C#
However, I notice that this API is not bulletproof, it's not always returning an answer. So I want to use…

Yeahson
- 139
- 6
0
votes
0 answers
python Logic mixup with krakenapi
Can anyone see the mistake in code
def add_kraken_order():
url = 'https://api.kraken.com/0/private/AddOrder'
key = 'PuwrA+0sssssssssNOTREALsssssssssssssssssq5qj'
secret = 'NVZh7FlQBpssNOTREALssssssssssKBwq4CYSSIjspXR6XGg=='
…

user4858969
- 21
- 4
0
votes
1 answer
Getting the latest pair value with Kraken API
I am trying to get the latest value/rate for a given pair using the Kraken API, but I cannot really figure it out.
Is there anyone that knows how to do it?
I am using the C# code provided on Git (https://github.com/trenki2/KrakenApi) and thought…

progLearner
- 123
- 10
0
votes
0 answers
Python: requests returning 403
I used the requests package to communicate to an api (from api.kraken.com). Everything worked fine until suddenly the api keeps responding with an 403 error. I still can browse the api.
My code (that used to work):
import requests
s =…

F.M.F.
- 1,929
- 3
- 23
- 42
0
votes
0 answers
Matlab Kraken Authenticated API Invalid Signature
I too like many others am having difficulty connecting Matlab to Kraken from bastardised sources and a clear answer does not exist as yet. Hoping someone can clarify what may be a type error which results in an "EAPI:Invalid signature" error in…

bondtrade
- 1
- 1
0
votes
1 answer
Kraken Api, withdrawal issue "Invalid asset"
I'm trying to make a withdraw from my Kraken account to another platform, but i always get this error response:
EFunding:Invalid asset (KrakenClient::ErrorResponse)
Using this code:
@kraken = KrakenClient.load
def withdraw_order_kraken
params =…

gvdh
- 65
- 1
- 8
0
votes
1 answer
Python3: Custom Encrypted Headers URLLIB - KrakenAPI
Alright, so I'm a little outside of my league on this one I think.
I'm attempting to facilitate custom HTTP headers what is noted here:
API-Key = API key
API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST…

Samuel
- 27
- 4
-1
votes
1 answer
why do i get 403 request when trying to get available balance from kraken C++
im using open ssl, cpr and chrono to access krakens restful api to recieve account balance from kraken, but i get a 403 request.
code:
#include
#include
#include
#include
#include
#include…

John Doe
- 47
- 6
-1
votes
1 answer
Kraken API authentication sample converted from python to Google apps script is not returning the same output
I am trying to convert python kraken API auth to Google Script to use it in a Google Spreadsheet, but with no luck.
# python sample
def get_kraken_signature(urlpath, data, secret):
postdata = urllib.parse.urlencode(data)
encoded =…

mArtinko5MB
- 756
- 8
- 18