Stocks

If you buy stocks does it give you money per hour or do you really need to sell them if they are worth more?