adshao / go-binance

A Go SDK for Binance API
MIT License
1.48k stars 664 forks source link

change /fapi/v1/ticker/price to v2 version /fapi/v2/ticker/price #529

Closed tandem97 closed 6 months ago

tandem97 commented 7 months ago

GET /fapi/v2/ticker/price: this is v2 endpoint for querying latest price. It has same parameters and response as the GET /fapi/v1/ticker/price, and it offers lower latency and consume less of the IP rate limit. Please note that the GET /fapi/v1/ticker/price will be deprecated in the future, with the exact timing to be determined.

https://binance-docs.github.io/apidocs/futures/en/#change-log