I am trying to get simillar ask and bid price of BTCUSD_PERP with binance website by using future api.
I imported binance_d library.
When I use request function, I got simillar prie of BTCUSD.
I attached sample code to compare the price.
Could you check ask and bid price?
sub_client = SubscriptionClient(api_key=g_api_key, secret_key=g_secret_key)
sub_client.subscribe_symbol_bookticker_event(“btcusd_perp”, callback, error)
request_client = RequestClient(api_key=‘xxxx’, secret_key=‘xxxx’,url=‘https://dapi.binance.com’)
result = request_client.get_order_book(symbol = “btcusd_perp”, limit = 10)