In the context of housing, investment may look like a renovation to improve desirability or replacing a small number of units with a larger number of units. In contrast, trading would involve maintaining the status quo in hopes that the desirability of a neighbourhood or relative scarcity would increase the value of a property.
That being said, I don't know how you would create a system of investment that doesn't create an environment for speculative trading. In would be difficult to encourage the former without a means of selling off the investment at a later date. Reducing the frequency of trading wouldn't help in the case of housing since those are long term investments to start with.
Remove the government subsidies and guarantees and improve price transparency.