ccxt: Bibox withdraw apikey error
Dear @kroitor
I’m having an issue with the api implementation for bibox, see details below:
- OS: Centos 7
- Programming Language version: PHP 7
- CCXT version: master
- Exchange: bibox
- Method: withdraw
$bibox->withdraw('LTC', 1.0, 'litecoin address', null, array('totp_code' => '123456', 'trade_pwd' => '123456'));
results always in the following error:
{"error":{"code":"3011","msg":"接口不支持apikey请求方式"}}
And of course I’m using the correct totp_code and trading password parameters. All other trading functions (placing orders, cancels, trade history, etc) work fine, so it looks like it has something to do with the signing.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 22 (20 by maintainers)
@kroitor and others: Withdrawals via bibox api are fixed! It suddenly started to work since the end of october. But be careful, it looks like its still buggy. I did multiple withdrawals after each other (with 30 secs delay between them, due to 2fa) to different addresses, but the withdrawals all ended up in the first address. You’re all warned. 😉
Thanks @kroitor for researching this!
And if I see the method suddenly starts working in the future (our bot will notice this 😃 I’ll give an update here.
After checking with Bibox team on telegram, it would appear that their API does support withdrawals. The only thing they answered for now is below but I will dig further. @kroitor
@rjruigrok ↑ I guess, case closed? %)
@rjruigrok need to make sure it’s not an error in our implementation first, but I definitely will. Thx for your responsiveness as well!
Thanks! If you need any help, possibly it’s related to bibox api itself, if you suspect this then we can both try to push their support to fix this.
@kroitor see the output below. With the exact snippet, including the date setting. Btw, the script fires 3 api calls in total. First getting all market information, then coin info, then the actual withdraw. Below is output of the last call:
@kroitor Nope, but have 2fa via totp enabled. When i do a withdrawal using the website, I have to enter the trading pwd and authenticator totp code, and then able to do succesful withdrawals
I’m going to try your shortest possible snippet now. Brb!
never mind, the addr_remark was added by myself because I called it with an empty string as the param. But even when it’s not there (and thus not in body, verified this), problem persists.