There are electronic exchanges that trade until about 8:00 pm, and also in the morning before the 9:30 am open. There are fewer people trading then, so the bid and ask prices are farther apart.