Here is a classical understanding (including that of Ibn Khaldun) about the creation, acquisition of money, value and wealth, without contaminating it with human lust, greed or twisting of mind.
In short it says that labor is the true source of value. In order to be just, wealth should be acquired or purchased by labor; physical, intellectual, by the toil of body and/or mind.
Given this framework, how do we fit buy sell and sell buy shares on internet or over the phone for creating money? It would be interesting to know your viewpoint, what exactly the cause of this money is. Standalone gain without spending labor?