beyondallrepair / gobinance

A Binance Client written in Go. Though there are many existing libraries, this one aims to provide an interface more idiomatic to go, and easier to mock out and test.
MIT License
0 stars 0 forks source link

Implement Symbol price ticker #10

Open harryrose opened 4 years ago

harryrose commented 4 years ago

See https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#symbol-price-ticker

Note that the API returns a single object if a symbol is provided, or an array otherwise. This should be implemented as two functions.

Naming conventions should follow those in #8, #9, #11