python3-krakenex icon indicating copy to clipboard operation
python3-krakenex copied to clipboard

New Kraken features Deposits & Withdrawal information

Open Eloise1988 opened this issue 5 years ago • 1 comments

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

Eloise1988 avatar Jul 17 '19 13:07 Eloise1988

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.

veox avatar Jul 18 '19 10:07 veox