How to use get_orderbook_tickers for a specific symbol?

546 views Asked by At

I am trying to get bid/ask prices for BTCUSDT i am not sure how to specify this in my statement:

order_book = client.get_orderbook_tickers()

I have tried:

order_book = client.get_orderbook_tickers("symbol"= "BTCUSDT")

I get errors

1

There are 1 answers

0
Screwtape007 On

turns out the correct way is:

order_book = client.get_order_book(symbol= 'BTCUSDT')