yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.51k stars 826 forks source link

What it is ? Invalid api-key, IP, or permissions for action #168

Closed sergceh closed 6 years ago

sergceh commented 6 years ago

Hi, can't run python script in windows. 2018-01-26_11-49-35

sergceh commented 6 years ago

may be incorrectly recorded api 2018-01-26_13-19-28

yasinkuyu commented 6 years ago

https://github.com/yasinkuyu/binance-trader/wiki/Windows-Installation-for-Binance-Trader

sergceh commented 6 years ago

Thank you

sergceh commented 6 years ago

What is not right, the api correct default

yasinkuyu commented 6 years ago

Go API Center, https://www.binance.com/userCenter/createApi.html

Create New Key [✓] Read Info [✓] Enable Trading [X] Enable Withdrawals Rename config.sample.py to config.py / orders.sample.db to orders.db

Get an API and Secret Key, insert into config.py

API key for account access api_key = '' Secret key for account access api_secret = ''

sergceh commented 6 years ago

That's exactly what I did. At first I incorrectly wrote in quotes ''. The bot did not start. But now I've sort of rightly inscribed, the scanning is on, but with such a record between the lines.

sergceh commented 6 years ago

Do you need to leave quotation marks? Both at the end? Or clean? Sorry, for the stupid questions.

elysium-12 commented 6 years ago

They are single quotes, so you need to add your keys in between them: API key for account access api_key = 'XXXXXXXXXX' Secret key for account access api_secret = 'XXXXXXXX'

Ben21k commented 5 years ago

My case was IP access problem. Problem resolved once I updated my IP address onto my API key in binance webpage.

nasircugax commented 5 years ago

I have same case. but the problem just if I make sell order on marketname WPCBTC. for another marketname not problem, it can sell order. but just WPCBTC my bot can't create order. how can i solved this?