Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent TICKER implementations #936

Open
L1nkus opened this issue Dec 7, 2022 · 2 comments
Open

Inconsistent TICKER implementations #936

L1nkus opened this issue Dec 7, 2022 · 2 comments
Labels

Comments

@L1nkus
Copy link

L1nkus commented Dec 7, 2022

TICKER sometimes means 'bookTicker' (real-time best bid and ask updates), but sometimes 'ticker' (slow, usualy ever second updates with a bunch of extra info like volume in last 24h).

E.g. on binance it correponds to 'bookTicker':

    websocket_channels = {
    L2_BOOK: 'depth',
    TRADES: 'aggTrade',
    TICKER: 'bookTicker',
    CANDLES: 'kline_',
    BALANCES: BALANCES,
    ORDER_INFO: ORDER_INFO
}

But on gateio to 'ticker', despite that the 'bookTicker' endpoint is also available on gateio:


websocket_channels = {
     L2_BOOK: 'spot.order_book_update',
     TRADES: 'spot.trades',
     TICKER: 'spot.tickers',
     CANDLES: 'spot.candlesticks'
}

Are there plans to make TICKER, or to maybe have L1_BOOK correspond to 'bookTicker', while TICKER to 'ticker' endpoints?

@L1nkus L1nkus added the bug label Dec 7, 2022
@bmoscon
Copy link
Owner

bmoscon commented Dec 9, 2022

probably will just remove ticker - the value it gives seems marginal and too many inconsistencies like these

@L1nkus
Copy link
Author

L1nkus commented Dec 9, 2022

Thank for the response.
Though hmmm, idk if I'd call it marginal. For example on Binance it's the only way to get real-time updates along trades, but through just trades you can't obtain quantities on best levels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants