MCPcopy Create free account
hub / github.com/ccxt/ccxt / fetch_bids_asks

Method fetch_bids_asks

python/ccxt/bybit.py:2634–2646  ·  view source on GitHub ↗

fetches the bid and ask price and volume for multiple markets https://bybit-exchange.github.io/docs/v5/market/tickers :param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned :param dict [par

(self, symbols: Strings = None, params={})

Source from the content-addressed store, hash-verified

2632 return self.parse_tickers(tickerList, parsedSymbols)
2633
2634 def fetch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
2635 """
2636 fetches the bid and ask price and volume for multiple markets
2637
2638 https://bybit-exchange.github.io/docs/v5/market/tickers
2639
2640 :param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
2641 :param dict [params]: extra parameters specific to the exchange API endpoint
2642 :param str [params.subType]: *contract only* 'linear', 'inverse'
2643 :param str [params.baseCoin]: *option only* base coin, default is 'BTC'
2644 :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/?id=ticker-structure>`
2645 """
2646 return self.fetch_tickers(symbols, params)
2647
2648 def parse_ohlcv(self, ohlcv, market: Market = None) -> list:
2649 #

Callers

nothing calls this directly

Calls 1

fetch_tickersMethod · 0.95

Tested by

no test coverage detected