Simutrans (including Simutrans-Extended) is not generally designed to export data to the command line, except what is necessary for online multi-player games using the nettool interface. Scripted scenarios can interact with certain values, but, as Prissi points out, this feature has never been fully integrated into Simutrans-Extended.
There is not a system of keeping track of the value of unowned items, not least because many such items (e.g. industries, rivers, trees, ground objects such as rocks and ponds) do not, in fact, have any value assigned to them as the player never needs to interact with them financially.
The value of each player company is ascertainable in Simutrans-Extended, as there is an option for one player to be able to take over another player, and this requires the cost of doing this to be calculated.
The currency in Simutrans is known as SimuCents, incidentally.