contek-io / io.contek.invoker

MIT License
39 stars 26 forks source link

Binance: Add GetTickerPrice #42

Closed Cypher01 closed 2 years ago

Cypher01 commented 2 years ago

Added GetTickerPrice endpoint to Binance Delivery and Futures API.

Additionally fixed some API models.

Don't wonder that for Binance Futures the request is split into GetTickerPrice and GetTickerPriceAll. The reason is, that even the endpoint is the same, the response is different when symbol is sent or not (_Price vs ArrayList<_Price>).

Cypher01 commented 2 years ago

Unfortunately this PR hasn't been approved/merged for several months.