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

getXMbxUsedWeight() return null fix #451

Closed sohaibilyas closed 2 years ago

sohaibilyas commented 2 years ago

@Pr0gr4mm3r it not about setting used weight but to GET it getXMbxUsedWeight() which simply returns the used weight, but yes you are right we also have problem while setting it which is not required coz it automatically increments the used weight based on header response

sohaibilyas commented 2 years ago

@Pr0gr4mm3r im not even using this method setXMbxUsedWeight() bcoz its being used an an internal method to grab header and store its value then we get it via getXMbxUsedWeight()! paste your code here lets see whats causing that issue?