XChange
XChange copied to clipboard
[binance] Add tickers
- Added mapping symbol -> currency pair (got from exchange info)
- Moved exchangeInfo-methods to MarketDataService
- Updated integration tests
- Added requests for idea http client
- Simplified dto's
Hi. Two requests for tickers: api/v3/ticker/price - Latest price for a symbol or symbols. api/v3/ticker/bookTicker - Best price/qty on the order book for a symbol or symbols. But there is no volume and quoteVolume and ticker time is only last moment.
If I understand correctly, we should get a 24 hour ticker. this api is fit: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
Hi. Two requests for tickers: api/v3/ticker/price - Latest price for a symbol or symbols. api/v3/ticker/bookTicker - Best price/qty on the order book for a symbol or symbols. But there is no volume and quoteVolume and ticker time is only last moment.
If I understand correctly, we should get a 24 hour ticker. this api is fit: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
Hi. Yep, good idea :+1: will change the implementation
done #4868
@timmolter
I propose to review and merge the https://github.com/knowm/XChange/pull/4868 first. Then I can integrate the changes to my branch
merged 4868
merged 4868
done, feel free to review
@timmolter ping