I would say that the stock market deals with selling and buying shares according to the confidence of the shareholders in say the price of metals and the quality of the companies' assets, whereas for currency exchange, it is based on the exchange rates between currencies and converting one to the other.