There are already many python packages where you can back test trading strategies. Some of them also include a framework for automatic execution and complete position management.
I can't give an exhaustive list but I'll pick out:
- Quantopian's zipline
- BT
- pythalesians
- pyalgotrade
There is a longer list here.
Does the world really need another one? Well, probably not, but today I've released one anyway (this explains at least partly why it's been a month since my last post, since I've spent the last month writing it).
You can find pysystemtrade on github, here. This is version 0.0.1. It provides a basic backtesting enviroment that implements the 'staunch systems trader' example in my book. And it's GPL 3 open source.
However it's my intention that this will become a fully featured back tester that will include all the optimisation and calibration techniques that I've discussed here on the blog, and in my book. It will also, eventually, include a complete end to end system that can be used for fully automated futures trading with interactive brokers.
More on my blog, in the usual place.
GAT
I can't give an exhaustive list but I'll pick out:
- Quantopian's zipline
- BT
- pythalesians
- pyalgotrade
There is a longer list here.
Does the world really need another one? Well, probably not, but today I've released one anyway (this explains at least partly why it's been a month since my last post, since I've spent the last month writing it).
You can find pysystemtrade on github, here. This is version 0.0.1. It provides a basic backtesting enviroment that implements the 'staunch systems trader' example in my book. And it's GPL 3 open source.
However it's my intention that this will become a fully featured back tester that will include all the optimisation and calibration techniques that I've discussed here on the blog, and in my book. It will also, eventually, include a complete end to end system that can be used for fully automated futures trading with interactive brokers.
More on my blog, in the usual place.
GAT