python3-krakenex
python3-krakenex copied to clipboard
New Kraken features Deposits & Withdrawal information
Versions
OS:
Python:
krakenex:
What are you trying to achieve?
Add new functionality to code. Kraken has added a new feature in the api -> private-user-funding https://www.kraken.com/features/api#private-user-funding
# code sample
k.query_private('WithdrawStatus')
k.query_private('DepositStatus')
What do you expect to happen?
Get list of deposits Get list of withdrawals
What happens instead?
New code that needs to be implemented
# error message
krakenex
does not implement methods one-by-one. In other words, the two you mention should already be available, by passing appropriate data
to query_private()
.
From the top of my head:
kraken.query_private('DepositStatus', data={'asset': 'ETH'})
kraken.query_private('WithdrawStatus', data={'asset': 'XBT'})
(Checked - yup, that works.)
For WithdrawStatus
, "Withdraw Funds" permission must be enabled on the key. This might be an intentional security feature; or it might be an issue, since method DepositStatus
does not require "Deposit Funds` permission. If so, it's an issue upstream.