It would first have to connect all NPCs, all NPC bases, all actions of players (like shooting NPCs), all commodities (amount, worth, production rate, sale and buyer numbers), all potential war zones that shift over time and more into one huge melting pod of a network. To do so, you would literally have to overhaul the entirety of freelancer itself to remotely get a chance of managing this.
And even if you do, economy itself would need a lot more to be fit for a stock market. It's impossible. Sad but true fact.