python-binance
python-binance copied to clipboard
TypeError: get_orderbook_tickers() got an unexpected keyword argument 'symbol'
Describe the bug TypeError: get_orderbook_tickers() got an unexpected keyword argument 'symbol'
To Reproduce
client.get_orderbook_tickers(symbol='BTCUSDT')
Expected behavior using symbol parameter should be able to get the orderbook ticker only for that symbol
Environment (please complete the following information):
- Python version: 3.8.10
- Virtual Env: Jupyter Notebook
- OS: Ubuntu 20:04.4 LTS
- python-binance version: v1.0.15
Logs or Additional context
Maybe there is some history about this API, since python-binance split this API into two methods: get_orderbook_ticker() and get_orderbook_tickers().
The plural form will call ticker/bookTicker API without any param, while the singular one is what you want.