Hello guys,
I am new here, I have a simple question.
I just want to know if there is an easy way to get the amount of BUSD for example that I have on my account from the python futures api
Thanks You
Have a nice day
Hello guys,
I am new here, I have a simple question.
I just want to know if there is an easy way to get the amount of BUSD for example that I have on my account from the python futures api
Thanks You
Have a nice day
Not sure which python library you are referring to. But this is the endpoint for getting balance of your account (Binance API Documentation). You can find the corresponding method to call in the library.
I find a solution I have just created a dictionary that takes all the coins from the client. balance method, and iterate through all the coins and get the coins that have interest for me I post the snippet in case some people need it.
dict = {'key': 'value'}
all_balance = client.balance()
for currency in all_balance:
dict[currency['asset']] = currency['balance']