Hi , Im new to binance api . I would like to know how to create a listen key for futures and how to get ask and bid last prices .
I followed the documentation
https://binance-docs.github.io/apidocs/futures/en/#user-data-streams
but when I run this :
requests.post(“https://fapi.binance.com/fapi/v1/listenKey”)
I get this error
{“code”:-2014,“msg”:“API-key format invalid.”}
hank you in advance