Skip to content

Binance is returning wonky USDC prices; use BUSD or USDT #12

Description

@defuse

I noticed in lightwalletd's logs that it was excluding the price from binance because it was 55.8 whereas the actual price of ZEC was around 42.7. Their APIs for USDC prices seem to be broken, not returning the correct price for all the coins I tried.

I was able to get the correct price using any of https://api.binance.com/api/v3/ticker/price?symbol=ZECBUSD or https://api.binance.com/api/v3/ticker/price?symbol=ZECUSDT, https://api.binance.com/api/v3/avgPrice?symbol=ZECBUSD, https://api.binance.com/api/v3/avgPrice?symbol=ZECUSDT.

I'm not sure what's going on with the USDC prices over at binance, but you might want to change the Binance URL in lightwalletd to one of the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions