ericsomdahl / python-bittrex

Python bindings for bittrex
MIT License
585 stars 283 forks source link

INVALID_PERMISSION when trying to withdraw #100

Closed AriEi4 closed 6 years ago

AriEi4 commented 6 years ago

After successful login:

from bittrex import Bittrex
my_bittrex = Bittrex('', '')
balances = my_bittrex.get_balances()
x = my_bittrex.withdraw('BTC', 1, '')
print('done')

I get the balances in 'balances', but in 'x' I get: {u'message': u'INVALID_PERMISSION', u'result': None, u'success': False}

Python 2.7, any ideas?

skyl commented 6 years ago

Did you enable deposits and withdrawals for your API key in the Bittrex interface?

AriEi4 commented 6 years ago

Nope. Is there any way to do it with the API and not with the web interface?

ericsomdahl commented 6 years ago

no, you must login to the web interface to set permissions