Skip to content
ePascalC edited this page Jan 26, 2022 · 9 revisions

Can I use this PHP library for binance.us?

Most of the functions should work, although this library is written for binance.com. Modify the addresses in the first lines of the php source file and of course create your API keys on binance.us and not on binance.com. See discussion on #362

Can I use this PHP library for trbinance.com?

It seems not, please refer to the discussion on #380

Some assets like KP3R, HOT, HEGIC do not give a BTC value in the balance.

Only assets that are on the BTC market have a BTC value and there are no HOTBTC or HEGICBTC symbols. See #339 with some PHP code examples to work around this.

How to get the HTTP headers after running a command?

You could get all headers or just the currently used weight. See #454 for an example.

How can I fix my LOT_SIZE error?

First of all, instead of a buy (or sell), maybe you are looking for marketQuoteBuy (or marketQuoteSell)? If you want to buy BNBBUSD for an amount of 50 BUSD, then go for marketQuoteBuy! If you need to program things yourself, have a look at #23 for more info and even some code in the comments that might help you out.