I am using the following code to fetch the latest 2 candels but it always return none:
records = bitmex_client.Trade.Trade_getBucketed(symbol=\'XBT\', binSize