go-binance
go-binance copied to clipboard
Can't find a way to call /api/v3/ticker/price with multiple symbols
I am struggling to find how to gather prices of multiple symbols (not all of them at once, as happens when providing no value to the "symbol" Api parameter). I did not find a related Github issue either. As per https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#symbol-price-ticker, it is possible on the Binance API's /api/v3/ticker/price endpoint through a "symbols" parameter, but I don't find it in go-binance.
Am I missing something ?
I am struggling to find how to gather prices of multiple symbols (not all of them at once, as happens when providing no value to the "symbol" Api parameter). I did not find a related Github issue either. As per https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#symbol-price-ticker, it is possible on the Binance API's /api/v3/ticker/price endpoint through a "symbols" parameter, but I don't find it in go-binance.
Am I missing something ?
Hi @blarsy , symbols is a new parameter introduced in spot v3 API, it's appreciated that if you could submit a pr to add it, or I'll add it later.
Ok, will do. It will be my first PR, but it's never too late to increase one's awesomeness ;-)
Oops, wrong button :-/
I see the PR has been merged. This issue should therefore be closed.