So the program most likely is flat: a bunch of global variables (and possibly memory addresses), and instructions ordered by line number, rather than functions or methods.
No line numbers except for goto labels, but gosub is the challenge for transpilation.
(However it wouldn't surprise me if older 'line number' programs still mostly worked. iirc VB6 also supported this.)
Maybe I missed it, but are you still using the Powerbasic compiler or have you worked around that somehow?
No real functions, only `gosub` and `goto` so everything is a global variable.
I think even assembler for x86 is easier to unravel.
But the best way I can answer your question. WSR does not claim to simulate real markets. It probably leans too much into fundamentals for our time, at least for the blue chip stocks in the game. What is actually is is a M&A and tax evasion simulator on top of a financial market sandbox to create tax implications to be avoided.