The stock price is determined by the forces of demand and supply in real-time. The real-time stock price on a stock exchange reflects the price of the trade at which the maximum number of shares have been transacted by the market participants.