I develop and run algorithms for trading using the Lean framework (https://www.lean.io). This is the open source engine behind the QuantConnect platform.
Running code locally means I don’t have to pay QuantConnect to develop and test algorithms. However, it also means that I have to understand the framework and spend time getting it up and running. There are loads of code examples, but there is only sparse information on running algorithms locally (if I’m wrong then please reach out and provide some links!)