|
|
|
|
|
by JSR_FDED
741 days ago
|
|
I wrote a trading system where the strategies are written in Lua. It has been a delight, fast and simple. The traders have the expressivity of a full programming language and I can add any function to that language and provide any data as well so that their programming (and execution) sandbox is extremely ergonomic and suited to their specific task. In other words, a trading DSL. Other code outside the sandbox pulls in up to date price data and if certain safety rules are violated will automatically close out positions. So even if the traders code their way into an infinite loop or make other mistakes, the supervisor can step in and automatically prevent disaster. Using Lua to make a language for others has been a wonderful experience. FYI, it was approx 11K lines of Lua). |
|
Eventually they got tired of me pitching for it and fired me. How did you ever get managerial buy-in for something like this?