by Loggy48 » Thu Nov 25, 2021 1:30 pm
I have a multi-model, multi-trade strategy that runs on Trading Station which is OK but tracing and debugging can be messy, particularly for a complex strategy, despite a number of tools that I have. I am also Windows-phobic - for me development in Linux is always 100x quicker and easier to do than in Windows, with mean time to BSOD/hiccup/dump measured in days rather than years even in a Server environment. In fact I avoid Windows if at all possible. [Microsoft should have done what Apple did with OS/9 all those years ago, ditched it, used *nix and rewritten the graphics and micro-kernel. There is a good reason why the whole internet architecture and all supercomputers use Linux.]
I tried Strategy Runner but couldn't get it to work. Anyway I need the whole process to be available and not wrapped up in something I can't get at when an error occurs - I may as well use Trading Station.
As required by TS, all coding is in Lua, as are a number of supporting programs that are better running at the same time on the same platform.
While I've nothing against Python or C, I don't want to spend a lot of time learning them then porting everything over. Lua is simple, elegant and sufficient, particularly the JIT implementation which I run on a multicore machine using Lanes. For a language frequently used for games with many async network, competitor, mouse and keyboard events, it must be a natural partner for ForexConnect or REST, with http-lua and coroutines to handle the asynchronous events.
A Lua port was suggested 10 years ago but has anyone done this yet? Is there any reason why it can not be done?
TIA