So I'm a newer beginning program in Python. I've been trying to piece together a program and I'm using the Python-Binance wrapper, but I can't figure out how to exactly enter in this parameter to get me return information in here.
I'm trying to get information for a coin pairing called ADAETH for an example. this is the line, but I can't figure the syntax for calling this. I feel like I'm missing something obvious here.
get_order_book(**params) Get the Order Book for the market
https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#order-book
Parameters: •symbol (str) – required •limit (int) – Default 100; max 1000
Returns:
API response
"lastUpdateId": 1027024,
"bids": [
[
"4.00000000", # PRICE
"431.00000000", # QTY
[] # Can be ignored
]
],
"asks": [
[
"4.00000200",
"12.00000000",
[]
]
]