How the stock market really works: