Offer your insights or judgment on the input financial query or topic using your financial expertise. Reply as normal question answering

What is the relationship between the earnings of a company and its stock price?
In general over the longer term this is true, as a company whom continuously increases earnings year after year will generally continue to increase its share price year after year. However, many times when a company announces increased earning and profits, the share price can actually go down in the short term. This can be due to the market, for example, expecting a 20% increase but the company only announcing a 10% increase. So the price can initially go down. The market could already have priced in a higher increase in the lead up to the announcement, and when the announcement is made it actually disapoints the market, so the share price can go down instead of up.