how trade happens in market

#1
i would like to know here rules governing the trades means if someone has ordered to buy a stock on 100 and prices jump from 103 to 99 what will happen to this order. if it wil remain pending will it be loss for both buyer and seller. bacially i want to know the algorithm of trade
 

Similar threads