0

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

martineau
  • 119,623
  • 25
  • 170
  • 301
Screwtape007
  • 185
  • 1
  • 2
  • 16
  • Please post the full traceback of the error. What make you think this function can do what you want? Have you read the documentation? – martineau Oct 03 '20 at 17:56

1 Answers1

0

turns out the correct way is:

order_book = client.get_order_book(symbol= 'BTCUSDT')
Screwtape007
  • 185
  • 1
  • 2
  • 16