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

New Kraken features Deposits & Withdrawal information #115

Open
Eloise1988 opened this issue Jul 17, 2019 · 1 comment
Open

New Kraken features Deposits & Withdrawal information #115

Eloise1988 opened this issue Jul 17, 2019 · 1 comment
Labels

Comments

@Eloise1988
Copy link

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
@veox
Copy link
Owner

veox commented Jul 18, 2019

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 veox added the question label Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants