I realized that in my backtest, order is filled very slowly even though the stock has enough liquidity. I attached a small testing program below which uses AKAM as an example. I try to buy 200 share of AKAM on Jun 30, 2017 12:30 pm, but it is not filled completely after 15 min. If you check yahoo finance, the volume is more than 20k every 15 min. So how come 200 share takes that long? Could someone please advise how the order is filled in the backtest? Thanks