sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
6.06k stars 2.21k forks source link

transfer_dust() for multiple assets API Error 5001 #1109

Closed minotaur-king closed 2 years ago

minotaur-king commented 2 years ago

Hello!

This works:

dust = 'BTT,XLM'
client.transfer_dust(asset=dust)

However, the following didn't because of an unsupported asset:

dust = 'BTT,XLM,BZRX'
client.transfer_dust(asset=dust)

I was trying to convert multiple assets a while back and received an API 5001 error (Asset not Supported). Do we have a list of assets that are not supported by transfer_dust()? Just so we can exclude them from the argument first, and be able to convert the rest.

Or, might the transfer_dust() function get an enhancement to throw an exception stating which assets in the supplied argument are not supported. This would be very helpful if in case we would be converting tens or hundreds of assets in one run, specially that we may only do so every 6 hours.

Thank you!

minotaur-king commented 2 years ago

BZRX to OOKI https://bzx.network/blog/bzrx-to-ooki-migration