Thanks toast. My bot required a new method in the btsx class , "get_last_fill"
def get_last_fill (self, asset1, asset2):
last_fill = -1
response = self.request("blockchain_market_order_history", [asset1, asset2, 0, 1])
for order in response.json()["result"]:
last_fill = float(order["ask_price"]["ratio"]) * 10
return last_fill