merged bid and ask queries into a single data structure