The disadvantages of using Python in trading strategy development
Having praised the advantages of using Python in algo trading, it’s time to mention its important shortcomings. As with many robust and universal ecosystems, these shortcomings are the other side of its advantages.
By any means, the most annoying thing about Python is speed, or, rather, the lack of it. Partly this is pre-determined by the fact that Python is an interpreted language; however, a much greater contribution to the overall slowness is made by weak typing and the same advanced memory management that we love so much when we develop code.
For readers who are not familiar with memory management, I’d recommend starting with a simple article at https://www.geeksforgeeks.org/memory-management-in-python/, which also has references for further reading. In brief, if the language relieves the coder of the burden of declaring variables, then every time the variable is referenced, a number of routines...