Open sprototles opened 3 years ago
That's a good point, how would we tell that the coin was bought via the bot and not purchased by the user?
That's a good point, how would we tell that the coin was bought via the bot and not purchased by the user?
No need, I think all users will use a new binance account for bot use.
you can store initial balance status and then substract inital from current after every iteration
for key,value in keywords.items():
print(key,': ',float(balance_at_start[key]['free']) - float(client.get_asset_balance(asset=key)['free']))
That's a good point, how would we tell that the coin was bought via the bot and not purchased by the user?
No need, I think all users will use a new binance account for bot use.
Or disable the bot when doing manual trading.
you can get the order ID of the order placed by the bot and track its status. You will have all information needed: status, quantity, price,....
you can get the order ID of the order placed by the bot and track its status. You will have all information needed: status, quantity, price,....
i think this is possible ,,, and stored in database ,,, mongodb for example
i think it would be better to directly read available coins balance from wallet
balance = client.get_asset_balance(asset='BTC')