A closed-ended fund has a fixed number of shares and a set investment period, while an open-ended fund that lets you buy and sell shares anytime. Closed-ended funds only accept new investors for a specific period, then the fund is closed to new investments.