jaggedsoft / php-binance-api

PHP Binance API is an asynchronous PHP library for the Binance API designed to be easy to use. https://github.com/binance-exchange/php-binance-api
MIT License
605 stars 497 forks source link

Too much request weight used; current limit is 1200 request weight per 1 MINUTE. #476

Open Sadam-beshr opened 2 years ago

Sadam-beshr commented 2 years ago

Too much request weight used; current limit is 1200 request weight per 1 MINUTE.

I need to keep track of remaining rate limits, you have to call

`$weigh=$api->getXMbxUsedWeight();

print_r($weigh);`

But it comes back empty

What is the code in php? To fetch the current weight you have reached to avoid IP ban